Searched refs:fhdr (Results 1 – 2 of 2) sorted by relevance
/net/ipv6/ |
D | reassembly.c | 107 struct frag_hdr *fhdr, int nhoff, in ip6_frag_queue() argument 121 offset = ntohs(fhdr->frag_off) & ~0x7; in ip6_frag_queue() 123 ((u8 *)(fhdr + 1) - (u8 *)(ipv6_hdr(skb) + 1))); in ip6_frag_queue() 126 *prob_offset = (u8 *)&fhdr->frag_off - skb_network_header(skb); in ip6_frag_queue() 138 csum_partial(nh, (u8 *)(fhdr + 1) - nh, in ip6_frag_queue() 143 if (!(fhdr->frag_off & htons(IP6_MF))) { in ip6_frag_queue() 176 if (!pskb_pull(skb, (u8 *) (fhdr + 1) - skb->data)) in ip6_frag_queue() 323 struct frag_hdr *fhdr; in ipv6_frag_rcv() local 344 fhdr = (struct frag_hdr *)skb_transport_header(skb); in ipv6_frag_rcv() 346 if (!(fhdr->frag_off & htons(IP6_OFFSET | IP6_MF))) { in ipv6_frag_rcv() [all …]
|
/net/ipv6/netfilter/ |
D | nf_conntrack_reasm.c | 167 const struct frag_hdr *fhdr, int nhoff) in nf_ct_frag6_queue() argument 182 offset = ntohs(fhdr->frag_off) & ~0x7; in nf_ct_frag6_queue() 184 ((u8 *)(fhdr + 1) - (u8 *)(ipv6_hdr(skb) + 1))); in nf_ct_frag6_queue() 196 csum_partial(nh, (u8 *)(fhdr + 1) - nh, in nf_ct_frag6_queue() 201 if (!(fhdr->frag_off & htons(IP6_MF))) { in nf_ct_frag6_queue() 238 if (!pskb_pull(skb, (u8 *) (fhdr + 1) - skb->data)) { in nf_ct_frag6_queue() 442 struct frag_hdr *fhdr; in nf_ct_frag6_gather() local 464 if (!pskb_may_pull(skb, fhoff + sizeof(*fhdr))) in nf_ct_frag6_gather() 469 fhdr = (struct frag_hdr *)skb_transport_header(skb); in nf_ct_frag6_gather() 472 fq = fq_find(net, fhdr->identification, user, hdr, in nf_ct_frag6_gather() [all …]
|