tag | line | file | source code |
iphdr | 1148 | drivers/net/ppp.c | struct iphdr *iph = (struct iphdr *) c; |
iphdr | 1750 | drivers/net/ppp.c | if (len < sizeof(struct iphdr)) { |
iphdr | 1754 | drivers/net/ppp.c | len = ntohs( ((struct iphdr *)(skb->data)) -> tot_len ); |
iphdr | 1796 | drivers/net/ppp.c | struct iphdr *iph = (struct iphdr *) (skb + 1); |
iphdr | 251 | drivers/net/slhc.c | struct iphdr *ip; |
iphdr | 254 | drivers/net/slhc.c | ip = (struct iphdr *) icp; |
iphdr | 497 | drivers/net/slhc.c | register struct iphdr *ip; |
iphdr | 622 | drivers/net/slhc.c | ((struct iphdr *)icp)->check = ip_fast_csum(icp, ((struct iphdr*)icp)->ihl); |
iphdr | 644 | drivers/net/slhc.c | struct iphdr *ip; |
iphdr | 663 | drivers/net/slhc.c | ip = (struct iphdr *) icp; |
iphdr | 127 | drivers/net/slhc.h | struct iphdr cs_ip; /* ip/tcp hdr from most recent packet */ |
iphdr | 44 | drivers/net/tunnel.c | #define ip_header_len sizeof(struct iphdr) |
iphdr | 96 | drivers/net/tunnel.c | void print_ip(struct iphdr *ip) |
iphdr | 125 | drivers/net/tunnel.c | struct iphdr *iph; /* Our new IP header */ |
iphdr | 161 | drivers/net/tunnel.c | iph=(struct iphdr *)skb->data; |
iphdr | 219 | drivers/net/tunnel.c | iph=skb2->h.iph=(struct iphdr *)skb2->data; |
iphdr | 120 | include/linux/ip_fw.h | struct iphdr fwp_iph; /* IP header */ |
iphdr | 161 | include/linux/ip_fw.h | extern void ip_acct_cnt(struct iphdr *, struct device *, struct ip_fw *); |
iphdr | 164 | 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 | 59 | include/linux/skbuff.h | struct iphdr *ip_hdr; /* For IPPROTO_RAW */ |
iphdr | 65 | include/net/ip.h | struct iphdr *iph; /* pointer to IP header */ |
iphdr | 79 | include/net/ip.h | extern void ip_print(const struct iphdr *ip); |
iphdr | 93 | include/net/ip.h | extern void ip_send_check(struct iphdr *ip); |
iphdr | 512 | net/core/skbuff.c | n->ip_hdr=(struct iphdr *)(((char *)skb->ip_hdr)+offset); |
iphdr | 103 | net/ipv4/icmp.c | struct iphdr *iph; |
iphdr | 115 | net/ipv4/icmp.c | iph = (struct iphdr *) (skb_in->data + dev->hard_header_len); |
iphdr | 213 | net/ipv4/icmp.c | len = dev->hard_header_len + sizeof(struct iphdr) + sizeof(struct icmphdr) + |
iphdr | 214 | net/ipv4/icmp.c | sizeof(struct iphdr) + 32; /* amount of header to return */ |
iphdr | 246 | net/ipv4/icmp.c | skb->len = offset + sizeof(struct icmphdr) + sizeof(struct iphdr) + 8; |
iphdr | 259 | net/ipv4/icmp.c | memcpy(icmph + 1, iph, sizeof(struct iphdr) + 8); |
iphdr | 262 | net/ipv4/icmp.c | sizeof(struct icmphdr) + sizeof(struct iphdr) + 8); |
iphdr | 278 | net/ipv4/icmp.c | struct iphdr *iph; |
iphdr | 283 | net/ipv4/icmp.c | iph = (struct iphdr *) (icmph + 1); |
iphdr | 354 | net/ipv4/icmp.c | struct iphdr *iph; |
iphdr | 361 | net/ipv4/icmp.c | iph = (struct iphdr *) (icmph + 1); |
iphdr | 81 | net/ipv4/igmp.c | #define MAX_IGMP_SIZE (sizeof(struct igmphdr)+sizeof(struct iphdr)+64) |
iphdr | 215 | net/ipv4/ip.c | struct iphdr *iph; |
iphdr | 313 | net/ipv4/ip.c | iph=(struct iphdr *)buff; |
iphdr | 333 | net/ipv4/ip.c | void ip_send_check(struct iphdr *iph) |
iphdr | 381 | net/ipv4/ip.c | static struct ipq *ip_find(struct iphdr *iph) |
iphdr | 494 | net/ipv4/ip.c | static struct ipq *ip_create(struct sk_buff *skb, struct iphdr *iph, struct device *dev) |
iphdr | 530 | net/ipv4/ip.c | qp->iph = (struct iphdr *) kmalloc(64 + 8, GFP_ATOMIC); |
iphdr | 607 | net/ipv4/ip.c | struct iphdr *iph; |
iphdr | 676 | net/ipv4/ip.c | static struct sk_buff *ip_defrag(struct iphdr *iph, struct sk_buff *skb, struct device *dev) |
iphdr | 871 | net/ipv4/ip.c | struct iphdr *iph; |
iphdr | 884 | net/ipv4/ip.c | iph = (struct iphdr *) (raw + dev->hard_header_len); |
iphdr | 1011 | net/ipv4/ip.c | iph = (struct iphdr *)(skb2->h.raw/*+dev->hard_header_len*/); |
iphdr | 1044 | net/ipv4/ip.c | struct iphdr *iph; /* Our header */ |
iphdr | 1265 | net/ipv4/ip.c | struct iphdr *iph = skb->h.iph; |
iphdr | 1299 | 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 | 1352 | net/ipv4/ip.c | unsigned char *opt_ptr=skb->h.raw+sizeof(struct iphdr); |
iphdr | 1494 | net/ipv4/ip.c | struct iphdr *iph=skb->h.iph; |
iphdr | 1704 | net/ipv4/ip.c | newskb->ip_hdr=(struct iphdr *)(newskb->data+ip_send(newskb, skb->ip_hdr->daddr, len, dev, skb->ip_hdr->saddr)); |
iphdr | 1726 | net/ipv4/ip.c | struct iphdr *iph; |
iphdr | 1756 | net/ipv4/ip.c | iph = (struct iphdr *)ptr; |
iphdr | 2347 | net/ipv4/ip.c | struct iphdr *iph; |
iphdr | 2533 | net/ipv4/ip.c | iph = (struct iphdr *)data; |
iphdr | 177 | net/ipv4/ip_fw.c | int ip_fw_chk(struct iphdr *ip, struct device *rif, struct ip_fw *chain, int policy, int opt) |
iphdr | 520 | net/ipv4/ip_fw.c | struct iphdr *iph = skb->h.iph; |
iphdr | 657 | net/ipv4/ip_fw.c | struct iphdr *iph = skb->h.iph; |
iphdr | 773 | net/ipv4/ip_fw.c | struct iphdr *iph = skb_ptr->h.iph; |
iphdr | 1192 | net/ipv4/ip_fw.c | void ip_acct_cnt(struct iphdr *iph, struct device *dev, struct ip_fw *f) |
iphdr | 1287 | net/ipv4/ip_fw.c | struct iphdr *ip; |
iphdr | 1301 | net/ipv4/ip_fw.c | if ( ip->ihl != sizeof(struct iphdr) / sizeof(int)) |
iphdr | 1305 | net/ipv4/ip_fw.c | sizeof(struct iphdr)/sizeof(int)); |
iphdr | 144 | net/ipv4/raw.c | struct iphdr *iph=(struct iphdr *)to; |
iphdr | 444 | net/ipv4/tcp.c | struct iphdr *iph; |
iphdr | 460 | net/ipv4/tcp.c | iph = (struct iphdr *)(skb->data + dev->hard_header_len); |
iphdr | 785 | net/ipv4/tcp.c | struct iphdr *iph=(struct iphdr *)header; |
iphdr | 3029 | net/ipv4/tcp.c | struct iphdr *iph; |
iphdr | 3038 | net/ipv4/tcp.c | iph = (struct iphdr *)(skb->data + |
iphdr | 4898 | net/ipv4/tcp.c | struct iphdr *iph; |
iphdr | 4906 | net/ipv4/tcp.c | iph = (struct iphdr *)(skb->data + skb->dev->hard_header_len); |
iphdr | 130 | net/ipv4/udp.c | struct iphdr *ip=(struct iphdr *)header; |