Home
last modified time | relevance | path

Searched refs:fhdr (Results 1 – 2 of 2) sorted by relevance

/net/ipv6/
Dreassembly.c105 struct frag_hdr *fhdr, int nhoff, in ip6_frag_queue() argument
119 offset = ntohs(fhdr->frag_off) & ~0x7; in ip6_frag_queue()
121 ((u8 *)(fhdr + 1) - (u8 *)(ipv6_hdr(skb) + 1))); in ip6_frag_queue()
124 *prob_offset = (u8 *)&fhdr->frag_off - skb_network_header(skb); in ip6_frag_queue()
136 csum_partial(nh, (u8 *)(fhdr + 1) - nh, in ip6_frag_queue()
141 if (!(fhdr->frag_off & htons(IP6_MF))) { in ip6_frag_queue()
174 if (!pskb_pull(skb, (u8 *) (fhdr + 1) - skb->data)) in ip6_frag_queue()
321 struct frag_hdr *fhdr; in ipv6_frag_rcv() local
341 fhdr = (struct frag_hdr *)skb_transport_header(skb); in ipv6_frag_rcv()
343 if (!(fhdr->frag_off & htons(0xFFF9))) { in ipv6_frag_rcv()
[all …]
/net/ipv6/netfilter/
Dnf_conntrack_reasm.c170 const struct frag_hdr *fhdr, int nhoff) in nf_ct_frag6_queue() argument
185 offset = ntohs(fhdr->frag_off) & ~0x7; in nf_ct_frag6_queue()
187 ((u8 *)(fhdr + 1) - (u8 *)(ipv6_hdr(skb) + 1))); in nf_ct_frag6_queue()
199 csum_partial(nh, (u8 *)(fhdr + 1) - nh, in nf_ct_frag6_queue()
204 if (!(fhdr->frag_off & htons(IP6_MF))) { in nf_ct_frag6_queue()
241 if (!pskb_pull(skb, (u8 *) (fhdr + 1) - skb->data)) { in nf_ct_frag6_queue()
443 struct frag_hdr *fhdr; in nf_ct_frag6_gather() local
457 if (!pskb_may_pull(skb, fhoff + sizeof(*fhdr))) in nf_ct_frag6_gather()
462 fhdr = (struct frag_hdr *)skb_transport_header(skb); in nf_ct_frag6_gather()
465 fq = fq_find(net, fhdr->identification, user, hdr, in nf_ct_frag6_gather()
[all …]