| tag | line | file | source code |
| intrfc | 139 | net/ipx/af_ipx.c | ipx_interface *intrfc; |
| intrfc | 146 | net/ipx/af_ipx.c | intrfc = sk->ipx_intrfc; |
| intrfc | 147 | net/ipx/af_ipx.c | if (intrfc == NULL) { |
| intrfc | 152 | net/ipx/af_ipx.c | s=intrfc->if_sklist; |
| intrfc | 154 | net/ipx/af_ipx.c | intrfc->if_sklist=s->next; |
| intrfc | 233 | net/ipx/af_ipx.c | ipxitf_insert_socket(ipx_interface *intrfc, ipx_socket *sk) |
| intrfc | 237 | net/ipx/af_ipx.c | sk->ipx_intrfc = intrfc; |
| intrfc | 239 | net/ipx/af_ipx.c | if (intrfc->if_sklist == NULL) { |
| intrfc | 240 | net/ipx/af_ipx.c | intrfc->if_sklist = sk; |
| intrfc | 242 | net/ipx/af_ipx.c | for (s = intrfc->if_sklist; s->next != NULL; s = s->next) |
| intrfc | 249 | net/ipx/af_ipx.c | ipxitf_find_socket(ipx_interface *intrfc, unsigned short port) |
| intrfc | 253 | net/ipx/af_ipx.c | for (s=intrfc->if_sklist; |
| intrfc | 264 | net/ipx/af_ipx.c | ipxitf_down(ipx_interface *intrfc) |
| intrfc | 270 | net/ipx/af_ipx.c | ipxrtr_del_routes(intrfc); |
| intrfc | 273 | net/ipx/af_ipx.c | for (s = intrfc->if_sklist; s != NULL; ) { |
| intrfc | 283 | net/ipx/af_ipx.c | intrfc->if_sklist = NULL; |
| intrfc | 286 | net/ipx/af_ipx.c | if (intrfc == ipx_interfaces) { |
| intrfc | 287 | net/ipx/af_ipx.c | ipx_interfaces = intrfc->if_next; |
| intrfc | 290 | net/ipx/af_ipx.c | (i != NULL) && (i->if_next != intrfc); |
| intrfc | 293 | net/ipx/af_ipx.c | if ((i != NULL) && (i->if_next == intrfc)) |
| intrfc | 294 | net/ipx/af_ipx.c | i->if_next = intrfc->if_next; |
| intrfc | 298 | net/ipx/af_ipx.c | if (intrfc == ipx_primary_net) |
| intrfc | 300 | net/ipx/af_ipx.c | if (intrfc == ipx_internal_net) |
| intrfc | 303 | net/ipx/af_ipx.c | kfree_s(intrfc, sizeof(*intrfc)); |
| intrfc | 347 | net/ipx/af_ipx.c | ipxitf_demux_socket(ipx_interface *intrfc, struct sk_buff *skb, int copy) |
| intrfc | 353 | net/ipx/af_ipx.c | sock1 = ipxitf_find_socket(intrfc, ipx->ipx_dest.sock); |
| intrfc | 362 | net/ipx/af_ipx.c | if (ipx_primary_net && (intrfc != ipx_primary_net)) { |
| intrfc | 441 | net/ipx/af_ipx.c | ipxitf_adjust_skbuff(ipx_interface *intrfc, struct sk_buff *skb) |
| intrfc | 445 | net/ipx/af_ipx.c | int out_offset = intrfc->if_ipx_offset; |
| intrfc | 485 | net/ipx/af_ipx.c | ipxitf_send(ipx_interface *intrfc, struct sk_buff *skb, char *node) |
| intrfc | 488 | net/ipx/af_ipx.c | struct device *dev = intrfc->if_dev; |
| intrfc | 489 | net/ipx/af_ipx.c | struct datalink_proto *dl = intrfc->if_dlink; |
| intrfc | 501 | net/ipx/af_ipx.c | if (ipx->ipx_dest.net == intrfc->if_netnum) { |
| intrfc | 502 | net/ipx/af_ipx.c | if (memcmp(intrfc->if_node, node, IPX_NODE_LEN) == 0) |
| intrfc | 503 | net/ipx/af_ipx.c | return ipxitf_demux_socket(intrfc, skb, 0); |
| intrfc | 505 | net/ipx/af_ipx.c | ipxitf_demux_socket(intrfc, skb, send_to_wire); |
| intrfc | 511 | net/ipx/af_ipx.c | if (ipx->ipx_source.net != intrfc->if_netnum) { |
| intrfc | 538 | net/ipx/af_ipx.c | skb = ipxitf_adjust_skbuff(intrfc, skb); |
| intrfc | 567 | net/ipx/af_ipx.c | ipxitf_add_local_route(ipx_interface *intrfc) |
| intrfc | 569 | net/ipx/af_ipx.c | return ipxrtr_add_route(intrfc->if_netnum, intrfc, NULL); |
| intrfc | 576 | net/ipx/af_ipx.c | static int ipxitf_rcv(ipx_interface *intrfc, struct sk_buff *skb) |
| intrfc | 595 | net/ipx/af_ipx.c | if ((intrfc->if_netnum == 0L) && |
| intrfc | 605 | net/ipx/af_ipx.c | intrfc->if_netnum = ipx->ipx_source.net; |
| intrfc | 606 | net/ipx/af_ipx.c | (void) ipxitf_add_local_route(intrfc); |
| intrfc | 614 | net/ipx/af_ipx.c | ipx_device_name(intrfc), |
| intrfc | 615 | net/ipx/af_ipx.c | ipx_frame_name(intrfc->if_dlink_type)); |
| intrfc | 620 | net/ipx/af_ipx.c | ipx->ipx_dest.net = intrfc->if_netnum; |
| intrfc | 622 | net/ipx/af_ipx.c | ipx->ipx_source.net = intrfc->if_netnum; |
| intrfc | 624 | net/ipx/af_ipx.c | if (intrfc->if_netnum != ipx->ipx_dest.net) |
| intrfc | 647 | net/ipx/af_ipx.c | || (memcmp(intrfc->if_node, ipx->ipx_dest.node, IPX_NODE_LEN) == 0)) |
| intrfc | 649 | net/ipx/af_ipx.c | return ipxitf_demux_socket(intrfc, skb, 0); |
| intrfc | 658 | net/ipx/af_ipx.c | ipxitf_insert(ipx_interface *intrfc) |
| intrfc | 662 | net/ipx/af_ipx.c | intrfc->if_next = NULL; |
| intrfc | 664 | net/ipx/af_ipx.c | ipx_interfaces = intrfc; |
| intrfc | 668 | net/ipx/af_ipx.c | i->if_next = intrfc; |
| intrfc | 672 | net/ipx/af_ipx.c | ipx_primary_net = intrfc; |
| intrfc | 678 | net/ipx/af_ipx.c | ipx_interface *intrfc; |
| intrfc | 688 | net/ipx/af_ipx.c | intrfc=(ipx_interface *)kmalloc(sizeof(ipx_interface),GFP_ATOMIC); |
| intrfc | 689 | net/ipx/af_ipx.c | if (intrfc==NULL) |
| intrfc | 691 | net/ipx/af_ipx.c | intrfc->if_dev=NULL; |
| intrfc | 692 | net/ipx/af_ipx.c | intrfc->if_netnum=idef->ipx_network; |
| intrfc | 693 | net/ipx/af_ipx.c | intrfc->if_dlink_type = 0; |
| intrfc | 694 | net/ipx/af_ipx.c | intrfc->if_dlink = NULL; |
| intrfc | 695 | net/ipx/af_ipx.c | intrfc->if_sklist = NULL; |
| intrfc | 696 | net/ipx/af_ipx.c | intrfc->if_internal = 1; |
| intrfc | 697 | net/ipx/af_ipx.c | intrfc->if_ipx_offset = 0; |
| intrfc | 698 | net/ipx/af_ipx.c | intrfc->if_sknum = IPX_MIN_EPHEMERAL_SOCKET; |
| intrfc | 699 | net/ipx/af_ipx.c | memcpy((char *)&(intrfc->if_node), idef->ipx_node, IPX_NODE_LEN); |
| intrfc | 700 | net/ipx/af_ipx.c | ipx_internal_net = intrfc; |
| intrfc | 701 | net/ipx/af_ipx.c | ipx_primary_net = intrfc; |
| intrfc | 702 | net/ipx/af_ipx.c | ipxitf_insert(intrfc); |
| intrfc | 703 | net/ipx/af_ipx.c | return ipxitf_add_local_route(intrfc); |
| intrfc | 724 | net/ipx/af_ipx.c | ipx_interface *intrfc; |
| intrfc | 772 | net/ipx/af_ipx.c | if ((intrfc = ipxitf_find_using_phys(dev, dlink_type)) == NULL) { |
| intrfc | 775 | net/ipx/af_ipx.c | intrfc=(ipx_interface *)kmalloc(sizeof(ipx_interface),GFP_ATOMIC); |
| intrfc | 776 | net/ipx/af_ipx.c | if (intrfc==NULL) |
| intrfc | 778 | net/ipx/af_ipx.c | intrfc->if_dev=dev; |
| intrfc | 779 | net/ipx/af_ipx.c | intrfc->if_netnum=idef->ipx_network; |
| intrfc | 780 | net/ipx/af_ipx.c | intrfc->if_dlink_type = dlink_type; |
| intrfc | 781 | net/ipx/af_ipx.c | intrfc->if_dlink = datalink; |
| intrfc | 782 | net/ipx/af_ipx.c | intrfc->if_sklist = NULL; |
| intrfc | 783 | net/ipx/af_ipx.c | intrfc->if_sknum = IPX_MIN_EPHEMERAL_SOCKET; |
| intrfc | 786 | net/ipx/af_ipx.c | ipx_primary_net = intrfc; |
| intrfc | 787 | net/ipx/af_ipx.c | intrfc->if_internal = 0; |
| intrfc | 788 | net/ipx/af_ipx.c | intrfc->if_ipx_offset = dev->hard_header_len + datalink->header_length; |
| intrfc | 789 | net/ipx/af_ipx.c | memset(intrfc->if_node, 0, IPX_NODE_LEN); |
| intrfc | 790 | net/ipx/af_ipx.c | memcpy((char *)&(intrfc->if_node[IPX_NODE_LEN-dev->addr_len]), dev->dev_addr, dev->addr_len); |
| intrfc | 792 | net/ipx/af_ipx.c | ipxitf_insert(intrfc); |
| intrfc | 796 | net/ipx/af_ipx.c | if (intrfc->if_netnum == 0L) |
| intrfc | 799 | net/ipx/af_ipx.c | return ipxitf_add_local_route(intrfc); |
| intrfc | 807 | net/ipx/af_ipx.c | ipx_interface *intrfc; |
| intrfc | 824 | net/ipx/af_ipx.c | intrfc = ipxitf_find_using_phys(dev, dlink_type); |
| intrfc | 825 | net/ipx/af_ipx.c | if (intrfc != NULL) { |
| intrfc | 826 | net/ipx/af_ipx.c | ipxitf_down(intrfc); |
| intrfc | 836 | net/ipx/af_ipx.c | ipx_interface *intrfc; |
| intrfc | 852 | net/ipx/af_ipx.c | intrfc=(ipx_interface *)kmalloc(sizeof(ipx_interface),GFP_ATOMIC); |
| intrfc | 853 | net/ipx/af_ipx.c | if (intrfc!=NULL) { |
| intrfc | 854 | net/ipx/af_ipx.c | intrfc->if_dev=dev; |
| intrfc | 855 | net/ipx/af_ipx.c | intrfc->if_netnum=0L; |
| intrfc | 856 | net/ipx/af_ipx.c | intrfc->if_dlink_type = dlink_type; |
| intrfc | 857 | net/ipx/af_ipx.c | intrfc->if_dlink = datalink; |
| intrfc | 858 | net/ipx/af_ipx.c | intrfc->if_sklist = NULL; |
| intrfc | 859 | net/ipx/af_ipx.c | intrfc->if_internal = 0; |
| intrfc | 860 | net/ipx/af_ipx.c | intrfc->if_sknum = IPX_MIN_EPHEMERAL_SOCKET; |
| intrfc | 861 | net/ipx/af_ipx.c | intrfc->if_ipx_offset = dev->hard_header_len + |
| intrfc | 863 | net/ipx/af_ipx.c | memset(intrfc->if_node, 0, IPX_NODE_LEN); |
| intrfc | 864 | net/ipx/af_ipx.c | memcpy((char *)&(intrfc->if_node[IPX_NODE_LEN-dev->addr_len]), |
| intrfc | 866 | net/ipx/af_ipx.c | ipxitf_insert(intrfc); |
| intrfc | 869 | net/ipx/af_ipx.c | return intrfc; |
| intrfc | 955 | net/ipx/af_ipx.c | ipxrtr_add_route(unsigned long network, ipx_interface *intrfc, unsigned char *node) |
| intrfc | 970 | net/ipx/af_ipx.c | rt->ir_intrfc = intrfc; |
| intrfc | 982 | net/ipx/af_ipx.c | ipxrtr_del_routes(ipx_interface *intrfc) |
| intrfc | 987 | net/ipx/af_ipx.c | if (tmp->ir_intrfc == intrfc) { |
| intrfc | 999 | net/ipx/af_ipx.c | ipx_interface *intrfc; |
| intrfc | 1002 | net/ipx/af_ipx.c | intrfc = ipxitf_find_using_net(rd->ipx_router_network); |
| intrfc | 1003 | net/ipx/af_ipx.c | if (intrfc == NULL) |
| intrfc | 1006 | net/ipx/af_ipx.c | return ipxrtr_add_route(rd->ipx_network, intrfc, rd->ipx_router_node); |
| intrfc | 1039 | net/ipx/af_ipx.c | ipx_interface *intrfc; |
| intrfc | 1050 | net/ipx/af_ipx.c | intrfc = ipx_primary_net; |
| intrfc | 1058 | net/ipx/af_ipx.c | intrfc = rt->ir_intrfc; |
| intrfc | 1061 | net/ipx/af_ipx.c | ipx_offset = intrfc->if_ipx_offset; |
| intrfc | 1098 | net/ipx/af_ipx.c | return ipxitf_send(intrfc, skb, (rt && rt->ir_routed) ? |
| intrfc | 1177 | net/ipx/af_ipx.c | ipx_device_name(ipx_interface *intrfc) |
| intrfc | 1179 | net/ipx/af_ipx.c | return (intrfc->if_internal ? "Internal" : |
| intrfc | 1180 | net/ipx/af_ipx.c | (intrfc->if_dev ? intrfc->if_dev->name : "Unknown")); |
| intrfc | 1506 | net/ipx/af_ipx.c | ipx_first_free_socketnum(ipx_interface *intrfc) |
| intrfc | 1508 | net/ipx/af_ipx.c | unsigned short socketNum = intrfc->if_sknum; |
| intrfc | 1513 | net/ipx/af_ipx.c | while (ipxitf_find_socket(intrfc, ntohs(socketNum)) != NULL) |
| intrfc | 1519 | net/ipx/af_ipx.c | intrfc->if_sknum = socketNum; |
| intrfc | 1526 | net/ipx/af_ipx.c | ipx_interface *intrfc; |
| intrfc | 1537 | net/ipx/af_ipx.c | intrfc = ipxitf_find_using_net(addr->sipx_network); |
| intrfc | 1538 | net/ipx/af_ipx.c | if (intrfc == NULL) |
| intrfc | 1542 | net/ipx/af_ipx.c | addr->sipx_port = ipx_first_free_socketnum(intrfc); |
| intrfc | 1553 | net/ipx/af_ipx.c | if(ipxitf_find_socket(intrfc, addr->sipx_port)!=NULL) { |
| intrfc | 1561 | net/ipx/af_ipx.c | ipxitf_insert_socket(intrfc, sk); |
| intrfc | 1712 | net/ipx/af_ipx.c | ipx_interface *intrfc; |
| intrfc | 1733 | net/ipx/af_ipx.c | intrfc = ipxitf_find_using_phys(dev, pt->type); |
| intrfc | 1734 | net/ipx/af_ipx.c | if (intrfc == NULL) { |
| intrfc | 1736 | net/ipx/af_ipx.c | intrfc = ipxitf_auto_create(dev, pt->type); |
| intrfc | 1739 | net/ipx/af_ipx.c | if (intrfc == NULL) { |
| intrfc | 1746 | net/ipx/af_ipx.c | return ipxitf_rcv(intrfc, skb); |