Home
last modified time | relevance | path

Searched refs:prevhdr (Results 1 – 8 of 8) sorted by relevance

/linux/net/ipv6/
H A Dnetfilter.c133 u8 *prevhdr, nexthdr = 0; in br_ip6_fragment() local
138 err = ip6_find_1stfragopt(skb, &prevhdr); in br_ip6_fragment()
142 nexthdr = *prevhdr; in br_ip6_fragment()
184 err = ip6_fraglist_init(skb, hlen, prevhdr, nexthdr, frag_id, in br_ip6_fragment()
217 LL_RESERVED_SPACE(skb->dev), prevhdr, nexthdr, frag_id, in br_ip6_fragment()
H A Dudp_offload.c26 u8 *packet_start, *prevhdr; in udp6_ufo_fragment() local
86 err = ip6_find_1stfragopt(skb, &prevhdr); in udp6_ufo_fragment()
90 nexthdr = *prevhdr; in udp6_ufo_fragment()
91 *prevhdr = NEXTHDR_FRAGMENT; in udp6_ufo_fragment()
H A Dxfrm6_output.c51 u8 prevhdr = ipv6_hdr(skb)->nexthdr; in xfrm6_noneed_fragment() local
53 if (prevhdr != NEXTHDR_FRAGMENT) in xfrm6_noneed_fragment()
H A Dip6_output.c700 int ip6_fraglist_init(struct sk_buff *skb, unsigned int hlen, u8 *prevhdr, in ip6_fraglist_init() argument
708 *prevhdr = NEXTHDR_FRAGMENT; in ip6_fraglist_init()
767 unsigned short needed_tailroom, int hdr_room, u8 *prevhdr, in ip6_frag_init() argument
770 state->prevhdr = prevhdr; in ip6_frag_init()
789 u8 *prevhdr = state->prevhdr, *fragnexthdr_offset; in ip6_frag_next() local
834 fragnexthdr_offset += prevhdr - skb_network_header(skb); in ip6_frag_next()
876 u8 *prevhdr, nexthdr = 0; in ip6_fragment() local
878 err = ip6_find_1stfragopt(skb, &prevhdr); in ip6_fragment()
882 nexthdr = *prevhdr; in ip6_fragment()
883 nexthdr_offset = prevhdr - skb_network_header(skb); in ip6_fragment()
[all …]
H A Dip6_offload.c116 u8 *prevhdr; in ipv6_gso_segment() local
175 int err = ip6_find_1stfragopt(skb, &prevhdr); in ipv6_gso_segment()
/linux/net/xfrm/
H A Dxfrm_output.c142 static int xfrm6_hdr_offset(struct xfrm_state *x, struct sk_buff *skb, u8 **prevhdr) in xfrm6_hdr_offset() argument
148 return mip6_rthdr_offset(skb, prevhdr, x->type->proto); in xfrm6_hdr_offset()
154 return ip6_find_1stfragopt(skb, prevhdr); in xfrm6_hdr_offset()
167 u8 *prevhdr; in xfrm6_transport_output() local
173 hdr_len = xfrm6_hdr_offset(x, skb, &prevhdr); in xfrm6_transport_output()
177 (prevhdr - x->props.header_len) - skb->data); in xfrm6_transport_output()
198 u8 *prevhdr; in xfrm6_ro_output() local
203 hdr_len = xfrm6_hdr_offset(x, skb, &prevhdr); in xfrm6_ro_output()
207 (prevhdr - x->props.header_len) - skb->data); in xfrm6_ro_output()
/linux/net/ipv6/netfilter/
H A Dnf_conntrack_reasm.c400 u8 prevhdr = NEXTHDR_IPV6; in find_prev_fhdr() local
424 prevhdr = nexthdr; in find_prev_fhdr()
435 *prevhdrp = prevhdr; in find_prev_fhdr()
450 u8 prevhdr; in nf_ct_frag6_gather() local
458 if (find_prev_fhdr(skb, &prevhdr, &nhoff, &fhoff) < 0) in nf_ct_frag6_gather()
/linux/include/net/
H A Dipv6.h177 int ip6_fraglist_init(struct sk_buff *skb, unsigned int hlen, u8 *prevhdr,
193 u8 *prevhdr; member
206 unsigned short needed_tailroom, int hdr_room, u8 *prevhdr,