/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
H A D | nf_conntrack_reasm.c | 170 const struct frag_hdr *fhdr, int nhoff) in nf_ct_frag6_queue() 185 offset = ntohs(fhdr->frag_off) & ~0x7; in nf_ct_frag6_queue() 187 ((u8 *)(fhdr + 1) - (u8 *)(ipv6_hdr(skb) + 1))); in nf_ct_frag6_queue() 199 csum_partial(nh, (u8 *)(fhdr + 1) - nh, in nf_ct_frag6_queue() 204 if (!(fhdr->frag_off & htons(IP6_MF))) { in nf_ct_frag6_queue() 241 if (!pskb_pull(skb, (u8 *) (fhdr + 1) - skb->data)) { in nf_ct_frag6_queue() 445 struct frag_hdr *fhdr; in nf_ct_frag6_gather() local 467 if (!pskb_may_pull(skb, fhoff + sizeof(*fhdr))) in nf_ct_frag6_gather() 472 fhdr = (struct frag_hdr *)skb_transport_header(skb); in nf_ct_frag6_gather() 475 fq = fq_find(net, fhdr in nf_ct_frag6_gather() 169 nf_ct_frag6_queue(struct frag_queue *fq, struct sk_buff *skb, const struct frag_hdr *fhdr, int nhoff) nf_ct_frag6_queue() argument [all...] |
/kernel/linux/linux-6.6/net/ipv6/netfilter/ |
H A D | nf_conntrack_reasm.c | 167 const struct frag_hdr *fhdr, int nhoff) in nf_ct_frag6_queue() 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() 443 struct frag_hdr *fhdr; in nf_ct_frag6_gather() local 465 if (!pskb_may_pull(skb, fhoff + sizeof(*fhdr))) in nf_ct_frag6_gather() 470 fhdr = (struct frag_hdr *)skb_transport_header(skb); in nf_ct_frag6_gather() 473 fq = fq_find(net, fhdr in nf_ct_frag6_gather() 166 nf_ct_frag6_queue(struct frag_queue *fq, struct sk_buff *skb, const struct frag_hdr *fhdr, int nhoff) nf_ct_frag6_queue() argument [all...] |
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | reassembly.c | 107 struct frag_hdr *fhdr, int nhoff, in ip6_frag_queue() 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 in ipv6_frag_rcv() 106 ip6_frag_queue(struct frag_queue *fq, struct sk_buff *skb, struct frag_hdr *fhdr, int nhoff, u32 *prob_offset) ip6_frag_queue() argument [all...] |
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | reassembly.c | 107 struct frag_hdr *fhdr, int nhoff, in ip6_frag_queue() 125 offset = ntohs(fhdr->frag_off) & ~0x7; in ip6_frag_queue() 127 ((u8 *)(fhdr + 1) - (u8 *)(ipv6_hdr(skb) + 1))); in ip6_frag_queue() 130 *prob_offset = (u8 *)&fhdr->frag_off - skb_network_header(skb); in ip6_frag_queue() 142 csum_partial(nh, (u8 *)(fhdr + 1) - nh, in ip6_frag_queue() 147 if (!(fhdr->frag_off & htons(IP6_MF))) { in ip6_frag_queue() 180 if (!pskb_pull(skb, (u8 *) (fhdr + 1) - skb->data)) in ip6_frag_queue() 329 struct frag_hdr *fhdr; in ipv6_frag_rcv() local 350 fhdr = (struct frag_hdr *)skb_transport_header(skb); in ipv6_frag_rcv() 352 if (!(fhdr in ipv6_frag_rcv() 106 ip6_frag_queue(struct frag_queue *fq, struct sk_buff *skb, struct frag_hdr *fhdr, int nhoff, u32 *prob_offset) ip6_frag_queue() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/hostap/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/emulex/benet/ |
H A D | be_cmds.c | 3130 struct flash_file_hdr_g3 *fhdr) in be_check_ufi_compatibility() 3132 if (!fhdr) { in be_check_ufi_compatibility() 3140 switch (fhdr->build[0]) { in be_check_ufi_compatibility() 3162 if (BEx_chip(adapter) && fhdr->asic_type_rev == 0) in be_check_ufi_compatibility() 3165 return (fhdr->asic_type_rev >= adapter->asic_rev); in be_check_ufi_compatibility() 3129 be_check_ufi_compatibility(struct be_adapter *adapter, struct flash_file_hdr_g3 *fhdr) be_check_ufi_compatibility() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/emulex/benet/ |
H A D | be_cmds.c | 3131 struct flash_file_hdr_g3 *fhdr) in be_check_ufi_compatibility() 3133 if (!fhdr) { in be_check_ufi_compatibility() 3141 switch (fhdr->build[0]) { in be_check_ufi_compatibility() 3163 if (BEx_chip(adapter) && fhdr->asic_type_rev == 0) in be_check_ufi_compatibility() 3166 return (fhdr->asic_type_rev >= adapter->asic_rev); in be_check_ufi_compatibility() 3130 be_check_ufi_compatibility(struct be_adapter *adapter, struct flash_file_hdr_g3 *fhdr) be_check_ufi_compatibility() argument
|