tag | line | file | source code |
ipx | 858 | net/inet/ipx.c | ipx_packet *ipx; |
ipx | 863 | net/inet/ipx.c | ipx=(ipx_packet *)skb->h.raw; |
ipx | 865 | net/inet/ipx.c | if(ipx->ipx_checksum!=IPX_NO_CHECKSUM) |
ipx | 875 | net/inet/ipx.c | if(htons(ipx->ipx_pktsize)<sizeof(ipx_packet)) |
ipx | 882 | net/inet/ipx.c | if(ipx->ipx_tctrl>16) |
ipx | 900 | net/inet/ipx.c | if(memcmp(IPXaddr,ipx->ipx_dest.node,6)!=0 |
ipx | 901 | net/inet/ipx.c | && memcmp(ipx_broadcast_node,ipx->ipx_dest.node,6)!=0) |
ipx | 917 | net/inet/ipx.c | if((ipx->ipx_tctrl==16) || (skb->pkt_type!=PACKET_HOST)) |
ipx | 923 | net/inet/ipx.c | ipx->ipx_tctrl++; |
ipx | 926 | net/inet/ipx.c | rt=ipxrtr_get_dev(ipx->ipx_dest.net); |
ipx | 941 | net/inet/ipx.c | if (memcmp(IPXaddr,ipx->ipx_dest.node,6) == 0) |
ipx | 946 | net/inet/ipx.c | incoming_size = skb->len - ntohs(ipx->ipx_pktsize); |
ipx | 952 | net/inet/ipx.c | skb2=alloc_skb(ntohs(ipx->ipx_pktsize) + outgoing_size, |
ipx | 960 | net/inet/ipx.c | skb2->len=ntohs(ipx->ipx_pktsize) + outgoing_size; |
ipx | 965 | net/inet/ipx.c | skb2->len = ntohs(ipx->ipx_pktsize) + outgoing_size; |
ipx | 973 | net/inet/ipx.c | memcpy((char *)(skb2+1)+outgoing_size,ipx, |
ipx | 974 | net/inet/ipx.c | ntohs(ipx->ipx_pktsize)); |
ipx | 987 | net/inet/ipx.c | :ipx->ipx_dest.node); |
ipx | 1000 | net/inet/ipx.c | ln->net = ipx->ipx_dest.net; |
ipx | 1003 | net/inet/ipx.c | sock=ipx_find_socket(ipx->ipx_dest.sock); |
ipx | 1032 | net/inet/ipx.c | struct ipx_packet *ipx; |
ipx | 1152 | net/inet/ipx.c | ipx=(ipx_packet *)skb->h.raw; |
ipx | 1153 | net/inet/ipx.c | ipx->ipx_checksum=0xFFFF; |
ipx | 1154 | net/inet/ipx.c | ipx->ipx_pktsize=htons(len+sizeof(ipx_packet)); |
ipx | 1155 | net/inet/ipx.c | ipx->ipx_tctrl=0; |
ipx | 1156 | net/inet/ipx.c | ipx->ipx_type=usipx->sipx_type; |
ipx | 1158 | net/inet/ipx.c | memcpy(&ipx->ipx_source,&sk->ipx_source_addr,sizeof(ipx->ipx_source)); |
ipx | 1159 | net/inet/ipx.c | ipx->ipx_dest.net=usipx->sipx_network; |
ipx | 1160 | net/inet/ipx.c | memcpy(ipx->ipx_dest.node,usipx->sipx_node,sizeof(ipx->ipx_dest.node)); |
ipx | 1161 | net/inet/ipx.c | ipx->ipx_dest.sock=usipx->sipx_port; |
ipx | 1165 | net/inet/ipx.c | memcpy_fromfs((char *)(ipx+1),ubuf,len); |
ipx | 1210 | net/inet/ipx.c | struct ipx_packet *ipx = NULL; |
ipx | 1230 | net/inet/ipx.c | ipx = (ipx_packet *)(skb->h.raw); |
ipx | 1231 | net/inet/ipx.c | copied=ntohs(ipx->ipx_pktsize) - sizeof(ipx_packet); |
ipx | 1237 | net/inet/ipx.c | sipx->sipx_port=ipx->ipx_source.sock; |
ipx | 1238 | net/inet/ipx.c | memcpy(sipx->sipx_node,ipx->ipx_source.node,sizeof(sipx->sipx_node)); |
ipx | 1239 | net/inet/ipx.c | sipx->sipx_network=ipx->ipx_source.net; |
ipx | 1240 | net/inet/ipx.c | sipx->sipx_type = ipx->ipx_type; |