Searched refs:iphdr (Results 51 - 75 of 208) sorted by relevance

123456789

/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/networking/udhcp/
H A Dcommon.h44 struct iphdr ip;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/netfilter/
H A Dnf_conntrack_l3proto_ipv4.c42 ap = skb_header_pointer(skb, nhoff + offsetof(struct iphdr, saddr),
72 const struct iphdr *iph;
73 struct iphdr _iph;
154 if (skb->len < sizeof(struct iphdr) ||
155 ip_hdrlen(skb) < sizeof(struct iphdr))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/
H A Dip.h104 extern void ip_send_check(struct iphdr *ip);
230 int ip_decrease_ttl(struct iphdr *iph)
246 extern void __ip_select_ident(struct iphdr *iph, struct dst_entry *dst, int more);
248 static inline void ip_select_ident(struct iphdr *iph, struct dst_entry *dst, struct sock *sk)
257 static inline void ip_select_ident_more(struct iphdr *iph, struct dst_entry *dst, struct sock *sk, int more)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/
H A Dicmp.c420 struct iphdr *iph;
637 room -= sizeof(struct iphdr) + icmp_param.replyopts.optlen;
661 struct iphdr *iph;
676 if (!pskb_may_pull(skb, sizeof(struct iphdr)))
680 iph = (struct iphdr *)skb->data;
753 iph = (struct iphdr *)skb->data;
782 struct iphdr *iph;
784 if (skb->len < sizeof(struct iphdr))
790 if (!pskb_may_pull(skb, sizeof(struct iphdr)))
793 iph = (struct iphdr *)sk
[all...]
H A Dip_forward.c56 struct iphdr *iph; /* Our header */
H A Dxfrm4_state.c56 struct iphdr *iph = ip_hdr(skb);
H A Dip_output.c90 __inline__ void ip_send_check(struct iphdr *iph)
99 struct iphdr *iph = ip_hdr(skb);
154 struct iphdr *iph;
157 skb_push(skb, sizeof(struct iphdr) + (opt ? opt->optlen : 0));
349 struct iphdr *iph;
400 skb_push(skb, sizeof(struct iphdr) + (opt ? opt->optlen : 0));
474 struct iphdr *iph;
906 fragheaderlen = sizeof(struct iphdr) + (opt ? opt->optlen : 0);
1163 fragheaderlen = sizeof(struct iphdr) + (opt ? opt->optlen : 0);
1295 struct iphdr *ip
[all...]
H A Dipmr.c466 dev->mtu = ETH_DATA_LEN - sizeof(struct iphdr) - 8;
599 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct iphdr));
852 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct iphdr));
890 skb = skb_realloc_headroom(pkt, sizeof(struct iphdr));
905 skb_push(skb, sizeof(struct iphdr));
909 memcpy(msg, skb_network_header(pkt), sizeof(struct iphdr));
913 ip_hdr(skb)->ihl = sizeof(struct iphdr) >> 2;
915 sizeof(struct iphdr));
972 const struct iphdr *iph = ip_hdr(skb);
1532 struct iphdr *ip
[all...]
H A Dipconfig.c570 struct iphdr iph; /* IP header */
754 struct iphdr *h;
780 b->udph.len = htons(sizeof(struct bootp_pkt) - sizeof(struct iphdr));
899 struct iphdr *h;
914 sizeof(struct iphdr) +
941 if (ntohs(h->tot_len) < ntohs(b->udph.len) + sizeof(struct iphdr))
946 sizeof(struct iphdr) -
H A Draw.c156 static int raw_v4_input(struct sk_buff *skb, struct iphdr *iph, int hash)
249 struct iphdr *iph = (struct iphdr *)skb->data;
267 struct iphdr *iph;
275 iph = (struct iphdr *)skb->data;
283 iph = (struct iphdr *)skb->data;
322 struct iphdr *iph;
H A Desp4.c232 struct iphdr *iph;
410 struct iphdr *iph = (struct iphdr *)skb->data;
571 x->props.header_len += sizeof(struct iphdr);
H A Dtunnel4.c80 if (!pskb_may_pull(skb, sizeof(struct iphdr)))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/netfilter/ipvs/
H A Dip_vs_xmit.c228 struct iphdr *iph = ip_hdr(skb);
392 struct iphdr *iph = ip_hdr(skb);
419 if (!skb_make_writable(skb, sizeof(struct iphdr)))
561 struct iphdr *old_iph = ip_hdr(skb);
565 struct iphdr *iph; /* Our new IP header */
583 mtu = dst_mtu(&rt->dst) - sizeof(struct iphdr);
605 max_headroom = LL_RESERVED_SPACE(tdev) + sizeof(struct iphdr);
627 skb_push(skb, sizeof(struct iphdr));
640 iph->ihl = sizeof(struct iphdr)>>2;
783 struct iphdr *ip
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/
H A Dslhc.c235 struct iphdr *ip;
244 if(isize<sizeof(struct iphdr))
247 ip = (struct iphdr *) icp;
490 register struct iphdr *ip;
614 &((struct iphdr *)icp)->check);
670 memcpy(cs->cs_ipopt, icp + sizeof(struct iphdr), (ihl - 5) * 4);
H A Dpppol2tp.c1130 struct iphdr *iphdr,
1144 memcpy((char *)iphdr, iphdr4l2tp, sizeof(iphdr4l2tp));
1146 iphdr->saddr = inet->inet_saddr; /* Source IP address */
1147 iphdr->daddr = inet->inet_daddr; /* Destination IP address */
1149 iphdr->saddr = inet->saddr; /* Source IP address */
1150 iphdr->daddr = inet->daddr; /* Destination IP address */
1152 iphdr->tot_len = htons(total_len);
1156 ip_select_ident((struct iphdr *)iphdr,
1128 pppol2tp_fill_ip_header(struct sock *sk, struct sk_buff *skb, struct iphdr *iphdr, int total_len) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/IGMP-PROXY/src/include/
H A Dip.h45 struct iphdr struct
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/netfilter/
H A Dnf_conntrack_netbios_ns.c50 struct iphdr *iph = ip_hdr(skb);
H A Dxt_TCPOPTSTRIP.c80 sizeof(struct iphdr) + sizeof(struct tcphdr));
H A Dxt_TPROXY.c30 const struct iphdr *iph = ip_hdr(skb);
H A Dxt_socket.c41 struct iphdr *inside_iph, _inside_iph;
94 const struct iphdr *iph = ip_hdr(skb);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/bridge/netfilter/
H A Debt_log.c96 const struct iphdr *ih;
97 struct iphdr _iph;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sched/
H A Dcls_flow.c72 if (pskb_network_may_pull(skb, sizeof(struct iphdr)))
88 if (pskb_network_may_pull(skb, sizeof(struct iphdr)))
104 return pskb_network_may_pull(skb, sizeof(struct iphdr)) ?
133 struct iphdr *iph;
163 struct iphdr *iph;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/dccp/
H A Dipv4.c139 const struct iphdr *iph,
201 const struct iphdr *iph = (struct iphdr *)skb->data;
430 const struct iphdr *iph = ip_hdr(skb);
513 const struct iphdr *rxiph;
782 const struct iphdr *iph;
892 .net_header_len = sizeof(struct iphdr),
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/conntrack-tools/conntrack-tools-1.4.0/src/
H A Dcthelper.c82 struct iphdr *ip = (struct iphdr *) pkt;
85 if (pktlen < sizeof(struct iphdr)) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv6/
H A Dtunnel6.c113 if (!pskb_may_pull(skb, sizeof(struct iphdr)))

Completed in 347 milliseconds

123456789