tag | line | file | source code |
iphdr | 2903 | drivers/net/ppp.c | len = ((struct iphdr *)data) -> tot_len; |
iphdr | 2997 | drivers/net/ppp.c | len = ((struct iphdr *)data) -> tot_len; |
iphdr | 257 | drivers/net/slhc.c | struct iphdr *ip; |
iphdr | 260 | drivers/net/slhc.c | ip = (struct iphdr *) icp; |
iphdr | 503 | drivers/net/slhc.c | register struct iphdr *ip; |
iphdr | 629 | drivers/net/slhc.c | stw_u(ip_fast_csum(icp, ip->ihl), &((struct iphdr *)icp)->check); |
iphdr | 631 | drivers/net/slhc.c | ((struct iphdr *)icp)->check = ip_fast_csum(icp, ((struct iphdr*)icp)->ihl); |
iphdr | 688 | 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 | 45 | drivers/net/tunnel.c | #define ip_header_len sizeof(struct iphdr) |
iphdr | 103 | drivers/net/tunnel.c | void print_ip(struct iphdr *ip) |
iphdr | 132 | drivers/net/tunnel.c | struct iphdr *iph; /* Our new IP header */ |
iphdr | 168 | drivers/net/tunnel.c | iph=(struct iphdr *)skb->data; |
iphdr | 226 | 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 | 172 | 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 | 64 | include/net/ip.h | struct iphdr *iph; /* pointer to IP header */ |
iphdr | 76 | include/net/ip.h | extern void ip_print(const struct iphdr *ip); |
iphdr | 95 | include/net/ip.h | extern void ip_send_check(struct iphdr *ip); |
iphdr | 618 | 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 | 253 | net/ipv4/icmp.c | struct iphdr *iph; |
iphdr | 339 | net/ipv4/icmp.c | struct iphdr *iph; |
iphdr | 344 | net/ipv4/icmp.c | iph = (struct iphdr *) (icmph + 1); |
iphdr | 431 | net/ipv4/icmp.c | struct iphdr *iph; |
iphdr | 438 | 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 | 187 | net/ipv4/ip.c | memcpy(iph+sizeof(struct iphdr), opt->__data, opt->optlen); |
iphdr | 239 | net/ipv4/ip.c | sptr = (sopt->is_data ? sopt->__data - sizeof(struct iphdr) : |
iphdr | 246 | net/ipv4/ip.c | dopt->rr = dopt->optlen + sizeof(struct iphdr); |
iphdr | 260 | net/ipv4/ip.c | dopt->ts = dopt->optlen + sizeof(struct iphdr); |
iphdr | 316 | net/ipv4/ip.c | dopt->srr = dopt->optlen + sizeof(struct iphdr); |
iphdr | 377 | net/ipv4/ip.c | opt->optlen = ((struct iphdr *)iph)->ihl*4 - sizeof(struct iphdr); |
iphdr | 378 | net/ipv4/ip.c | optptr = iph + sizeof(struct iphdr); |
iphdr | 382 | net/ipv4/ip.c | iph = optptr - sizeof(struct iphdr); |
iphdr | 649 | net/ipv4/ip.c | struct iphdr *iph; |
iphdr | 749 | net/ipv4/ip.c | iph=(struct iphdr *)skb_put(skb,sizeof(struct iphdr) + opt->optlen); |
iphdr | 751 | net/ipv4/ip.c | iph=(struct iphdr *)skb_put(skb,sizeof(struct iphdr)); |
iphdr | 764 | net/ipv4/ip.c | return sizeof(struct iphdr) + tmp; |
iphdr | 779 | net/ipv4/ip.c | void ip_send_check(struct iphdr *iph) |
iphdr | 828 | net/ipv4/ip.c | static struct ipq *ip_find(struct iphdr *iph) |
iphdr | 938 | net/ipv4/ip.c | static struct ipq *ip_create(struct sk_buff *skb, struct iphdr *iph, struct device *dev) |
iphdr | 957 | net/ipv4/ip.c | qp->iph = (struct iphdr *) kmalloc(64 + 8, GFP_ATOMIC); |
iphdr | 1029 | net/ipv4/ip.c | struct iphdr *iph; |
iphdr | 1094 | net/ipv4/ip.c | static struct sk_buff *ip_defrag(struct iphdr *iph, struct sk_buff *skb, struct device *dev) |
iphdr | 1296 | net/ipv4/ip.c | struct iphdr *iph; |
iphdr | 1310 | net/ipv4/ip.c | iph = (struct iphdr *) (raw + dev->hard_header_len); |
iphdr | 1436 | net/ipv4/ip.c | iph = (struct iphdr *)(skb2->h.raw/*+dev->hard_header_len*/); |
iphdr | 1487 | net/ipv4/ip.c | struct iphdr *iph=(struct iphdr *)skb_push(skb,sizeof(struct iphdr)); |
iphdr | 1525 | net/ipv4/ip.c | struct iphdr *iph; /* Our header */ |
iphdr | 1889 | net/ipv4/ip.c | struct iphdr *iph = skb->h.iph; |
iphdr | 1934 | net/ipv4/ip.c | if (skb->len<sizeof(struct iphdr) || iph->ihl<5 || iph->version != 4 || ip_fast_csum((unsigned char *)iph, iph->ihl) !=0 |
iphdr | 2090 | net/ipv4/ip.c | struct iphdr *iph=skb->h.iph; |
iphdr | 2333 | net/ipv4/ip.c | newskb->ip_hdr=(struct iphdr *)skb_put(newskb, len); |
iphdr | 2360 | net/ipv4/ip.c | struct iphdr *iph; |
iphdr | 2986 | net/ipv4/ip.c | unsigned char * optptr = opt->__data+opt->srr-sizeof(struct iphdr); |
iphdr | 2991 | net/ipv4/ip.c | unsigned char * optptr = opt->__data+opt->rr-sizeof(struct iphdr); |
iphdr | 2996 | net/ipv4/ip.c | unsigned char * optptr = opt->__data+opt->ts-sizeof(struct iphdr); |
iphdr | 3093 | net/ipv4/ip.c | struct iphdr *iph; |
iphdr | 3230 | net/ipv4/ip.c | skb->ip_hdr=iph=(struct iphdr *)skb_put(skb,length); |
iphdr | 3278 | net/ipv4/ip.c | fragheaderlen = dev->hard_header_len + sizeof(struct iphdr) + opt->optlen; |
iphdr | 3279 | net/ipv4/ip.c | maxfraglen = ((dev->mtu-sizeof(struct iphdr)-opt->optlen) & ~7) + fragheaderlen; |
iphdr | 3399 | net/ipv4/ip.c | skb->ip_hdr = iph = (struct iphdr *)data; |
iphdr | 188 | net/ipv4/ip_fw.c | int ip_fw_chk(struct iphdr *ip, struct device *rif, struct ip_fw *chain, int policy, int opt) |
iphdr | 580 | net/ipv4/ip_fw.c | struct iphdr *iph = skb->h.iph; |
iphdr | 777 | net/ipv4/ip_fw.c | struct iphdr *iph = skb->h.iph; |
iphdr | 894 | net/ipv4/ip_fw.c | struct iphdr *iph = skb_ptr->h.iph; |
iphdr | 1341 | net/ipv4/ip_fw.c | void ip_acct_cnt(struct iphdr *iph, struct device *dev, struct ip_fw *f) |
iphdr | 1436 | net/ipv4/ip_fw.c | struct iphdr *ip; |
iphdr | 1450 | net/ipv4/ip_fw.c | if ( ip->ihl != sizeof(struct iphdr) / sizeof(int)) |
iphdr | 1454 | net/ipv4/ip_fw.c | sizeof(struct iphdr)/sizeof(int)); |
iphdr | 78 | net/ipv4/ipip.c | skb_pull(skb, ((struct iphdr *)skb->data)->ihl<<2); |
iphdr | 84 | net/ipv4/ipip.c | skb->h.iph=(struct iphdr *)skb->data; |
iphdr | 85 | net/ipv4/ipip.c | skb->ip_hdr=(struct iphdr *)skb->data; |
iphdr | 268 | net/ipv4/ipmr.c | skb->ip_hdr=(struct iphdr *)skb_put(skb,ihl); |
iphdr | 164 | net/ipv4/raw.c | struct iphdr *iph=(struct iphdr *)to; |
iphdr | 230 | net/ipv4/raw.c | if(len>65535-sizeof(struct iphdr)) |
iphdr | 644 | net/ipv4/tcp.c | struct iphdr *iph; |
iphdr | 666 | net/ipv4/tcp.c | iph = (struct iphdr *)skb->data; |
iphdr | 1043 | net/ipv4/tcp.c | struct iphdr *iph=(struct iphdr *)header; |
iphdr | 3044 | net/ipv4/tcp.c | newsk->mtu = rt->rt_mss - sizeof(struct iphdr) - sizeof(struct tcphdr); |
iphdr | 3052 | net/ipv4/tcp.c | newsk->mtu = 576 - sizeof(struct iphdr) - sizeof(struct tcphdr); |
iphdr | 3061 | net/ipv4/tcp.c | newsk->mtu = min(newsk->mtu, dev->mtu - sizeof(struct iphdr) - sizeof(struct tcphdr)); |
iphdr | 3281 | net/ipv4/tcp.c | struct iphdr *iph; |
iphdr | 4581 | net/ipv4/tcp.c | sk->mtu = 576 - sizeof(struct iphdr) - sizeof(struct tcphdr); |
iphdr | 4592 | net/ipv4/tcp.c | sk->mtu = min(sk->mtu, dev->mtu - sizeof(struct iphdr) - sizeof(struct tcphdr)); |
iphdr | 5165 | net/ipv4/tcp.c | struct iphdr *iph; |
iphdr | 5184 | net/ipv4/tcp.c | iph = (struct iphdr *)skb->ip_hdr; |
iphdr | 301 | net/ipv4/udp.c | if(ulen>65535-sizeof(struct iphdr)) |