Searched refs:iphdr (Results 26 - 50 of 208) sorted by relevance

123456789

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/netfilter/
H A Diptable_mangle.c43 const struct iphdr *iph;
49 if (skb->len < sizeof(struct iphdr) ||
50 ip_hdrlen(skb) < sizeof(struct iphdr))
H A Dnf_nat_proto_dccp.c41 const struct iphdr *iph = (const void *)(skb->data + iphdroff);
54 iph = (struct iphdr *)(skb->data + iphdroff);
H A Dnf_nat_proto_gre.c89 const struct iphdr *iph = (struct iphdr *)(skb->data + iphdroff);
H A Dnf_nat_proto_icmp.c60 const struct iphdr *iph = (struct iphdr *)(skb->data + iphdroff);
H A Dipt_ECN.c31 struct iphdr *iph = ip_hdr(skb);
35 if (!skb_make_writable(skb, sizeof(struct iphdr)))
H A Dipt_addrtype.c37 const struct iphdr *iph = ip_hdr(skb);
55 const struct iphdr *iph = ip_hdr(skb);
H A Dnf_nat_standalone.c190 if (skb->len < sizeof(struct iphdr) ||
191 ip_hdrlen(skb) < sizeof(struct iphdr))
223 if (skb->len < sizeof(struct iphdr) ||
224 ip_hdrlen(skb) < sizeof(struct iphdr))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iptables-1.4.12.1/extensions/
H A Dlibxt_TCPMSS.c32 __TCPMSS_help(sizeof(struct iphdr));
42 .min = 0, .max = UINT16_MAX - sizeof(struct iphdr),
/netgear-R7000-V1.0.7.12_1.2.5/src/router/iptables-1.4.12/src/extensions/
H A Dlibxt_TCPMSS.c32 __TCPMSS_help(sizeof(struct iphdr));
42 .min = 0, .max = UINT16_MAX - sizeof(struct iphdr),
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/
H A Dip_options.c45 memcpy(iph+sizeof(struct iphdr), opt->__data, opt->optlen);
111 dopt->rr = dopt->optlen + sizeof(struct iphdr);
125 dopt->ts = dopt->optlen + sizeof(struct iphdr);
187 dopt->srr = dopt->optlen + sizeof(struct iphdr);
194 dopt->cipso = dopt->optlen+sizeof(struct iphdr);
214 unsigned char *optptr = skb_network_header(skb) + sizeof(struct iphdr);
264 iph = optptr - sizeof(struct iphdr);
478 unsigned char * optptr = opt->__data+opt->srr-sizeof(struct iphdr);
483 unsigned char * optptr = opt->__data+opt->rr-sizeof(struct iphdr);
488 unsigned char * optptr = opt->__data+opt->ts-sizeof(struct iphdr);
[all...]
H A Dip_input.c278 struct iphdr *iph;
295 opt->optlen = iph->ihl*4 - sizeof(struct iphdr);
326 const struct iphdr *iph = ip_hdr(skb);
387 struct iphdr *iph;
404 if (!pskb_may_pull(skb, sizeof(struct iphdr)))
H A Dip_gre.c435 struct iphdr *iph = (struct iphdr *)skb->data;
507 static inline void ipgre_ecn_decapsulate(struct iphdr *iph, struct sk_buff *skb)
519 ipgre_ecn_encapsulate(u8 tos, struct iphdr *old_iph, struct sk_buff *skb)
531 struct iphdr *iph;
666 struct iphdr *old_iph = ip_hdr(skb);
667 struct iphdr *tiph;
672 struct iphdr *iph; /* Our new IP header */
683 tiph = (struct iphdr *)skb->data;
843 iph->ihl = sizeof(struct iphdr) >>
[all...]
H A Dxfrm4_tunnel.c32 x->props.header_len = sizeof(struct iphdr);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iptables-1.4.12.1/include/linux/netfilter/
H A Dxt_osf.h84 struct iphdr ip;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/
H A Dpptp.c362 struct pptp_ip_hdr *iphdr,
368 iphdr->version = 4; /* Version */
369 iphdr->ihl = 5; /* Header length (5*4)=20 */
370 iphdr->tos = inet->tos; /* Differentiated services field */
371 //iphdr->tot_len = hton16(skb->len + grehdrlen + 20 + 2); /* Total length */
372 iphdr->tot_len = hton16(total_len); /* Total length */
374 //iphdr->frag_off = hton16(IP_DF); /* Don't fragment */
375 iphdr->frag_off = 0;
377 ip_select_ident((struct iphdr *)iphdr,
360 pptp_fill_ip_header(struct sock *sk, struct sk_buff *skb, struct pptp_ip_hdr *iphdr, int total_len) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/bridge/netfilter/
H A Debt_among.c73 const struct iphdr *ih;
74 struct iphdr _iph;
104 const struct iphdr *ih;
105 struct iphdr _iph;
H A Debt_ip.c31 const struct iphdr *ih;
32 struct iphdr _iph;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dif_tunnel.h41 struct iphdr iph;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/netfilter/
H A Dxt_osf.h84 struct iphdr ip;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/iptables-1.4.12/src/include/linux/netfilter/
H A Dxt_osf.h84 struct iphdr ip;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/networking/
H A Dping.c122 struct iphdr *iphdr = (struct iphdr *) packet; local
124 pkt = (struct icmp *) (packet + (iphdr->ihl << 2)); /* skip ip hdr */
491 struct iphdr *iphdr; local
499 iphdr = (struct iphdr *) buf;
500 hlen = iphdr->ihl << 2;
514 recv_seq, iphdr
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/iputils/
H A Dping.c93 static void pr_iph(struct iphdr *ip);
696 struct iphdr *ip;
701 ip = (struct iphdr *)buf;
737 struct iphdr * iph = (struct iphdr *)(&icp[1]);
740 if (cc < 8+sizeof(struct iphdr)+8 ||
804 pr_options(buf + sizeof(struct iphdr), hlen);
884 pr_iph((struct iphdr*)(icp + 1));
889 pr_iph((struct iphdr*)(icp + 1));
912 pr_iph((struct iphdr*)(ic
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv6/
H A Dsit.c423 isatap_chksrc(struct sk_buff *skb, struct iphdr *iph, struct ip_tunnel *t)
473 struct iphdr *iph = (struct iphdr*)skb->data;
531 static inline void ipip6_ecn_decapsulate(struct iphdr *iph, struct sk_buff *skb)
539 struct iphdr *iph;
630 struct iphdr *tiph = &tunnel->parms.iph;
636 struct iphdr *iph; /* Our new IP header */
724 mtu = dst_mtu(&rt->dst) - sizeof(struct iphdr);
759 max_headroom = LL_RESERVED_SPACE(tdev)+sizeof(struct iphdr);
778 skb_push(skb, sizeof(struct iphdr));
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/
H A Dip_vs.h42 ip_vs_fill_iphdr(int af, const void *nh, struct ip_vs_iphdr *iphdr) argument
47 iphdr->len = sizeof(struct ipv6hdr);
48 iphdr->protocol = iph->nexthdr;
49 ipv6_addr_copy(&iphdr->saddr.in6, &iph->saddr);
50 ipv6_addr_copy(&iphdr->daddr.in6, &iph->daddr);
54 const struct iphdr *iph = nh;
55 iphdr->len = iph->ihl * 4;
56 iphdr->protocol = iph->protocol;
57 iphdr->saddr.ip = iph->saddr;
58 iphdr
[all...]
H A Dslhc_vj.h131 struct iphdr cs_ip; /* ip/tcp hdr from most recent packet */

Completed in 284 milliseconds

123456789