Searched refs:fhdr (Results 1 – 2 of 2) sorted by relevance
| /net/ipv6/ |
| A D | reassembly.c | 109 struct frag_hdr *fhdr, int nhoff, in ip6_frag_queue() argument 126 offset = ntohs(fhdr->frag_off) & ~0x7; in ip6_frag_queue() 128 ((u8 *)(fhdr + 1) - (u8 *)(ipv6_hdr(skb) + 1))); in ip6_frag_queue() 143 csum_partial(nh, (u8 *)(fhdr + 1) - nh, in ip6_frag_queue() 148 if (!(fhdr->frag_off & htons(IP6_MF))) { in ip6_frag_queue() 181 if (!pskb_pull(skb, (u8 *) (fhdr + 1) - skb->data)) in ip6_frag_queue() 329 struct frag_hdr *fhdr; in ipv6_frag_rcv() local 348 fhdr = (struct frag_hdr *)skb_transport_header(skb); in ipv6_frag_rcv() 350 if (!(fhdr->frag_off & htons(IP6_OFFSET | IP6_MF))) { in ipv6_frag_rcv() 356 IP6CB(skb)->nhoff = (u8 *)fhdr - skb_network_header(skb); in ipv6_frag_rcv() [all …]
|
| /net/ipv6/netfilter/ |
| A D | nf_conntrack_reasm.c | 171 const struct frag_hdr *fhdr, int nhoff, in nf_ct_frag6_queue() argument 187 offset = ntohs(fhdr->frag_off) & ~0x7; in nf_ct_frag6_queue() 189 ((u8 *)(fhdr + 1) - (u8 *)(ipv6_hdr(skb) + 1))); in nf_ct_frag6_queue() 201 csum_partial(nh, (u8 *)(fhdr + 1) - nh, in nf_ct_frag6_queue() 206 if (!(fhdr->frag_off & htons(IP6_MF))) { in nf_ct_frag6_queue() 243 if (!pskb_pull(skb, (u8 *) (fhdr + 1) - skb->data)) { in nf_ct_frag6_queue() 450 struct frag_hdr *fhdr; in nf_ct_frag6_gather() local 473 if (!pskb_may_pull(skb, fhoff + sizeof(*fhdr))) in nf_ct_frag6_gather() 478 fhdr = (struct frag_hdr *)skb_transport_header(skb); in nf_ct_frag6_gather() 481 fq = fq_find(net, fhdr->identification, user, hdr, in nf_ct_frag6_gather() [all …]
|
Completed in 4 milliseconds