tag | line | file | source code |
iphdr | 2898 | drivers/net/ppp.c | len = ((struct iphdr *)data) -> tot_len; |
iphdr | 2992 | drivers/net/ppp.c | len = ((struct iphdr *)data) -> tot_len; |
iphdr | 250 | drivers/net/slhc.c | struct iphdr *ip; |
iphdr | 253 | drivers/net/slhc.c | ip = (struct iphdr *) icp; |
iphdr | 496 | drivers/net/slhc.c | register struct iphdr *ip; |
iphdr | 622 | drivers/net/slhc.c | stw_u(ip_fast_csum(icp, ip->ihl), &((struct iphdr *)icp)->check); |
iphdr | 624 | drivers/net/slhc.c | ((struct iphdr *)icp)->check = ip_fast_csum(icp, ((struct iphdr*)icp)->ihl); |
iphdr | 681 | drivers/net/slhc.c | memcpy(cs->cs_ipopt, icp + sizeof(struct iphdr), (ihl - 5) * 4); |
iphdr | 127 | drivers/net/slhc.h | struct iphdr cs_ip; /* ip/tcp hdr from most recent packet */ |
iphdr | 40 | drivers/net/tunnel.c | #define ip_header_len sizeof(struct iphdr) |
iphdr | 98 | drivers/net/tunnel.c | void print_ip(struct iphdr *ip) |
iphdr | 127 | drivers/net/tunnel.c | struct iphdr *iph; /* Our new IP header */ |
iphdr | 163 | drivers/net/tunnel.c | iph=(struct iphdr *)skb->data; |
iphdr | 221 | drivers/net/tunnel.c | iph=skb2->h.iph=(struct iphdr *)skb2->data; |
iphdr | 138 | include/linux/ip_fw.h | struct iphdr fwp_iph; /* IP header */ |
iphdr | 180 | include/linux/ip_fw.h | extern void ip_acct_cnt(struct iphdr *, struct device *, struct ip_fw *); |
iphdr | 185 | include/linux/ip_fw.h | extern int ip_fw_chk(struct iphdr *, struct device *rif,struct ip_fw *, int, int); |
iphdr | 54 | include/linux/skbuff.h | struct iphdr *iph; |
iphdr | 64 | include/linux/skbuff.h | struct iphdr *ip_hdr; /* For IPPROTO_RAW */ |
iphdr | 70 | include/net/ip.h | struct iphdr *iph; /* pointer to IP header */ |
iphdr | 85 | include/net/ip.h | extern void ip_print(const struct iphdr *ip); |
iphdr | 101 | include/net/ip.h | extern void ip_send_check(struct iphdr *ip); |
iphdr | 128 | include/net/ip.h | struct sk_buff *ip_defrag(struct iphdr *iph, struct sk_buff *skb, struct device *dev); |
iphdr | 672 | net/core/skbuff.c | n->ip_hdr=(struct iphdr *)(((char *)skb->ip_hdr)+offset); |
iphdr | 268 | net/ethernet/eth.c | struct iphdr *iph; |
iphdr | 284 | net/ethernet/eth.c | memcpy(dest->data,src,sizeof(struct iphdr)+ETH_HLEN); /* ethernet is always >= 34 */ |
iphdr | 285 | net/ethernet/eth.c | length -= sizeof(struct iphdr) + ETH_HLEN; |
iphdr | 286 | net/ethernet/eth.c | iph=(struct iphdr*)(src+ETH_HLEN); |
iphdr | 287 | net/ethernet/eth.c | ip_length = ntohs(iph->tot_len) - sizeof(struct iphdr); |
iphdr | 293 | net/ethernet/eth.c | dest->csum=csum_partial_copy(src+sizeof(struct iphdr)+ETH_HLEN,dest->data+sizeof(struct iphdr)+ETH_HLEN,length,base); |
iphdr | 255 | net/ipv4/icmp.c | struct iphdr *iph; |
iphdr | 341 | net/ipv4/icmp.c | struct iphdr *iph; |
iphdr | 346 | net/ipv4/icmp.c | iph = (struct iphdr *) (icmph + 1); |
iphdr | 472 | net/ipv4/icmp.c | struct iphdr *iph; |
iphdr | 479 | net/ipv4/icmp.c | iph = (struct iphdr *) (icmph + 1); |
iphdr | 221 | net/ipv4/igmp.c | #define MAX_IGMP_SIZE (sizeof(struct igmphdr)+sizeof(struct iphdr)+64) |
iphdr | 50 | net/ipv4/ip_forward.c | struct iphdr *iph=(struct iphdr *)skb_push(skb,sizeof(struct iphdr)); |
iphdr | 88 | net/ipv4/ip_forward.c | struct iphdr *iph; /* Our header */ |
iphdr | 129 | net/ipv4/ip_fragment.c | static struct ipq *ip_find(struct iphdr *iph) |
iphdr | 253 | net/ipv4/ip_fragment.c | static struct ipq *ip_create(struct sk_buff *skb, struct iphdr *iph, struct device *dev) |
iphdr | 272 | net/ipv4/ip_fragment.c | qp->iph = (struct iphdr *) frag_kmalloc(64 + 8, GFP_ATOMIC); |
iphdr | 344 | net/ipv4/ip_fragment.c | struct iphdr *iph; |
iphdr | 409 | net/ipv4/ip_fragment.c | struct sk_buff *ip_defrag(struct iphdr *iph, struct sk_buff *skb, struct device *dev) |
iphdr | 620 | net/ipv4/ip_fragment.c | struct iphdr *iph; |
iphdr | 634 | net/ipv4/ip_fragment.c | iph = (struct iphdr *) (raw + dev->hard_header_len); |
iphdr | 760 | net/ipv4/ip_fragment.c | iph = (struct iphdr *)(skb2->h.raw/*+dev->hard_header_len*/); |
iphdr | 189 | net/ipv4/ip_fw.c | int ip_fw_chk(struct iphdr *ip, struct device *rif, struct ip_fw *chain, int policy, int opt) |
iphdr | 596 | net/ipv4/ip_fw.c | struct iphdr *iph = skb->h.iph; |
iphdr | 793 | net/ipv4/ip_fw.c | struct iphdr *iph = skb->h.iph; |
iphdr | 910 | net/ipv4/ip_fw.c | struct iphdr *iph = skb_ptr->h.iph; |
iphdr | 1360 | net/ipv4/ip_fw.c | void ip_acct_cnt(struct iphdr *iph, struct device *dev, struct ip_fw *f) |
iphdr | 1455 | net/ipv4/ip_fw.c | struct iphdr *ip; |
iphdr | 1469 | net/ipv4/ip_fw.c | if ( ip->ihl != sizeof(struct iphdr) / sizeof(int)) |
iphdr | 1473 | net/ipv4/ip_fw.c | sizeof(struct iphdr)/sizeof(int)); |
iphdr | 199 | net/ipv4/ip_input.c | struct iphdr *iph = skb->h.iph; |
iphdr | 246 | net/ipv4/ip_input.c | if (skb->len<sizeof(struct iphdr) || iph->ihl<5 || iph->version != 4 || ip_fast_csum((unsigned char *)iph, iph->ihl) !=0 |
iphdr | 418 | net/ipv4/ip_input.c | struct iphdr *iph=skb->h.iph; |
iphdr | 36 | net/ipv4/ip_options.c | memcpy(iph+sizeof(struct iphdr), opt->__data, opt->optlen); |
iphdr | 94 | net/ipv4/ip_options.c | sptr = (sopt->is_data ? sopt->__data - sizeof(struct iphdr) : |
iphdr | 102 | net/ipv4/ip_options.c | dopt->rr = dopt->optlen + sizeof(struct iphdr); |
iphdr | 117 | net/ipv4/ip_options.c | dopt->ts = dopt->optlen + sizeof(struct iphdr); |
iphdr | 181 | net/ipv4/ip_options.c | dopt->srr = dopt->optlen + sizeof(struct iphdr); |
iphdr | 247 | net/ipv4/ip_options.c | opt->optlen = ((struct iphdr *)iph)->ihl*4 - sizeof(struct iphdr); |
iphdr | 248 | net/ipv4/ip_options.c | optptr = iph + sizeof(struct iphdr); |
iphdr | 254 | net/ipv4/ip_options.c | iph = optptr - sizeof(struct iphdr); |
iphdr | 94 | net/ipv4/ip_output.c | newskb->ip_hdr=(struct iphdr *)skb_put(newskb, len); |
iphdr | 199 | net/ipv4/ip_output.c | struct iphdr *iph; |
iphdr | 293 | net/ipv4/ip_output.c | iph=(struct iphdr *)skb_put(skb,sizeof(struct iphdr) + opt->optlen); |
iphdr | 295 | net/ipv4/ip_output.c | iph=(struct iphdr *)skb_put(skb,sizeof(struct iphdr)); |
iphdr | 308 | net/ipv4/ip_output.c | return sizeof(struct iphdr) + tmp; |
iphdr | 319 | net/ipv4/ip_output.c | void ip_send_check(struct iphdr *iph) |
iphdr | 337 | net/ipv4/ip_output.c | struct iphdr *iph; |
iphdr | 581 | net/ipv4/ip_output.c | struct iphdr *iph; |
iphdr | 642 | net/ipv4/ip_output.c | length += sizeof(struct iphdr); |
iphdr | 683 | net/ipv4/ip_output.c | skb->ip_hdr=iph=(struct iphdr *)skb_put(skb,length); |
iphdr | 729 | net/ipv4/ip_output.c | length -= sizeof(struct iphdr); |
iphdr | 733 | net/ipv4/ip_output.c | fragheaderlen = dev->hard_header_len + sizeof(struct iphdr) + opt->optlen; |
iphdr | 734 | net/ipv4/ip_output.c | maxfraglen = ((dev->mtu-sizeof(struct iphdr)-opt->optlen) & ~7) + fragheaderlen; |
iphdr | 863 | net/ipv4/ip_output.c | skb->ip_hdr = iph = (struct iphdr *)data; |
iphdr | 464 | net/ipv4/ip_sockglue.c | unsigned char * optptr = opt->__data+opt->srr-sizeof(struct iphdr); |
iphdr | 470 | net/ipv4/ip_sockglue.c | unsigned char * optptr = opt->__data+opt->rr-sizeof(struct iphdr); |
iphdr | 476 | net/ipv4/ip_sockglue.c | unsigned char * optptr = opt->__data+opt->ts-sizeof(struct iphdr); |
iphdr | 68 | net/ipv4/ipip.c | skb_pull(skb, ((struct iphdr *)skb->data)->ihl<<2); |
iphdr | 74 | net/ipv4/ipip.c | skb->h.iph=(struct iphdr *)skb->data; |
iphdr | 75 | net/ipv4/ipip.c | skb->ip_hdr=(struct iphdr *)skb->data; |
iphdr | 266 | net/ipv4/ipmr.c | skb->ip_hdr=(struct iphdr *)skb_put(skb,ihl); |
iphdr | 177 | net/ipv4/raw.c | struct iphdr *iph=(struct iphdr *)to; |
iphdr | 247 | net/ipv4/raw.c | if(len>65535-sizeof(struct iphdr)) |
iphdr | 646 | net/ipv4/tcp.c | struct iphdr *iph; |
iphdr | 668 | net/ipv4/tcp.c | iph = (struct iphdr *)skb->data; |
iphdr | 1078 | net/ipv4/tcp.c | struct iphdr *iph=(struct iphdr *)(header-sizeof(struct iphdr)); |
iphdr | 1118 | net/ipv4/tcp.c | if (sk->mtu > new_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr) |
iphdr | 1119 | net/ipv4/tcp.c | && new_mtu > sizeof(struct iphdr)+sizeof(struct tcphdr)) |
iphdr | 1120 | net/ipv4/tcp.c | sk->mtu = new_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr); |
iphdr | 3115 | net/ipv4/tcp.c | newsk->mtu = rt->rt_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr); |
iphdr | 3117 | net/ipv4/tcp.c | newsk->mtu = 576 - sizeof(struct iphdr) - sizeof(struct tcphdr); |
iphdr | 3123 | net/ipv4/tcp.c | newsk->mtu = min(newsk->mtu, dev->mtu - sizeof(struct iphdr) - sizeof(struct tcphdr)); |
iphdr | 3358 | net/ipv4/tcp.c | struct iphdr *iph; |
iphdr | 3371 | net/ipv4/tcp.c | if (size > sk->mtu - sizeof(struct iphdr)) |
iphdr | 4660 | net/ipv4/tcp.c | sk->mtu = rt->rt_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr); |
iphdr | 4662 | net/ipv4/tcp.c | sk->mtu = 576 - sizeof(struct iphdr) - sizeof(struct tcphdr); |
iphdr | 4671 | net/ipv4/tcp.c | sk->mtu = min(sk->mtu, dev->mtu - sizeof(struct iphdr) - sizeof(struct tcphdr)); |
iphdr | 5271 | net/ipv4/tcp.c | struct iphdr *iph; |
iphdr | 5290 | net/ipv4/tcp.c | iph = (struct iphdr *)skb->ip_hdr; |
iphdr | 308 | net/ipv4/udp.c | if(ulen>65535-sizeof(struct iphdr)) |