iphdr 33 include/linux/if_tunnel.h struct iphdr iph; iphdr 51 include/linux/inet_lro.h struct iphdr *iph; iphdr 110 include/linux/ip.h static inline struct iphdr *ip_hdr(const struct sk_buff *skb) iphdr 112 include/linux/ip.h return (struct iphdr *)skb_network_header(skb); iphdr 115 include/linux/ip.h static inline struct iphdr *ipip_hdr(const struct sk_buff *skb) iphdr 117 include/linux/ip.h return (struct iphdr *)skb_transport_header(skb); iphdr 117 include/net/inet_ecn.h if (skb->network_header + sizeof(struct iphdr) <= skb->tail) iphdr 382 include/net/inet_hashtables.h const struct iphdr *iph = ip_hdr(skb); iphdr 42 include/net/ip_vs.h iphdr->len = sizeof(struct ipv6hdr); iphdr 43 include/net/ip_vs.h iphdr->protocol = iph->nexthdr; iphdr 44 include/net/ip_vs.h ipv6_addr_copy(&iphdr->saddr.in6, &iph->saddr); iphdr 45 include/net/ip_vs.h ipv6_addr_copy(&iphdr->daddr.in6, &iph->daddr); iphdr 49 include/net/ip_vs.h const struct iphdr *iph = nh; iphdr 50 include/net/ip_vs.h iphdr->len = iph->ihl * 4; iphdr 51 include/net/ip_vs.h iphdr->protocol = iph->protocol; iphdr 52 include/net/ip_vs.h iphdr->saddr.ip = iph->saddr; iphdr 53 include/net/ip_vs.h iphdr->daddr.ip = iph->daddr; iphdr 265 include/net/ip_vs.h struct iphdr; iphdr 571 include/net/ip_vs.h const struct iphdr *iph, unsigned int proto_off, iphdr 576 include/net/ip_vs.h const struct iphdr *iph, unsigned int proto_off, iphdr 131 include/net/slhc_vj.h struct iphdr cs_ip; /* ip/tcp hdr from most recent packet */ iphdr 314 net/atm/br2684.c (((struct iphdr *)(skb->data))->daddr & brvcc->filter. iphdr 402 net/atm/br2684.c struct iphdr *iph; iphdr 465 net/atm/mpc.c struct iphdr *iph; iphdr 478 net/atm/mpc.c iph = (struct iphdr *)buff; iphdr 550 net/atm/mpc.c if (skb->len < ETH_HLEN + sizeof(struct iphdr)) iphdr 327 net/bridge/br_netfilter.c struct iphdr *iph = ip_hdr(skb); iphdr 542 net/bridge/br_netfilter.c struct iphdr *iph; iphdr 568 net/bridge/br_netfilter.c if (!pskb_may_pull(skb, sizeof(struct iphdr))) iphdr 72 net/bridge/netfilter/ebt_among.c const struct iphdr *ih; iphdr 73 net/bridge/netfilter/ebt_among.c struct iphdr _iph; iphdr 103 net/bridge/netfilter/ebt_among.c const struct iphdr *ih; iphdr 104 net/bridge/netfilter/ebt_among.c struct iphdr _iph; iphdr 31 net/bridge/netfilter/ebt_ip.c const struct iphdr *ih; iphdr 32 net/bridge/netfilter/ebt_ip.c struct iphdr _iph; iphdr 108 net/bridge/netfilter/ebt_log.c const struct iphdr *ih; iphdr 109 net/bridge/netfilter/ebt_log.c struct iphdr _iph; iphdr 47 net/core/netpoll.c sizeof(struct iphdr) + sizeof(struct ethhdr)) iphdr 322 net/core/netpoll.c struct iphdr *iph; iphdr 474 net/core/netpoll.c struct iphdr *iph; iphdr 499 net/core/netpoll.c iph = (struct iphdr *)skb->data; iphdr 500 net/core/netpoll.c if (!pskb_may_pull(skb, sizeof(struct iphdr))) iphdr 2421 net/core/pktgen.c struct iphdr *iph; iphdr 2525 net/core/pktgen.c struct iphdr *iph; iphdr 2581 net/core/pktgen.c skb->transport_header = skb->network_header + sizeof(struct iphdr); iphdr 2582 net/core/pktgen.c skb_put(skb, sizeof(struct iphdr) + sizeof(struct udphdr)); iphdr 198 net/dccp/ipv4.c const struct iphdr *iph = (struct iphdr *)skb->data; iphdr 425 net/dccp/ipv4.c const struct iphdr *iph = ip_hdr(skb); iphdr 507 net/dccp/ipv4.c const struct iphdr *rxiph; iphdr 774 net/dccp/ipv4.c const struct iphdr *iph; iphdr 889 net/dccp/ipv4.c .net_header_len = sizeof(struct iphdr), iphdr 1081 net/dccp/ipv6.c .net_header_len = sizeof(struct iphdr), iphdr 852 net/econet/af_econet.c struct iphdr *ip = ip_hdr(skb); iphdr 936 net/econet/af_econet.c struct iphdr *ip; iphdr 225 net/ieee80211/ieee80211_tx.c struct iphdr *ip; iphdr 1154 net/ipv4/af_inet.c struct iphdr *iph; iphdr 1190 net/ipv4/af_inet.c struct iphdr *iph; iphdr 20 net/ipv4/ah4.c int l = iph->ihl*4 - sizeof(struct iphdr); iphdr 60 net/ipv4/ah4.c struct iphdr *iph, *top_iph; iphdr 64 net/ipv4/ah4.c struct iphdr iph; iphdr 78 net/ipv4/ah4.c memcpy(iph+1, top_iph+1, top_iph->ihl*4 - sizeof(struct iphdr)); iphdr 114 net/ipv4/ah4.c memcpy(top_iph+1, iph+1, top_iph->ihl*4 - sizeof(struct iphdr)); iphdr 129 net/ipv4/ah4.c struct iphdr *iph; iphdr 204 net/ipv4/ah4.c struct iphdr *iph = (struct iphdr*)skb->data; iphdr 274 net/ipv4/ah4.c x->props.header_len += sizeof(struct iphdr); iphdr 1873 net/ipv4/cipso_ipv4.c opt->cipso = sizeof(struct iphdr); iphdr 1922 net/ipv4/cipso_ipv4.c cipso_off = opt->cipso - sizeof(struct iphdr); iphdr 2040 net/ipv4/cipso_ipv4.c return cipso_v4_getattr(opt->__data + opt->cipso - sizeof(struct iphdr), iphdr 2059 net/ipv4/cipso_ipv4.c struct iphdr *iph; iphdr 2102 net/ipv4/cipso_ipv4.c opt->cipso = sizeof(struct iphdr); iphdr 2134 net/ipv4/cipso_ipv4.c struct iphdr *iph; iphdr 232 net/ipv4/esp4.c struct iphdr *iph; iphdr 416 net/ipv4/esp4.c struct iphdr *iph = (struct iphdr*)skb->data; iphdr 577 net/ipv4/esp4.c x->props.header_len += sizeof(struct iphdr); iphdr 415 net/ipv4/icmp.c struct iphdr *iph; iphdr 630 net/ipv4/icmp.c room -= sizeof(struct iphdr) + icmp_param.replyopts.optlen; iphdr 653 net/ipv4/icmp.c struct iphdr *iph; iphdr 668 net/ipv4/icmp.c if (!pskb_may_pull(skb, sizeof(struct iphdr))) iphdr 672 net/ipv4/icmp.c iph = (struct iphdr *)skb->data; iphdr 748 net/ipv4/icmp.c iph = (struct iphdr *)skb->data; iphdr 777 net/ipv4/icmp.c struct iphdr *iph; iphdr 779 net/ipv4/icmp.c if (skb->len < sizeof(struct iphdr)) iphdr 785 net/ipv4/icmp.c if (!pskb_may_pull(skb, sizeof(struct iphdr))) iphdr 788 net/ipv4/icmp.c iph = (struct iphdr *)skb->data; iphdr 985 net/ipv4/icmp.c if (!pskb_may_pull(skb, sizeof(*icmph) + sizeof(struct iphdr))) iphdr 225 net/ipv4/igmp.c #define IGMP_SIZE (sizeof(struct igmphdr)+sizeof(struct iphdr)+4) iphdr 290 net/ipv4/igmp.c struct iphdr *pip; iphdr 321 net/ipv4/igmp.c skb_put(skb, sizeof(struct iphdr) + 4); iphdr 324 net/ipv4/igmp.c pip->ihl = (sizeof(struct iphdr)+4)>>2; iphdr 338 net/ipv4/igmp.c skb->transport_header = skb->network_header + sizeof(struct iphdr) + 4; iphdr 629 net/ipv4/igmp.c struct iphdr *iph; iphdr 668 net/ipv4/igmp.c skb_put(skb, sizeof(struct iphdr) + 4); iphdr 671 net/ipv4/igmp.c iph->ihl = (sizeof(struct iphdr)+4)>>2; iphdr 104 net/ipv4/inet_lro.c struct iphdr *iph = lro_desc->iph; iphdr 337 net/ipv4/inet_lro.c struct iphdr *iph; iphdr 440 net/ipv4/inet_lro.c struct iphdr *iph; iphdr 55 net/ipv4/ip_forward.c struct iphdr *iph; /* Our header */ iphdr 91 net/ipv4/ip_fragment.c struct iphdr *iph; iphdr 466 net/ipv4/ip_fragment.c struct iphdr *iph; iphdr 374 net/ipv4/ip_gre.c struct iphdr *iph = (struct iphdr*)skb->data; iphdr 471 net/ipv4/ip_gre.c struct iphdr *iph; iphdr 613 net/ipv4/ip_gre.c struct iphdr *old_iph = ip_hdr(skb); iphdr 614 net/ipv4/ip_gre.c struct iphdr *tiph; iphdr 619 net/ipv4/ip_gre.c struct iphdr *iph; /* Our new IP header */ iphdr 635 net/ipv4/ip_gre.c tiph = (struct iphdr*)skb->data; iphdr 791 net/ipv4/ip_gre.c iph->ihl = sizeof(struct iphdr) >> 2; iphdr 827 net/ipv4/ip_gre.c *(__sum16*)ptr = ip_compute_csum((void*)(iph+1), skb->len - sizeof(struct iphdr)); iphdr 851 net/ipv4/ip_gre.c struct iphdr *iph; iphdr 854 net/ipv4/ip_gre.c int addend = sizeof(struct iphdr) + 4; iphdr 1081 net/ipv4/ip_gre.c struct iphdr *iph = (struct iphdr *)skb_push(skb, t->hlen); iphdr 1084 net/ipv4/ip_gre.c memcpy(iph, &t->parms.iph, sizeof(struct iphdr)); iphdr 1107 net/ipv4/ip_gre.c struct iphdr *iph = (struct iphdr*) skb_mac_header(skb); iphdr 1168 net/ipv4/ip_gre.c dev->needed_headroom = LL_MAX_HEADER + sizeof(struct iphdr) + 4; iphdr 1169 net/ipv4/ip_gre.c dev->mtu = ETH_DATA_LEN - sizeof(struct iphdr) - 4; iphdr 1179 net/ipv4/ip_gre.c struct iphdr *iph; iphdr 1210 net/ipv4/ip_gre.c struct iphdr *iph = &tunnel->parms.iph; iphdr 1219 net/ipv4/ip_gre.c tunnel->hlen = sizeof(struct iphdr) + 4; iphdr 1562 net/ipv4/ip_gre.c [IFLA_GRE_LOCAL] = { .len = FIELD_SIZEOF(struct iphdr, saddr) }, iphdr 1563 net/ipv4/ip_gre.c [IFLA_GRE_REMOTE] = { .len = FIELD_SIZEOF(struct iphdr, daddr) }, iphdr 267 net/ipv4/ip_input.c struct iphdr *iph; iphdr 284 net/ipv4/ip_input.c opt->optlen = iph->ihl*4 - sizeof(struct iphdr); iphdr 319 net/ipv4/ip_input.c const struct iphdr *iph = ip_hdr(skb); iphdr 372 net/ipv4/ip_input.c struct iphdr *iph; iphdr 388 net/ipv4/ip_input.c if (!pskb_may_pull(skb, sizeof(struct iphdr))) iphdr 44 net/ipv4/ip_options.c memcpy(iph+sizeof(struct iphdr), opt->__data, opt->optlen); iphdr 110 net/ipv4/ip_options.c dopt->rr = dopt->optlen + sizeof(struct iphdr); iphdr 124 net/ipv4/ip_options.c dopt->ts = dopt->optlen + sizeof(struct iphdr); iphdr 186 net/ipv4/ip_options.c dopt->srr = dopt->optlen + sizeof(struct iphdr); iphdr 193 net/ipv4/ip_options.c dopt->cipso = dopt->optlen+sizeof(struct iphdr); iphdr 213 net/ipv4/ip_options.c unsigned char *optptr = skb_network_header(skb) + sizeof(struct iphdr); iphdr 264 net/ipv4/ip_options.c iph = optptr - sizeof(struct iphdr); iphdr 478 net/ipv4/ip_options.c unsigned char * optptr = opt->__data+opt->srr-sizeof(struct iphdr); iphdr 483 net/ipv4/ip_options.c unsigned char * optptr = opt->__data+opt->rr-sizeof(struct iphdr); iphdr 488 net/ipv4/ip_options.c unsigned char * optptr = opt->__data+opt->ts-sizeof(struct iphdr); iphdr 599 net/ipv4/ip_options.c struct iphdr *iph = ip_hdr(skb); iphdr 94 net/ipv4/ip_output.c struct iphdr *iph = ip_hdr(skb); iphdr 144 net/ipv4/ip_output.c struct iphdr *iph; iphdr 147 net/ipv4/ip_output.c skb_push(skb, sizeof(struct iphdr) + (opt ? opt->optlen : 0)); iphdr 317 net/ipv4/ip_output.c struct iphdr *iph; iphdr 365 net/ipv4/ip_output.c skb_push(skb, sizeof(struct iphdr) + (opt ? opt->optlen : 0)); iphdr 435 net/ipv4/ip_output.c struct iphdr *iph; iphdr 838 net/ipv4/ip_output.c fragheaderlen = sizeof(struct iphdr) + (opt ? opt->optlen : 0); iphdr 1087 net/ipv4/ip_output.c fragheaderlen = sizeof(struct iphdr) + (opt ? opt->optlen : 0); iphdr 1218 net/ipv4/ip_output.c struct iphdr *iph; iphdr 1265 net/ipv4/ip_output.c iph = (struct iphdr *)skb->data; iphdr 276 net/ipv4/ip_sockglue.c serr->addr_offset = (u8 *)&(((struct iphdr *)(icmp_hdr(skb) + 1))->daddr) - iphdr 292 net/ipv4/ip_sockglue.c struct iphdr *iph; iphdr 298 net/ipv4/ip_sockglue.c skb = alloc_skb(sizeof(struct iphdr), GFP_ATOMIC); iphdr 302 net/ipv4/ip_sockglue.c skb_put(skb, sizeof(struct iphdr)); iphdr 29 net/ipv4/ipcomp.c struct iphdr *iph = (struct iphdr *)skb->data; iphdr 114 net/ipv4/ipcomp.c x->props.header_len += sizeof(struct iphdr); iphdr 535 net/ipv4/ipconfig.c struct iphdr iph; /* IP header */ iphdr 711 net/ipv4/ipconfig.c struct iphdr *h; iphdr 737 net/ipv4/ipconfig.c b->udph.len = htons(sizeof(struct bootp_pkt) - sizeof(struct iphdr)); iphdr 851 net/ipv4/ipconfig.c struct iphdr *h; iphdr 866 net/ipv4/ipconfig.c sizeof(struct iphdr) + iphdr 893 net/ipv4/ipconfig.c if (ntohs(h->tot_len) < ntohs(b->udph.len) + sizeof(struct iphdr)) iphdr 898 net/ipv4/ipconfig.c sizeof(struct iphdr) - iphdr 284 net/ipv4/ipip.c struct iphdr *iph = (struct iphdr*)skb->data; iphdr 342 net/ipv4/ipip.c struct iphdr *inner_iph = ip_hdr(skb); iphdr 351 net/ipv4/ipip.c const struct iphdr *iph = ip_hdr(skb); iphdr 394 net/ipv4/ipip.c struct iphdr *tiph = &tunnel->parms.iph; iphdr 399 net/ipv4/ipip.c struct iphdr *old_iph = ip_hdr(skb); iphdr 400 net/ipv4/ipip.c struct iphdr *iph; /* Our new IP header */ iphdr 447 net/ipv4/ipip.c mtu = dst_mtu(&rt->u.dst) - sizeof(struct iphdr); iphdr 478 net/ipv4/ipip.c max_headroom = (LL_RESERVED_SPACE(tdev)+sizeof(struct iphdr)); iphdr 498 net/ipv4/ipip.c skb_push(skb, sizeof(struct iphdr)); iphdr 512 net/ipv4/ipip.c iph->ihl = sizeof(struct iphdr)>>2; iphdr 541 net/ipv4/ipip.c struct iphdr *iph; iphdr 565 net/ipv4/ipip.c dev->hard_header_len = tdev->hard_header_len + sizeof(struct iphdr); iphdr 566 net/ipv4/ipip.c dev->mtu = tdev->mtu - sizeof(struct iphdr); iphdr 688 net/ipv4/ipip.c if (new_mtu < 68 || new_mtu > 0xFFF8 - sizeof(struct iphdr)) iphdr 703 net/ipv4/ipip.c dev->hard_header_len = LL_MAX_HEADER + sizeof(struct iphdr); iphdr 704 net/ipv4/ipip.c dev->mtu = ETH_DATA_LEN - sizeof(struct iphdr); iphdr 731 net/ipv4/ipip.c struct iphdr *iph = &tunnel->parms.iph; iphdr 219 net/ipv4/ipmr.c dev->mtu = ETH_DATA_LEN - sizeof(struct iphdr) - 8; iphdr 336 net/ipv4/ipmr.c struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct iphdr)); iphdr 557 net/ipv4/ipmr.c struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct iphdr)); iphdr 594 net/ipv4/ipmr.c skb = skb_realloc_headroom(pkt, sizeof(struct iphdr)); iphdr 609 net/ipv4/ipmr.c skb_push(skb, sizeof(struct iphdr)); iphdr 613 net/ipv4/ipmr.c memcpy(msg, skb_network_header(pkt), sizeof(struct iphdr)); iphdr 617 net/ipv4/ipmr.c ip_hdr(skb)->ihl = sizeof(struct iphdr) >> 2; iphdr 619 net/ipv4/ipmr.c sizeof(struct iphdr)); iphdr 674 net/ipv4/ipmr.c const struct iphdr *iph = ip_hdr(skb); iphdr 1153 net/ipv4/ipmr.c struct iphdr *iph; iphdr 1154 net/ipv4/ipmr.c struct iphdr *old_iph = ip_hdr(skb); iphdr 1156 net/ipv4/ipmr.c skb_push(skb, sizeof(struct iphdr)); iphdr 1195 net/ipv4/ipmr.c const struct iphdr *iph = ip_hdr(skb); iphdr 1225 net/ipv4/ipmr.c encap = sizeof(struct iphdr); iphdr 1480 net/ipv4/ipmr.c struct iphdr *encap; iphdr 1493 net/ipv4/ipmr.c encap = (struct iphdr *)(skb_transport_header(skb) + iphdr 1541 net/ipv4/ipmr.c struct iphdr *encap; iphdr 1555 net/ipv4/ipmr.c encap = (struct iphdr *)(skb_transport_header(skb) + iphdr 1639 net/ipv4/ipmr.c struct iphdr *iph; iphdr 1659 net/ipv4/ipmr.c skb_push(skb2, sizeof(struct iphdr)); iphdr 1662 net/ipv4/ipmr.c iph->ihl = sizeof(struct iphdr) >> 2; iphdr 16 net/ipv4/netfilter.c const struct iphdr *iph = ip_hdr(skb); iphdr 136 net/ipv4/netfilter.c const struct iphdr *iph = ip_hdr(skb); iphdr 150 net/ipv4/netfilter.c const struct iphdr *iph = ip_hdr(skb); iphdr 163 net/ipv4/netfilter.c const struct iphdr *iph = ip_hdr(skb); iphdr 195 net/ipv4/netfilter.c const struct iphdr *iph = ip_hdr(skb); iphdr 283 net/ipv4/netfilter/ip_queue.c struct iphdr *user_iph = (struct iphdr *)v->payload; iphdr 323 net/ipv4/netfilter/ip_tables.c const struct iphdr *ip; iphdr 223 net/ipv4/netfilter/ipt_CLUSTERIP.c const struct iphdr *iph = ip_hdr(skb); iphdr 31 net/ipv4/netfilter/ipt_ECN.c struct iphdr *iph = ip_hdr(skb); iphdr 35 net/ipv4/netfilter/ipt_ECN.c if (!skb_make_writable(skb, sizeof(struct iphdr))) iphdr 39 net/ipv4/netfilter/ipt_LOG.c struct iphdr _iph; iphdr 40 net/ipv4/netfilter/ipt_LOG.c const struct iphdr *ih; iphdr 78 net/ipv4/netfilter/ipt_LOG.c && ih->ihl * 4 > sizeof(struct iphdr)) { iphdr 80 net/ipv4/netfilter/ipt_LOG.c unsigned char _opt[4 * 15 - sizeof(struct iphdr)]; iphdr 83 net/ipv4/netfilter/ipt_LOG.c optsize = ih->ihl * 4 - sizeof(struct iphdr); iphdr 207 net/ipv4/netfilter/ipt_LOG.c = 8 + sizeof(struct iphdr), iphdr 209 net/ipv4/netfilter/ipt_LOG.c = 8 + sizeof(struct iphdr), iphdr 211 net/ipv4/netfilter/ipt_LOG.c = 8 + sizeof(struct iphdr), iphdr 214 net/ipv4/netfilter/ipt_LOG.c = 8 + sizeof(struct iphdr), iphdr 216 net/ipv4/netfilter/ipt_LOG.c = 8 + sizeof(struct iphdr), iphdr 38 net/ipv4/netfilter/ipt_REJECT.c const struct iphdr *oiph; iphdr 39 net/ipv4/netfilter/ipt_REJECT.c struct iphdr *niph; iphdr 62 net/ipv4/netfilter/ipt_REJECT.c nskb = alloc_skb(sizeof(struct iphdr) + sizeof(struct tcphdr) + iphdr 70 net/ipv4/netfilter/ipt_REJECT.c niph = (struct iphdr *)skb_put(nskb, sizeof(struct iphdr)); iphdr 72 net/ipv4/netfilter/ipt_REJECT.c niph->ihl = sizeof(struct iphdr) / 4; iphdr 25 net/ipv4/netfilter/ipt_TTL.c struct iphdr *iph; iphdr 36 net/ipv4/netfilter/ipt_addrtype.c const struct iphdr *iph = ip_hdr(skb); iphdr 53 net/ipv4/netfilter/ipt_addrtype.c const struct iphdr *iph = ip_hdr(skb); iphdr 95 net/ipv4/netfilter/iptable_filter.c if (skb->len < sizeof(struct iphdr) || iphdr 96 net/ipv4/netfilter/iptable_filter.c ip_hdrlen(skb) < sizeof(struct iphdr)) { iphdr 128 net/ipv4/netfilter/iptable_mangle.c const struct iphdr *iph; iphdr 134 net/ipv4/netfilter/iptable_mangle.c if (skb->len < sizeof(struct iphdr) iphdr 135 net/ipv4/netfilter/iptable_mangle.c || ip_hdrlen(skb) < sizeof(struct iphdr)) { iphdr 67 net/ipv4/netfilter/iptable_raw.c if (skb->len < sizeof(struct iphdr) || iphdr 68 net/ipv4/netfilter/iptable_raw.c ip_hdrlen(skb) < sizeof(struct iphdr)) { iphdr 98 net/ipv4/netfilter/iptable_security.c if (skb->len < sizeof(struct iphdr) iphdr 99 net/ipv4/netfilter/iptable_security.c || ip_hdrlen(skb) < sizeof(struct iphdr)) { iphdr 40 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c ap = skb_header_pointer(skb, nhoff + offsetof(struct iphdr, saddr), iphdr 71 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c const struct iphdr *iph; iphdr 72 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c struct iphdr _iph; iphdr 148 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c if (skb->len < sizeof(struct iphdr) || iphdr 149 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c ip_hdrlen(skb) < sizeof(struct iphdr)) { iphdr 360 net/ipv4/netfilter/nf_nat_core.c struct iphdr *iph; iphdr 428 net/ipv4/netfilter/nf_nat_core.c struct iphdr ip; iphdr 144 net/ipv4/netfilter/nf_nat_helper.c struct iphdr *iph; iphdr 222 net/ipv4/netfilter/nf_nat_helper.c struct iphdr *iph; iphdr 41 net/ipv4/netfilter/nf_nat_proto_dccp.c const struct iphdr *iph = (const void *)(skb->data + iphdroff); iphdr 54 net/ipv4/netfilter/nf_nat_proto_dccp.c iph = (struct iphdr *)(skb->data + iphdroff); iphdr 89 net/ipv4/netfilter/nf_nat_proto_gre.c const struct iphdr *iph = (struct iphdr *)(skb->data + iphdroff); iphdr 60 net/ipv4/netfilter/nf_nat_proto_icmp.c const struct iphdr *iph = (struct iphdr *)(skb->data + iphdroff); iphdr 35 net/ipv4/netfilter/nf_nat_proto_sctp.c const struct iphdr *iph = (struct iphdr *)(skb->data + iphdroff); iphdr 44 net/ipv4/netfilter/nf_nat_proto_sctp.c iph = (struct iphdr *)(skb->data + iphdroff); iphdr 39 net/ipv4/netfilter/nf_nat_proto_tcp.c const struct iphdr *iph = (struct iphdr *)(skb->data + iphdroff); iphdr 55 net/ipv4/netfilter/nf_nat_proto_tcp.c iph = (struct iphdr *)(skb->data + iphdroff); iphdr 38 net/ipv4/netfilter/nf_nat_proto_udp.c const struct iphdr *iph = (struct iphdr *)(skb->data + iphdroff); iphdr 47 net/ipv4/netfilter/nf_nat_proto_udp.c iph = (struct iphdr *)(skb->data + iphdroff); iphdr 37 net/ipv4/netfilter/nf_nat_proto_udplite.c const struct iphdr *iph = (struct iphdr *)(skb->data + iphdroff); iphdr 46 net/ipv4/netfilter/nf_nat_proto_udplite.c iph = (struct iphdr *)(skb->data + iphdroff); iphdr 1207 net/ipv4/netfilter/nf_nat_snmp_basic.c struct iphdr *iph = ip_hdr(skb); iphdr 1248 net/ipv4/netfilter/nf_nat_snmp_basic.c const struct iphdr *iph = ip_hdr(skb); iphdr 191 net/ipv4/netfilter/nf_nat_standalone.c if (skb->len < sizeof(struct iphdr) || iphdr 192 net/ipv4/netfilter/nf_nat_standalone.c ip_hdrlen(skb) < sizeof(struct iphdr)) iphdr 224 net/ipv4/netfilter/nf_nat_standalone.c if (skb->len < sizeof(struct iphdr) || iphdr 225 net/ipv4/netfilter/nf_nat_standalone.c ip_hdrlen(skb) < sizeof(struct iphdr)) iphdr 250 net/ipv4/raw.c struct iphdr *iph = (struct iphdr*)skb->data; iphdr 268 net/ipv4/raw.c struct iphdr *iph; iphdr 276 net/ipv4/raw.c iph = (struct iphdr *)skb->data; iphdr 284 net/ipv4/raw.c iph = (struct iphdr *)skb->data; iphdr 324 net/ipv4/raw.c struct iphdr *iph; iphdr 2782 net/ipv4/route.c skb_reserve(skb, MAX_HEADER + sizeof(struct iphdr)); iphdr 165 net/ipv4/syncookies.c const struct iphdr *iph = ip_hdr(skb); iphdr 197 net/ipv4/syncookies.c const struct iphdr *iph = ip_hdr(skb); iphdr 336 net/ipv4/tcp_ipv4.c struct iphdr *iph = (struct iphdr *)skb->data; iphdr 503 net/ipv4/tcp_ipv4.c const struct iphdr *iph; iphdr 1063 net/ipv4/tcp_ipv4.c const struct iphdr *iph = ip_hdr(skb); iphdr 1111 net/ipv4/tcp_ipv4.c const struct iphdr *iph = ip_hdr(skb); iphdr 1412 net/ipv4/tcp_ipv4.c const struct iphdr *iph = ip_hdr(skb); iphdr 1442 net/ipv4/tcp_ipv4.c const struct iphdr *iph = ip_hdr(skb); iphdr 1541 net/ipv4/tcp_ipv4.c const struct iphdr *iph; iphdr 1740 net/ipv4/tcp_ipv4.c .net_header_len = sizeof(struct iphdr), iphdr 81 net/ipv4/tunnel4.c if (!pskb_may_pull(skb, sizeof(struct iphdr))) iphdr 270 net/ipv4/udp.c const struct iphdr *iph = ip_hdr(skb); iphdr 329 net/ipv4/udp.c struct iphdr *iph = (struct iphdr*)skb->data; iphdr 1117 net/ipv4/udp.c const struct iphdr *iph; iphdr 27 net/ipv4/xfrm4_input.c const struct iphdr *iph = ip_hdr(skb); iphdr 43 net/ipv4/xfrm4_input.c XFRM_SPI_SKB_CB(skb)->daddroff = offsetof(struct iphdr, daddr); iphdr 50 net/ipv4/xfrm4_input.c struct iphdr *iph = ip_hdr(skb); iphdr 79 net/ipv4/xfrm4_input.c struct iphdr *iph; iphdr 22 net/ipv4/xfrm4_mode_beet.c struct iphdr *iph = ip_hdr(skb); iphdr 42 net/ipv4/xfrm4_mode_beet.c struct iphdr *top_iph; iphdr 55 net/ipv4/xfrm4_mode_beet.c offsetof(struct iphdr, protocol); iphdr 75 net/ipv4/xfrm4_mode_beet.c top_iph->ihl = sizeof(struct iphdr) / 4; iphdr 86 net/ipv4/xfrm4_mode_beet.c struct iphdr *iph; iphdr 23 net/ipv4/xfrm4_mode_transport.c struct iphdr *iph = ip_hdr(skb); iphdr 28 net/ipv4/xfrm4_mode_transport.c offsetof(struct iphdr, protocol); iphdr 19 net/ipv4/xfrm4_mode_tunnel.c struct iphdr *inner_iph = ipip_hdr(skb); iphdr 32 net/ipv4/xfrm4_mode_tunnel.c struct iphdr *top_iph; iphdr 37 net/ipv4/xfrm4_mode_tunnel.c offsetof(struct iphdr, protocol); iphdr 74 net/ipv4/xfrm4_mode_tunnel.c if (!pskb_may_pull(skb, sizeof(struct iphdr))) iphdr 126 net/ipv4/xfrm4_policy.c struct iphdr *iph = ip_hdr(skb); iphdr 53 net/ipv4/xfrm4_state.c struct iphdr *iph = ip_hdr(skb); iphdr 32 net/ipv4/xfrm4_tunnel.c x->props.header_len = sizeof(struct iphdr); iphdr 526 net/ipv6/esp6.c (sizeof(struct ipv6hdr) - sizeof(struct iphdr)); iphdr 499 net/ipv6/ip6_tunnel.c struct iphdr *eiph; iphdr 528 net/ipv6/ip6_tunnel.c if (!pskb_may_pull(skb, offset + sizeof(struct iphdr))) iphdr 957 net/ipv6/ip6_tunnel.c struct iphdr *iph = ip_hdr(skb); iphdr 425 net/ipv6/netfilter/ip6t_LOG.c const struct iphdr *iph = iphdr 426 net/ipv6/netfilter/ip6t_LOG.c (struct iphdr *)skb_mac_header(skb); iphdr 94 net/ipv6/netfilter/ip6table_filter.c if (skb->len < sizeof(struct iphdr) iphdr 95 net/ipv6/netfilter/ip6table_filter.c || ip_hdrlen(skb) < sizeof(struct iphdr)) { iphdr 106 net/ipv6/netfilter/ip6table_mangle.c if (skb->len < sizeof(struct iphdr) iphdr 107 net/ipv6/netfilter/ip6table_mangle.c || ip_hdrlen(skb) < sizeof(struct iphdr)) { iphdr 411 net/ipv6/sit.c struct iphdr *iph = (struct iphdr*)skb->data; iphdr 474 net/ipv6/sit.c struct iphdr *iph; iphdr 541 net/ipv6/sit.c struct iphdr *tiph = &tunnel->parms.iph; iphdr 546 net/ipv6/sit.c struct iphdr *iph; /* Our new IP header */ iphdr 639 net/ipv6/sit.c mtu = dst_mtu(&rt->u.dst) - sizeof(struct iphdr); iphdr 670 net/ipv6/sit.c max_headroom = LL_RESERVED_SPACE(tdev)+sizeof(struct iphdr); iphdr 690 net/ipv6/sit.c skb_push(skb, sizeof(struct iphdr)); iphdr 703 net/ipv6/sit.c iph->ihl = sizeof(struct iphdr)>>2; iphdr 736 net/ipv6/sit.c struct iphdr *iph; iphdr 760 net/ipv6/sit.c dev->hard_header_len = tdev->hard_header_len + sizeof(struct iphdr); iphdr 761 net/ipv6/sit.c dev->mtu = tdev->mtu - sizeof(struct iphdr); iphdr 923 net/ipv6/sit.c if (new_mtu < IPV6_MIN_MTU || new_mtu > 0xFFF8 - sizeof(struct iphdr)) iphdr 938 net/ipv6/sit.c dev->hard_header_len = LL_MAX_HEADER + sizeof(struct iphdr); iphdr 939 net/ipv6/sit.c dev->mtu = ETH_DATA_LEN - sizeof(struct iphdr); iphdr 966 net/ipv6/sit.c struct iphdr *iph = &tunnel->parms.iph; iphdr 1767 net/ipv6/tcp_ipv6.c .net_header_len = sizeof(struct iphdr), iphdr 112 net/ipv6/tunnel6.c if (!pskb_may_pull(skb, sizeof(struct iphdr))) iphdr 44 net/ipv6/xfrm6_mode_beet.c struct iphdr *iphv4; iphdr 571 net/netfilter/ipvs/ip_vs_core.c struct iphdr *iph = ip_hdr(skb); iphdr 575 net/netfilter/ipvs/ip_vs_core.c struct iphdr *ciph = (struct iphdr *)(icmph + 1); iphdr 710 net/netfilter/ipvs/ip_vs_core.c struct iphdr *iph; iphdr 712 net/netfilter/ipvs/ip_vs_core.c struct iphdr _ciph, *cih; /* The ip header contained within the ICMP */ iphdr 1049 net/netfilter/ipvs/ip_vs_core.c struct iphdr *iph; iphdr 1051 net/netfilter/ipvs/ip_vs_core.c struct iphdr _ciph, *cih; /* The ip header contained within the ICMP */ iphdr 205 net/netfilter/ipvs/ip_vs_dh.c struct iphdr *iph = ip_hdr(skb); iphdr 139 net/netfilter/ipvs/ip_vs_ftp.c struct iphdr *iph; iphdr 251 net/netfilter/ipvs/ip_vs_ftp.c struct iphdr *iph; iphdr 462 net/netfilter/ipvs/ip_vs_lblc.c struct iphdr *iph = ip_hdr(skb); iphdr 638 net/netfilter/ipvs/ip_vs_lblcr.c struct iphdr *iph = ip_hdr(skb); iphdr 161 net/netfilter/ipvs/ip_vs_proto.c struct iphdr _iph, *ih; iphdr 132 net/netfilter/ipvs/ip_vs_proto_ah_esp.c struct iphdr _iph, *ih; iphdr 202 net/netfilter/ipvs/ip_vs_sh.c struct iphdr *iph = ip_hdr(skb); iphdr 518 net/netfilter/ipvs/ip_vs_sync.c num = (dev->mtu - sizeof(struct iphdr) - iphdr 530 net/netfilter/ipvs/ip_vs_sync.c sizeof(struct iphdr) - sizeof(struct udphdr); iphdr 225 net/netfilter/ipvs/ip_vs_xmit.c struct iphdr *iph = ip_hdr(skb); iphdr 359 net/netfilter/ipvs/ip_vs_xmit.c struct iphdr *iph = ip_hdr(skb); iphdr 386 net/netfilter/ipvs/ip_vs_xmit.c if (!skb_make_writable(skb, sizeof(struct iphdr))) iphdr 530 net/netfilter/ipvs/ip_vs_xmit.c struct iphdr *old_iph = ip_hdr(skb); iphdr 534 net/netfilter/ipvs/ip_vs_xmit.c struct iphdr *iph; /* Our new IP header */ iphdr 552 net/netfilter/ipvs/ip_vs_xmit.c mtu = dst_mtu(&rt->u.dst) - sizeof(struct iphdr); iphdr 574 net/netfilter/ipvs/ip_vs_xmit.c max_headroom = LL_RESERVED_SPACE(tdev) + sizeof(struct iphdr); iphdr 596 net/netfilter/ipvs/ip_vs_xmit.c skb_push(skb, sizeof(struct iphdr)); iphdr 609 net/netfilter/ipvs/ip_vs_xmit.c iph->ihl = sizeof(struct iphdr)>>2; iphdr 751 net/netfilter/ipvs/ip_vs_xmit.c struct iphdr *iph = ip_hdr(skb); iphdr 106 net/netfilter/nf_conntrack_irc.c const struct iphdr *iph; iphdr 49 net/netfilter/nf_conntrack_netbios_ns.c struct iphdr *iph = ip_hdr(skb); iphdr 38 net/netfilter/xt_DSCP.c if (!skb_make_writable(skb, sizeof(struct iphdr))) iphdr 79 net/netfilter/xt_DSCP.c struct iphdr *iph = ip_hdr(skb); iphdr 83 net/netfilter/xt_DSCP.c if (!skb_make_writable(skb, sizeof(struct iphdr))) iphdr 114 net/netfilter/xt_DSCP.c struct iphdr *iph = ip_hdr(skb); iphdr 121 net/netfilter/xt_DSCP.c if (!skb_make_writable(skb, sizeof(struct iphdr))) iphdr 141 net/netfilter/xt_DSCP.c if (!skb_make_writable(skb, sizeof(struct iphdr))) iphdr 179 net/netfilter/xt_TCPMSS.c struct iphdr *iph = ip_hdr(skb); iphdr 81 net/netfilter/xt_TCPOPTSTRIP.c sizeof(struct iphdr) + sizeof(struct tcphdr)); iphdr 30 net/netfilter/xt_TPROXY.c const struct iphdr *iph = ip_hdr(skb); iphdr 202 net/netfilter/xt_connlimit.c const struct iphdr *iph = ip_hdr(skb); iphdr 23 net/netfilter/xt_iprange.c const struct iphdr *iph = ip_hdr(skb); iphdr 58 net/netfilter/xt_iprange.c const struct iphdr *iph = ip_hdr(skb); iphdr 217 net/netfilter/xt_recent.c const struct iphdr *iph = ip_hdr(skb); iphdr 39 net/netfilter/xt_socket.c struct iphdr *inside_iph, _inside_iph; iphdr 91 net/netfilter/xt_socket.c const struct iphdr *iph = ip_hdr(skb); iphdr 570 net/netlabel/netlabel_kapi.c struct iphdr *hdr4; iphdr 1568 net/netlabel/netlabel_unlabeled.c struct iphdr *hdr4; iphdr 96 net/rxrpc/ar-peer.c peer->hdrsize = sizeof(struct iphdr); iphdr 109 net/sched/act_nat.c struct iphdr *iph; iphdr 124 net/sched/cls_flow.c struct iphdr *iph = ip_hdr(skb); iphdr 151 net/sched/cls_flow.c struct iphdr *iph = ip_hdr(skb); iphdr 148 net/sched/cls_rsvp.h struct iphdr *nhptr = ip_hdr(skb); iphdr 206 net/sched/sch_dsmark.c if (skb_cow_head(skb, sizeof(struct iphdr))) iphdr 124 net/sched/sch_sfq.c const struct iphdr *iph = ip_hdr(skb); iphdr 526 net/sctp/input.c struct iphdr *iph = (struct iphdr *)skb->data; iphdr 981 net/sctp/protocol.c .net_header_len = sizeof(struct iphdr), iphdr 2131 net/xfrm/xfrm_state.c struct iphdr *iph4; iphdr 3402 security/selinux/hooks.c struct iphdr _iph, *ih;