Searched refs:nhoff (Results 1 - 15 of 15) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/netfilter/
H A Dnf_conntrack_l3proto_generic.c34 static bool generic_pkt_to_tuple(const struct sk_buff *skb, unsigned int nhoff, argument
58 static int generic_get_l4proto(const struct sk_buff *skb, unsigned int nhoff, argument
H A Dnf_conntrack_core.c696 unsigned int nhoff,
707 if (l3proto->pkt_to_tuple(skb, nhoff, tuple) == 0)
717 bool nf_ct_get_tuplepr(const struct sk_buff *skb, unsigned int nhoff, argument
729 ret = l3proto->get_l4proto(skb, nhoff, &protoff, &protonum);
737 ret = nf_ct_get_tuple(skb, nhoff, protoff, l3num, protonum, tuple,
695 nf_ct_get_tuple(const struct sk_buff *skb, unsigned int nhoff, unsigned int dataoff, u_int16_t l3num, u_int8_t protonum, struct nf_conntrack_tuple *tuple, const struct nf_conntrack_l3proto *l3proto, const struct nf_conntrack_l4proto *l4proto) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/netfilter/
H A Dnf_conntrack_l3proto.h27 * Try to fill in the third arg: nhoff is offset of l3 proto
30 bool (*pkt_to_tuple)(const struct sk_buff *skb, unsigned int nhoff,
49 int (*get_l4proto)(const struct sk_buff *skb, unsigned int nhoff,
H A Dnf_conntrack_core.h36 unsigned int nhoff,
H A Dnf_conntrack.h221 unsigned int nhoff, u_int16_t l3num,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv6/
H A Dip6_input.c115 IP6CB(skb)->nhoff = offsetof(struct ipv6hdr, nexthdr);
164 unsigned int nhoff; local
179 nhoff = IP6CB(skb)->nhoff;
180 nexthdr = skb_network_header(skb)[nhoff];
220 ICMPV6_UNK_NEXTHDR, nhoff);
H A Dxfrm6_input.c34 skb_network_header(skb)[IP6CB(skb)->nhoff] =
52 return xfrm6_rcv_spi(skb, skb_network_header(skb)[IP6CB(skb)->nhoff],
H A Dreassembly.c253 struct frag_hdr *fhdr, int nhoff)
385 fq->nhoffset = nhoff;
422 unsigned int nhoff; local
485 nhoff = fq->nhoffset;
486 skb_network_header(head)[nhoff] = skb_transport_header(head)[0];
511 IP6CB(head)->nhoff = nhoff;
566 IP6CB(skb)->nhoff = (u8 *)fhdr - skb_network_header(skb);
579 ret = ip6_frag_queue(fq, skb, fhdr, IP6CB(skb)->nhoff);
252 ip6_frag_queue(struct frag_queue *fq, struct sk_buff *skb, struct frag_hdr *fhdr, int nhoff) argument
H A Dexthdrs.c298 opt->nhoff = dstbuf;
300 opt->nhoff = opt->dst1;
375 opt->nhoff = (&hdr->nexthdr) - skb_network_header(skb);
661 opt->nhoff = sizeof(struct ipv6hdr);
H A Dxfrm6_policy.c124 u8 nexthdr = nh[IP6CB(skb)->nhoff];
H A Dxfrm6_tunnel.c236 return skb_network_header(skb)[IP6CB(skb)->nhoff];
/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.c37 static bool ipv4_pkt_to_tuple(const struct sk_buff *skb, unsigned int nhoff, argument
42 ap = skb_header_pointer(skb, nhoff + offsetof(struct iphdr, saddr),
69 static int ipv4_get_l4proto(const struct sk_buff *skb, unsigned int nhoff, argument
75 iph = skb_header_pointer(skb, nhoff, sizeof(_iph), &_iph);
84 *dataoff = nhoff + (iph->ihl << 2);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv6/netfilter/
H A Dnf_conntrack_l3proto_ipv6.c40 static bool ipv6_pkt_to_tuple(const struct sk_buff *skb, unsigned int nhoff, argument
46 ap = skb_header_pointer(skb, nhoff + offsetof(struct ipv6hdr, saddr),
125 static int ipv6_get_l4proto(const struct sk_buff *skb, unsigned int nhoff, argument
128 unsigned int extoff = nhoff + sizeof(struct ipv6hdr);
132 if (skb_copy_bits(skb, nhoff + offsetof(struct ipv6hdr, nexthdr),
H A Dnf_conntrack_reasm.c188 const struct frag_hdr *fhdr, int nhoff)
314 fq->nhoffset = nhoff;
525 int fhoff, nhoff; local
535 if (find_prev_fhdr(skb, &prevhdr, &nhoff, &fhoff) < 0)
566 if (nf_ct_frag6_queue(fq, clone, fhdr, nhoff) < 0) {
187 nf_ct_frag6_queue(struct nf_ct_frag6_queue *fq, struct sk_buff *skb, const struct frag_hdr *fhdr, int nhoff) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dipv6.h249 __u16 nhoff; member in struct:inet6_skb_parm

Completed in 387 milliseconds