Home
last modified time | relevance | path

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

/linux/net/ipv6/netfilter/
H A Dnf_conntrack_reasm.c171 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()
451 struct frag_hdr *fhdr; in nf_ct_frag6_gather() local
474 if (!pskb_may_pull(skb, fhoff + sizeof(*fhdr))) in nf_ct_frag6_gather()
479 fhdr = (struct frag_hdr *)skb_transport_header(skb); in nf_ct_frag6_gather()
482 fq = fq_find(net, fhdr->identification, user, hdr, in nf_ct_frag6_gather()
[all …]
/linux/arch/powerpc/net/
H A Dbpf_jit_comp.c120 struct bpf_binary_header *fhdr; member
178 struct bpf_binary_header *fhdr = NULL; in bpf_int_jit_compile() local
225 fhdr = jit_data->fhdr; in bpf_int_jit_compile()
228 image = (void *)hdr + ((void *)fimage - (void *)fhdr); in bpf_int_jit_compile()
297 fhdr = bpf_jit_binary_pack_alloc(alloclen, &fimage, 4, &hdr, &image, in bpf_int_jit_compile()
299 if (!fhdr) in bpf_int_jit_compile()
317 bpf_arch_text_copy(&fhdr->size, &hdr->size, sizeof(hdr->size)); in bpf_int_jit_compile()
318 bpf_jit_binary_pack_free(fhdr, hdr); in bpf_int_jit_compile()
342 if (bpf_jit_binary_pack_finalize(fhdr, hdr)) in bpf_int_jit_compile()
373 jit_data->fhdr = fhdr; in bpf_int_jit_compile()
[all …]