tag | line | file | source code |
iphdr | 1128 | drivers/net/ppp.c | struct iphdr *iph = (struct iphdr *) c; |
iphdr | 1716 | drivers/net/ppp.c | if (len < sizeof(struct iphdr)) { |
iphdr | 1720 | drivers/net/ppp.c | len = ntohs( ((struct iphdr *)(skb->data)) -> tot_len ); |
iphdr | 1761 | drivers/net/ppp.c | struct iphdr *iph = (struct iphdr *) (skb + 1); |
iphdr | 88 | drivers/net/slhc.c | extern int ip_csum(struct iphdr *iph); |
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_csum((struct iphdr*)icp); |
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 | 114 | include/linux/ip_fw.h | extern int ip_fw_chk(struct iphdr *, struct ip_fw *); |
iphdr | 119 | include/linux/ip_fw.h | extern void ip_acct_cnt(struct iphdr *, struct ip_fw *, int); |
iphdr | 54 | include/linux/skbuff.h | struct iphdr *iph; |
iphdr | 59 | include/linux/skbuff.h | struct iphdr *ip_hdr; /* For IPPROTO_RAW */ |
iphdr | 100 | net/inet/icmp.c | struct iphdr *iph; |
iphdr | 112 | net/inet/icmp.c | iph = (struct iphdr *) (skb_in->data + dev->hard_header_len); |
iphdr | 192 | net/inet/icmp.c | len = dev->hard_header_len + sizeof(struct iphdr) + sizeof(struct icmphdr) + |
iphdr | 193 | net/inet/icmp.c | sizeof(struct iphdr) + 8; /* amount of header to return */ |
iphdr | 225 | net/inet/icmp.c | skb->len = offset + sizeof(struct icmphdr) + sizeof(struct iphdr) + 8; |
iphdr | 236 | net/inet/icmp.c | memcpy(icmph + 1, iph, sizeof(struct iphdr) + 8); |
iphdr | 239 | net/inet/icmp.c | sizeof(struct icmphdr) + sizeof(struct iphdr) + 8); |
iphdr | 255 | net/inet/icmp.c | struct iphdr *iph; |
iphdr | 260 | net/inet/icmp.c | iph = (struct iphdr *) (icmph + 1); |
iphdr | 325 | net/inet/icmp.c | struct iphdr *iph; |
iphdr | 332 | net/inet/icmp.c | iph = (struct iphdr *) (icmph + 1); |
iphdr | 73 | net/inet/igmp.c | #define MAX_IGMP_SIZE (sizeof(struct igmphdr)+sizeof(struct iphdr)+64) |
iphdr | 156 | net/inet/ip.c | strict_route(struct iphdr *iph, struct options *opt) |
iphdr | 162 | net/inet/ip.c | loose_route(struct iphdr *iph, struct options *opt) |
iphdr | 179 | net/inet/ip.c | build_options(struct iphdr *iph, struct options *opt) |
iphdr | 229 | net/inet/ip.c | struct iphdr *iph; |
iphdr | 329 | net/inet/ip.c | iph = (struct iphdr *)buff; |
iphdr | 354 | net/inet/ip.c | do_options(struct iphdr *iph, struct options *opt) |
iphdr | 358 | net/inet/ip.c | int i, len = sizeof(struct iphdr); |
iphdr | 582 | net/inet/ip.c | int ip_csum(struct iphdr *iph) |
iphdr | 591 | net/inet/ip.c | void ip_send_check(struct iphdr *iph) |
iphdr | 639 | net/inet/ip.c | static struct ipq *ip_find(struct iphdr *iph) |
iphdr | 752 | net/inet/ip.c | static struct ipq *ip_create(struct sk_buff *skb, struct iphdr *iph, struct device *dev) |
iphdr | 788 | net/inet/ip.c | qp->iph = (struct iphdr *) kmalloc(ihlen + 8, GFP_ATOMIC); |
iphdr | 865 | net/inet/ip.c | struct iphdr *iph; |
iphdr | 934 | net/inet/ip.c | static struct sk_buff *ip_defrag(struct iphdr *iph, struct sk_buff *skb, struct device *dev) |
iphdr | 1128 | net/inet/ip.c | struct iphdr *iph; |
iphdr | 1141 | net/inet/ip.c | iph = (struct iphdr *) (raw + dev->hard_header_len); |
iphdr | 1265 | net/inet/ip.c | iph = (struct iphdr *)(skb2->h.raw/*+dev->hard_header_len*/); |
iphdr | 1298 | net/inet/ip.c | struct iphdr *iph; /* Our header */ |
iphdr | 1490 | net/inet/ip.c | struct iphdr *iph = skb->h.iph; |
iphdr | 1518 | net/inet/ip.c | if (skb->len<sizeof(struct iphdr) || iph->ihl<5 || iph->version != 4 || ip_fast_csum((unsigned char *)iph, iph->ihl) !=0) |
iphdr | 1790 | net/inet/ip.c | newskb->ip_hdr=(struct iphdr *)(newskb->data+ip_send(newskb, skb->ip_hdr->daddr, len, dev, skb->ip_hdr->saddr)); |
iphdr | 1812 | net/inet/ip.c | struct iphdr *iph; |
iphdr | 1842 | net/inet/ip.c | iph = (struct iphdr *)ptr; |
iphdr | 62 | net/inet/ip.h | struct iphdr *iph; /* pointer to IP header */ |
iphdr | 76 | net/inet/ip.h | extern void ip_print(const struct iphdr *ip); |
iphdr | 89 | net/inet/ip.h | extern void ip_send_check(struct iphdr *ip); |
iphdr | 109 | net/inet/ip_fw.c | int ip_fw_chk(struct iphdr *ip, struct ip_fw *chain) |
iphdr | 305 | net/inet/ip_fw.c | void ip_acct_cnt(struct iphdr *ip,struct ip_fw *chain,int nh_conv) |
iphdr | 834 | net/inet/ip_fw.c | struct iphdr *ip; |
iphdr | 836 | net/inet/ip_fw.c | if ( len < sizeof(struct iphdr) + 2 * sizeof(unsigned short) ) |
iphdr | 845 | net/inet/ip_fw.c | ip = (struct iphdr *)m; |
iphdr | 847 | net/inet/ip_fw.c | if ( ip->ihl != sizeof(struct iphdr) / sizeof(int)) |
iphdr | 201 | net/inet/raw.c | struct iphdr *iph; |
iphdr | 206 | net/inet/raw.c | iph = (struct iphdr *)buff; |
iphdr | 511 | net/inet/skbuff.c | n->ip_hdr=(struct iphdr *)(((char *)skb->ip_hdr)+offset); |
iphdr | 381 | net/inet/tcp.c | struct iphdr *iph; |
iphdr | 398 | net/inet/tcp.c | iph = (struct iphdr *)(skb->data + dev->hard_header_len); |
iphdr | 702 | net/inet/tcp.c | struct iphdr *iph=(struct iphdr *)header; |
iphdr | 2871 | net/inet/tcp.c | struct iphdr *iph; |
iphdr | 2880 | net/inet/tcp.c | iph = (struct iphdr *)(skb->data + |
iphdr | 104 | net/inet/udp.c | struct iphdr *ip=(struct iphdr *)header; |