Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/ipv6/
A Dnetfilter.c132 u8 *prevhdr, nexthdr = 0; in br_ip6_fragment() local
137 err = ip6_find_1stfragopt(skb, &prevhdr); in br_ip6_fragment()
141 nexthdr = *prevhdr; in br_ip6_fragment()
183 err = ip6_fraglist_init(skb, hlen, prevhdr, nexthdr, frag_id, in br_ip6_fragment()
216 LL_RESERVED_SPACE(skb->dev), prevhdr, nexthdr, frag_id, in br_ip6_fragment()
A Dudp_offload.c25 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()
A Dxfrm6_output.c51 u8 prevhdr = ipv6_hdr(skb)->nexthdr; in xfrm6_noneed_fragment() local
53 if (prevhdr != NEXTHDR_FRAGMENT) in xfrm6_noneed_fragment()
A Dip6_output.c689 *prevhdr = NEXTHDR_FRAGMENT; in ip6_fraglist_init()
748 unsigned short needed_tailroom, int hdr_room, u8 *prevhdr, in ip6_frag_init() argument
751 state->prevhdr = prevhdr; in ip6_frag_init()
770 u8 *prevhdr = state->prevhdr, *fragnexthdr_offset; in ip6_frag_next() local
815 fragnexthdr_offset += prevhdr - skb_network_header(skb); in ip6_frag_next()
857 u8 *prevhdr, nexthdr = 0; in ip6_fragment() local
859 err = ip6_find_1stfragopt(skb, &prevhdr); in ip6_fragment()
863 nexthdr = *prevhdr; in ip6_fragment()
864 nexthdr_offset = prevhdr - skb_network_header(skb); in ip6_fragment()
899 prevhdr = skb_network_header(skb) + nexthdr_offset; in ip6_fragment()
[all …]
A Dip6_offload.c83 u8 *prevhdr; in ipv6_gso_segment() local
142 int err = ip6_find_1stfragopt(skb, &prevhdr); in ipv6_gso_segment()
/linux-6.3-rc2/net/xfrm/
A Dxfrm_output.c141 static int xfrm6_hdr_offset(struct xfrm_state *x, struct sk_buff *skb, u8 **prevhdr) in xfrm6_hdr_offset() argument
147 return mip6_rthdr_offset(skb, prevhdr, x->type->proto); in xfrm6_hdr_offset()
153 return ip6_find_1stfragopt(skb, prevhdr); in xfrm6_hdr_offset()
166 u8 *prevhdr; in xfrm6_transport_output() local
172 hdr_len = xfrm6_hdr_offset(x, skb, &prevhdr); in xfrm6_transport_output()
176 (prevhdr - x->props.header_len) - skb->data); in xfrm6_transport_output()
197 u8 *prevhdr; in xfrm6_ro_output() local
202 hdr_len = xfrm6_hdr_offset(x, skb, &prevhdr); in xfrm6_ro_output()
206 (prevhdr - x->props.header_len) - skb->data); in xfrm6_ro_output()
/linux-6.3-rc2/net/ipv6/netfilter/
A Dnf_conntrack_reasm.c395 u8 prevhdr = NEXTHDR_IPV6; in find_prev_fhdr() local
419 prevhdr = nexthdr; in find_prev_fhdr()
430 *prevhdrp = prevhdr; in find_prev_fhdr()
445 u8 prevhdr; in nf_ct_frag6_gather() local
453 if (find_prev_fhdr(skb, &prevhdr, &nhoff, &fhoff) < 0) in nf_ct_frag6_gather()
/linux-6.3-rc2/include/net/
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,

Completed in 17 milliseconds