tag | line | file | source code |
dev2 | 414 | drivers/isdn/icn/icn.c | if (dev2->flags & ICN_FLAGS_B1ACTIVE) { |
dev2 | 415 | drivers/isdn/icn/icn.c | icn_pollbchan_receive(0, dev2); |
dev2 | 416 | drivers/isdn/icn/icn.c | icn_pollbchan_send(0, dev2); |
dev2 | 418 | drivers/isdn/icn/icn.c | if (dev2->flags & ICN_FLAGS_B2ACTIVE) { |
dev2 | 419 | drivers/isdn/icn/icn.c | icn_pollbchan_receive(1, dev2); |
dev2 | 420 | drivers/isdn/icn/icn.c | icn_pollbchan_send(1, dev2); |
dev2 | 435 | drivers/isdn/icn/icn.c | if (dev2->flags & (ICN_FLAGS_B1ACTIVE | ICN_FLAGS_B2ACTIVE)) { |
dev2 | 439 | drivers/isdn/icn/icn.c | del_timer(&dev2->rb_timer); |
dev2 | 440 | drivers/isdn/icn/icn.c | dev2->rb_timer.function = icn_pollbchan; |
dev2 | 441 | drivers/isdn/icn/icn.c | dev2->rb_timer.expires = jiffies + ICN_TIMER_BCREAD; |
dev2 | 442 | drivers/isdn/icn/icn.c | add_timer(&dev2->rb_timer); |
dev2 | 445 | drivers/isdn/icn/icn.c | dev2->flags &= ~ICN_FLAGS_RBTIMER; |
dev2 | 658 | drivers/isdn/icn/icn.c | icn_pollit(dev2); |
dev2 | 1068 | drivers/isdn/icn/icn.c | icn_stopdriver(dev2); |
dev2 | 1076 | drivers/isdn/icn/icn.c | dev2->shmem = (icn_shmem *) (a & 0x0ffc000); |
dev2 | 1097 | drivers/isdn/icn/icn.c | icn_stopdriver(dev2); |
dev2 | 1105 | drivers/isdn/icn/icn.c | dev2->port = (unsigned short) a; |
dev2 | 1106 | drivers/isdn/icn/icn.c | dev2->rvalid = 0; |
dev2 | 1124 | drivers/isdn/icn/icn.c | icn_stopdriver(dev2); |
dev2 | 1129 | drivers/isdn/icn/icn.c | icn_stopdriver(dev2); |
dev2 | 1133 | drivers/isdn/icn/icn.c | i = icn_loadproto((u_char *) (a + ICN_CODE_STAGE2), dev2); |
dev2 | 1309 | drivers/isdn/icn/icn.c | return (icn_command(c, dev2)); |
dev2 | 1319 | drivers/isdn/icn/icn.c | return (icn_writecmd(buf, len, user, dev2, 0)); |
dev2 | 1329 | drivers/isdn/icn/icn.c | return (icn_readstatus(buf, len, user, dev2)); |
dev2 | 1341 | drivers/isdn/icn/icn.c | return (icn_sendbuf(channel, buffer, len, user, dev2)); |
dev2 | 1404 | drivers/isdn/icn/icn.c | if (!(dev2 = (icn_devptr) kmalloc(sizeof(icn_dev), GFP_KERNEL))) { |
dev2 | 1407 | drivers/isdn/icn/icn.c | kfree(dev2); |
dev2 | 1410 | drivers/isdn/icn/icn.c | memcpy((char *) dev2, (char *) dev, sizeof(icn_dev)); |
dev2 | 1411 | drivers/isdn/icn/icn.c | dev2->interface.command = if_command2; |
dev2 | 1412 | drivers/isdn/icn/icn.c | dev2->interface.writebuf = if_sendbuf2; |
dev2 | 1413 | drivers/isdn/icn/icn.c | dev2->interface.writecmd = if_writecmd2; |
dev2 | 1414 | drivers/isdn/icn/icn.c | dev2->interface.readstat = if_readstatus2; |
dev2 | 1415 | drivers/isdn/icn/icn.c | strncpy(dev2->interface.id, icn_id2, |
dev2 | 1417 | drivers/isdn/icn/icn.c | dev2->msg_buf_write = dev2->msg_buf; |
dev2 | 1418 | drivers/isdn/icn/icn.c | dev2->msg_buf_read = dev2->msg_buf; |
dev2 | 1419 | drivers/isdn/icn/icn.c | dev2->msg_buf_end = &dev2->msg_buf[sizeof(dev2->msg_buf) - 1]; |
dev2 | 1420 | drivers/isdn/icn/icn.c | dev2->secondhalf = 1; |
dev2 | 1426 | drivers/isdn/icn/icn.c | kfree(dev2); |
dev2 | 1432 | drivers/isdn/icn/icn.c | if (!register_isdn(&dev2->interface)) { |
dev2 | 1434 | drivers/isdn/icn/icn.c | kfree(dev2); |
dev2 | 1444 | drivers/isdn/icn/icn.c | dev2->myid = dev2->interface.channels; |
dev2 | 1481 | drivers/isdn/icn/icn.c | icn_stopdriver(dev2); |
dev2 | 1483 | drivers/isdn/icn/icn.c | cmd.driver = dev2->myid; |
dev2 | 1484 | drivers/isdn/icn/icn.c | dev2->interface.statcallb(&cmd); |
dev2 | 1495 | drivers/isdn/icn/icn.c | icn_free_queue(&dev2->spqueue[1]); |
dev2 | 1496 | drivers/isdn/icn/icn.c | kfree(dev2); |
dev2 | 224 | drivers/isdn/icn/icn.h | static icn_dev *dev2 = (icn_dev *) 0; |
dev2 | 89 | net/ipv4/ip_forward.c | struct device *dev2; /* Output device */ |
dev2 | 203 | net/ipv4/ip_forward.c | dev2 = rt->rt_dev; |
dev2 | 211 | net/ipv4/ip_forward.c | if (dev == dev2 && |
dev2 | 223 | net/ipv4/ip_forward.c | dev2=skb->dev; |
dev2 | 237 | net/ipv4/ip_forward.c | if (dev2->flags & IFF_UP) |
dev2 | 245 | net/ipv4/ip_forward.c | ip_fw_masquerade(&skb, dev2); |
dev2 | 249 | net/ipv4/ip_forward.c | if (skb->len+encap > dev2->mtu && (ntohs(iph->frag_off) & IP_DF)) |
dev2 | 252 | net/ipv4/ip_forward.c | icmp_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, htonl(dev2->mtu), dev); |
dev2 | 259 | net/ipv4/ip_forward.c | if(skb_headroom(skb)-encap<dev2->hard_header_len) |
dev2 | 261 | net/ipv4/ip_forward.c | skb2 = alloc_skb(dev2->hard_header_len + skb->len + encap + 15, GFP_ATOMIC); |
dev2 | 263 | net/ipv4/ip_forward.c | if(skb_headroom(skb)<dev2->hard_header_len) |
dev2 | 265 | net/ipv4/ip_forward.c | skb2 = alloc_skb(dev2->hard_header_len + skb->len + 15, GFP_ATOMIC); |
dev2 | 289 | net/ipv4/ip_forward.c | ip_encap(skb2,skb->len, dev2, raddr); |
dev2 | 293 | net/ipv4/ip_forward.c | ip_send(rt,skb2,raddr,skb->len,dev2,dev2->pa_addr); |
dev2 | 318 | net/ipv4/ip_forward.c | skb2->dev=dev2; |
dev2 | 321 | net/ipv4/ip_forward.c | ip_encap(skb,skb->len, dev2, raddr); |
dev2 | 329 | net/ipv4/ip_forward.c | memcpy(skb_push(skb, dev2->hard_header_len), hh->hh_data, dev2->hard_header_len); |
dev2 | 338 | net/ipv4/ip_forward.c | else if (dev2->hard_header) |
dev2 | 340 | net/ipv4/ip_forward.c | if(dev2->hard_header(skb, dev2, ETH_P_IP, NULL, NULL, skb->len)<0) |
dev2 | 367 | net/ipv4/ip_forward.c | memcpy(&optptr[optptr[2]-5], &dev2->pa_addr, 4); |
dev2 | 389 | net/ipv4/ip_forward.c | memcpy(&optptr[srrptr-1], &dev2->pa_addr, 4); |
dev2 | 399 | net/ipv4/ip_forward.c | memcpy(&optptr[optptr[2]-9], &dev2->pa_addr, 4); |
dev2 | 419 | net/ipv4/ip_forward.c | if(skb2->len > dev2->mtu + dev2->hard_header_len) |
dev2 | 421 | net/ipv4/ip_forward.c | ip_fragment(NULL,skb2,dev2, is_frag); |
dev2 | 431 | net/ipv4/ip_forward.c | ip_fw_chk(iph,dev2,ip_acct_chain,IP_FW_F_ACCEPT,1); |
dev2 | 440 | net/ipv4/ip_forward.c | dev_queue_xmit(skb2, dev2, SOPRI_INTERACTIVE); |
dev2 | 442 | net/ipv4/ip_forward.c | dev_queue_xmit(skb2, dev2, SOPRI_BACKGROUND); |
dev2 | 444 | net/ipv4/ip_forward.c | dev_queue_xmit(skb2, dev2, SOPRI_NORMAL); |
dev2 | 1661 | net/ipv4/route.c | struct device *dev2; |
dev2 | 1662 | net/ipv4/route.c | for (dev2 = dev_base ; dev2 != NULL ; dev2 = dev2->next) |
dev2 | 1664 | net/ipv4/route.c | if ((dev2->flags & IFF_UP) && dev2->pa_addr == gw) |
dev2 | 1667 | net/ipv4/route.c | dev = dev2; |