Searched refs:fhdr (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/arch/powerpc/boot/ |
D | hack-coff.c | 37 struct external_filehdr fhdr; in main() local 49 if (read(fd, &fhdr, sizeof(fhdr)) != sizeof(fhdr)) in main() 51 i = get_16be(fhdr.f_magic); in main() 56 aoutsz = get_16be(fhdr.f_opthdr); in main() 59 nsect = get_16be(fhdr.f_nscns); in main()
|
/Linux-v4.19/net/ipv6/ |
D | reassembly.c | 111 struct frag_hdr *fhdr, int nhoff, in ip6_frag_queue() argument 123 offset = ntohs(fhdr->frag_off) & ~0x7; in ip6_frag_queue() 125 ((u8 *)(fhdr + 1) - (u8 *)(ipv6_hdr(skb) + 1))); in ip6_frag_queue() 128 *prob_offset = (u8 *)&fhdr->frag_off - skb_network_header(skb); in ip6_frag_queue() 137 csum_partial(nh, (u8 *)(fhdr + 1) - nh, in ip6_frag_queue() 142 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() 426 struct frag_hdr *fhdr; in ipv6_frag_rcv() local 446 fhdr = (struct frag_hdr *)skb_transport_header(skb); in ipv6_frag_rcv() 448 if (!(fhdr->frag_off & htons(0xFFF9))) { in ipv6_frag_rcv() [all …]
|
/Linux-v4.19/net/ipv6/netfilter/ |
D | nf_conntrack_reasm.c | 178 const struct frag_hdr *fhdr, int nhoff) in nf_ct_frag6_queue() argument 192 offset = ntohs(fhdr->frag_off) & ~0x7; in nf_ct_frag6_queue() 194 ((u8 *)(fhdr + 1) - (u8 *)(ipv6_hdr(skb) + 1))); in nf_ct_frag6_queue() 206 csum_partial(nh, (u8 *)(fhdr + 1) - nh, in nf_ct_frag6_queue() 211 if (!(fhdr->frag_off & htons(IP6_MF))) { in nf_ct_frag6_queue() 248 if (!pskb_pull(skb, (u8 *) (fhdr + 1) - skb->data)) { in nf_ct_frag6_queue() 541 struct frag_hdr *fhdr; in nf_ct_frag6_gather() local 555 if (!pskb_may_pull(skb, fhoff + sizeof(*fhdr))) in nf_ct_frag6_gather() 560 fhdr = (struct frag_hdr *)skb_transport_header(skb); in nf_ct_frag6_gather() 563 fhdr->frag_off & htons(IP6_MF)) in nf_ct_frag6_gather() [all …]
|
/Linux-v4.19/drivers/net/wireless/intersil/hostap/ |
D | hostap_80211_rx.c | 71 struct ieee80211_hdr *fhdr; in prism2_rx_80211() local 92 fhdr = (struct ieee80211_hdr *) skb->data; in prism2_rx_80211() 93 fc = le16_to_cpu(fhdr->frame_control); in prism2_rx_80211() 102 hdrlen = hostap_80211_get_hdrlen(fhdr->frame_control); in prism2_rx_80211()
|
/Linux-v4.19/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.c | 3134 struct flash_file_hdr_g3 *fhdr) in be_check_ufi_compatibility() argument 3136 if (!fhdr) { in be_check_ufi_compatibility() 3144 switch (fhdr->build[0]) { in be_check_ufi_compatibility() 3166 if (BEx_chip(adapter) && fhdr->asic_type_rev == 0) in be_check_ufi_compatibility() 3169 return (fhdr->asic_type_rev >= adapter->asic_rev); in be_check_ufi_compatibility()
|