Home
last modified time | relevance | path

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

/net/ipv6/
Dudp_offload.c24 u8 *packet_start, *prevhdr; in udp6_ufo_fragment() local
84 err = ip6_find_1stfragopt(skb, &prevhdr); in udp6_ufo_fragment()
88 nexthdr = *prevhdr; in udp6_ufo_fragment()
89 *prevhdr = NEXTHDR_FRAGMENT; in udp6_ufo_fragment()
Dnetfilter.c124 u8 *prevhdr, nexthdr = 0; in br_ip6_fragment() local
129 err = ip6_find_1stfragopt(skb, &prevhdr); in br_ip6_fragment()
133 nexthdr = *prevhdr; in br_ip6_fragment()
175 err = ip6_fraglist_init(skb, hlen, prevhdr, nexthdr, frag_id, in br_ip6_fragment()
208 LL_RESERVED_SPACE(skb->dev), prevhdr, nexthdr, frag_id, in br_ip6_fragment()
Dip6_output.c599 int ip6_fraglist_init(struct sk_buff *skb, unsigned int hlen, u8 *prevhdr, in ip6_fraglist_init() argument
607 *prevhdr = NEXTHDR_FRAGMENT; in ip6_fraglist_init()
666 unsigned short needed_tailroom, int hdr_room, u8 *prevhdr, in ip6_frag_init() argument
669 state->prevhdr = prevhdr; in ip6_frag_init()
688 u8 *prevhdr = state->prevhdr, *fragnexthdr_offset; in ip6_frag_next() local
733 fragnexthdr_offset += prevhdr - skb_network_header(skb); in ip6_frag_next()
774 u8 *prevhdr, nexthdr = 0; in ip6_fragment() local
776 err = ip6_find_1stfragopt(skb, &prevhdr); in ip6_fragment()
780 nexthdr = *prevhdr; in ip6_fragment()
781 nexthdr_offset = prevhdr - skb_network_header(skb); in ip6_fragment()
[all …]
Dxfrm6_output.c20 u8 **prevhdr) in xfrm6_find_1stfragopt() argument
22 return ip6_find_1stfragopt(skb, prevhdr); in xfrm6_find_1stfragopt()
Dip6_offload.c80 u8 *prevhdr; in ipv6_gso_segment() local
134 int err = ip6_find_1stfragopt(skb, &prevhdr); in ipv6_gso_segment()
/net/ipv6/netfilter/
Dnf_conntrack_reasm.c397 u8 prevhdr = NEXTHDR_IPV6; in find_prev_fhdr() local
421 prevhdr = nexthdr; in find_prev_fhdr()
432 *prevhdrp = prevhdr; in find_prev_fhdr()
446 u8 prevhdr; in nf_ct_frag6_gather() local
454 if (find_prev_fhdr(skb, &prevhdr, &nhoff, &fhoff) < 0) in nf_ct_frag6_gather()
/net/xfrm/
Dxfrm_output.c83 u8 *prevhdr; in xfrm6_transport_output() local
89 hdr_len = x->type->hdr_offset(x, skb, &prevhdr); in xfrm6_transport_output()
93 (prevhdr - x->props.header_len) - skb->data); in xfrm6_transport_output()
114 u8 *prevhdr; in xfrm6_ro_output() local
119 hdr_len = x->type->hdr_offset(x, skb, &prevhdr); in xfrm6_ro_output()
123 (prevhdr - x->props.header_len) - skb->data); in xfrm6_ro_output()