Lines Matching refs:prevhdr
668 int ip6_fraglist_init(struct sk_buff *skb, unsigned int hlen, u8 *prevhdr, in ip6_fraglist_init() argument
676 *prevhdr = NEXTHDR_FRAGMENT; in ip6_fraglist_init()
735 unsigned short needed_tailroom, int hdr_room, u8 *prevhdr, in ip6_frag_init() argument
738 state->prevhdr = prevhdr; in ip6_frag_init()
757 u8 *prevhdr = state->prevhdr, *fragnexthdr_offset; in ip6_frag_next() local
802 fragnexthdr_offset += prevhdr - skb_network_header(skb); in ip6_frag_next()
843 u8 *prevhdr, nexthdr = 0; in ip6_fragment() local
845 err = ip6_find_1stfragopt(skb, &prevhdr); in ip6_fragment()
849 nexthdr = *prevhdr; in ip6_fragment()
850 nexthdr_offset = prevhdr - skb_network_header(skb); in ip6_fragment()
885 prevhdr = skb_network_header(skb) + nexthdr_offset; in ip6_fragment()
917 err = ip6_fraglist_init(skb, hlen, prevhdr, nexthdr, frag_id, in ip6_fragment()
975 LL_RESERVED_SPACE(rt->dst.dev), prevhdr, nexthdr, frag_id, in ip6_fragment()