Searched refs:fhdr (Results 1 – 5 of 5) sorted by relevance
| /linux/arch/powerpc/boot/ |
| H A D | hack-coff.c | 33 struct external_filehdr fhdr; in main() local 45 if (read(fd, &fhdr, sizeof(fhdr)) != sizeof(fhdr)) in main() 47 i = get_16be(fhdr.f_magic); in main() 52 aoutsz = get_16be(fhdr.f_opthdr); in main() 55 nsect = get_16be(fhdr.f_nscns); in main()
|
| /linux/net/ipv6/ |
| H 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() 131 *prob_offset = (u8 *)&fhdr->frag_off - skb_network_header(skb); 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() [all …]
|
| /linux/net/ipv6/netfilter/ |
| H 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 …]
|
| /linux/arch/powerpc/net/ |
| H A D | bpf_jit_comp.c | 120 struct bpf_binary_header *fhdr; member 143 struct bpf_binary_header *fhdr = NULL; in bpf_int_jit_compile() local 186 fhdr = jit_data->fhdr; in bpf_int_jit_compile() 189 image = (void *)hdr + ((void *)fimage - (void *)fhdr); in bpf_int_jit_compile() 251 fhdr = bpf_jit_binary_pack_alloc(alloclen, &fimage, 4, &hdr, &image, in bpf_int_jit_compile() 253 if (!fhdr) { in bpf_int_jit_compile() 273 bpf_arch_text_copy(&fhdr->size, &hdr->size, sizeof(hdr->size)); in bpf_int_jit_compile() 274 bpf_jit_binary_pack_free(fhdr, hdr); in bpf_int_jit_compile() 303 if (bpf_jit_binary_pack_finalize(fhdr, hdr)) { in bpf_int_jit_compile() 317 jit_data->fhdr = fhdr; in bpf_int_jit_compile() [all …]
|
| /linux/drivers/net/ethernet/emulex/benet/ |
| H A D | be_cmds.c | 3135 struct flash_file_hdr_g3 *fhdr) in be_check_ufi_compatibility() argument 3137 if (!fhdr) { in be_check_ufi_compatibility() 3145 switch (fhdr->build[0]) { in be_check_ufi_compatibility() 3167 if (BEx_chip(adapter) && fhdr->asic_type_rev == 0) in be_check_ufi_compatibility() 3170 return (fhdr->asic_type_rev >= adapter->asic_rev); in be_check_ufi_compatibility()
|