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 | 121 | include/linux/ip_fw.h | struct iphdr fwp_iph; /* IP header */ |
iphdr | 163 | include/linux/ip_fw.h | extern void ip_acct_cnt(struct iphdr *, struct device *, struct ip_fw *); |
iphdr | 168 | 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 | 65 | include/linux/skbuff.h | struct iphdr *ip_hdr; /* For IPPROTO_RAW */ |
iphdr | 69 | include/net/ip.h | struct iphdr *iph; /* pointer to IP header */ |
iphdr | 84 | include/net/ip.h | extern void ip_print(const struct iphdr *ip); |
iphdr | 100 | include/net/ip.h | extern void ip_send_check(struct iphdr *ip); |
iphdr | 127 | include/net/ip.h | struct sk_buff *ip_defrag(struct iphdr *iph, struct sk_buff *skb, struct device *dev); |
iphdr | 627 | net/core/skbuff.c | n->ip_hdr=(struct iphdr *)(((char *)skb->ip_hdr)+offset); |
iphdr | 248 | net/ethernet/eth.c | struct iphdr *iph; |
iphdr | 266 | net/ethernet/eth.c | iph=(struct iphdr*)(src+14); /* 14 = Rx_addr+Tx_addr+type_field */ |
iphdr | 267 | net/ethernet/eth.c | ip_length = ntohs(iph->tot_len) - sizeof(struct iphdr); |
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 | 433 | net/ipv4/icmp.c | struct iphdr *iph; |
iphdr | 440 | net/ipv4/icmp.c | iph = (struct iphdr *) (icmph + 1); |
iphdr | 95 | net/ipv4/igmp.c | #define MAX_IGMP_SIZE (sizeof(struct igmphdr)+sizeof(struct iphdr)+64) |
iphdr | 49 | net/ipv4/ip_forward.c | struct iphdr *iph=(struct iphdr *)skb_push(skb,sizeof(struct iphdr)); |
iphdr | 87 | 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 | 581 | net/ipv4/ip_fw.c | struct iphdr *iph = skb->h.iph; |
iphdr | 778 | net/ipv4/ip_fw.c | struct iphdr *iph = skb->h.iph; |
iphdr | 895 | net/ipv4/ip_fw.c | struct iphdr *iph = skb_ptr->h.iph; |
iphdr | 1342 | net/ipv4/ip_fw.c | void ip_acct_cnt(struct iphdr *iph, struct device *dev, struct ip_fw *f) |
iphdr | 1437 | net/ipv4/ip_fw.c | struct iphdr *ip; |
iphdr | 1451 | net/ipv4/ip_fw.c | if ( ip->ihl != sizeof(struct iphdr) / sizeof(int)) |
iphdr | 1455 | net/ipv4/ip_fw.c | sizeof(struct iphdr)/sizeof(int)); |
iphdr | 196 | net/ipv4/ip_input.c | struct iphdr *iph = skb->h.iph; |
iphdr | 241 | 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 | 401 | 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 | 93 | net/ipv4/ip_output.c | newskb->ip_hdr=(struct iphdr *)skb_put(newskb, len); |
iphdr | 172 | net/ipv4/ip_output.c | struct iphdr *iph; |
iphdr | 272 | net/ipv4/ip_output.c | iph=(struct iphdr *)skb_put(skb,sizeof(struct iphdr) + opt->optlen); |
iphdr | 274 | net/ipv4/ip_output.c | iph=(struct iphdr *)skb_put(skb,sizeof(struct iphdr)); |
iphdr | 287 | net/ipv4/ip_output.c | return sizeof(struct iphdr) + tmp; |
iphdr | 303 | net/ipv4/ip_output.c | void ip_send_check(struct iphdr *iph) |
iphdr | 321 | net/ipv4/ip_output.c | struct iphdr *iph; |
iphdr | 565 | net/ipv4/ip_output.c | struct iphdr *iph; |
iphdr | 704 | net/ipv4/ip_output.c | skb->ip_hdr=iph=(struct iphdr *)skb_put(skb,length); |
iphdr | 754 | net/ipv4/ip_output.c | fragheaderlen = dev->hard_header_len + sizeof(struct iphdr) + opt->optlen; |
iphdr | 755 | net/ipv4/ip_output.c | maxfraglen = ((dev->mtu-sizeof(struct iphdr)-opt->optlen) & ~7) + fragheaderlen; |
iphdr | 877 | net/ipv4/ip_output.c | skb->ip_hdr = iph = (struct iphdr *)data; |
iphdr | 460 | net/ipv4/ip_sockglue.c | unsigned char * optptr = opt->__data+opt->srr-sizeof(struct iphdr); |
iphdr | 466 | net/ipv4/ip_sockglue.c | unsigned char * optptr = opt->__data+opt->rr-sizeof(struct iphdr); |
iphdr | 472 | 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 | 166 | net/ipv4/raw.c | struct iphdr *iph=(struct iphdr *)to; |
iphdr | 232 | 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 | 1045 | net/ipv4/tcp.c | struct iphdr *iph=(struct iphdr *)header; |
iphdr | 3035 | net/ipv4/tcp.c | newsk->mtu = rt->rt_mss - sizeof(struct iphdr) - sizeof(struct tcphdr); |
iphdr | 3043 | net/ipv4/tcp.c | newsk->mtu = 576 - sizeof(struct iphdr) - sizeof(struct tcphdr); |
iphdr | 3052 | net/ipv4/tcp.c | newsk->mtu = min(newsk->mtu, dev->mtu - sizeof(struct iphdr) - sizeof(struct tcphdr)); |
iphdr | 3272 | net/ipv4/tcp.c | struct iphdr *iph; |
iphdr | 4583 | net/ipv4/tcp.c | sk->mtu = 576 - sizeof(struct iphdr) - sizeof(struct tcphdr); |
iphdr | 4594 | net/ipv4/tcp.c | sk->mtu = min(sk->mtu, dev->mtu - sizeof(struct iphdr) - sizeof(struct tcphdr)); |
iphdr | 5176 | net/ipv4/tcp.c | struct iphdr *iph; |
iphdr | 5195 | net/ipv4/tcp.c | iph = (struct iphdr *)skb->ip_hdr; |
iphdr | 302 | net/ipv4/udp.c | if(ulen>65535-sizeof(struct iphdr)) |