Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/boot/
H A Dhack-coff.c33 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()
/openbmc/u-boot/tools/
H A Dimx8mimage.c366 imx_header[index].fhdr.header.tag); in dump_header_v2()
368 imx_header[index].fhdr.header.length); in dump_header_v2()
370 imx_header[index].fhdr.header.version); in dump_header_v2()
372 imx_header[index].fhdr.entry); in dump_header_v2()
374 imx_header[index].fhdr.reserved1); in dump_header_v2()
376 imx_header[index].fhdr.dcd_ptr); in dump_header_v2()
378 imx_header[index].fhdr.boot_data_ptr); in dump_header_v2()
380 imx_header[index].fhdr.self); in dump_header_v2()
382 imx_header[index].fhdr.csf); in dump_header_v2()
384 imx_header[index].fhdr.reserved2); in dump_header_v2()
[all …]
H A Dimximage.c115 flash_header_v1_t *fhdr_v1 = &hdr_v1->fhdr; in detect_imximage_version()
116 flash_header_v2_t *fhdr_v2 = &hdr_v2->fhdr; in detect_imximage_version()
303 flash_header_v1_t *fhdr_v1 = &hdr_v1->fhdr; in set_imx_hdr_v1()
329 flash_header_v2_t *fhdr_v2 = &hdr_v2->fhdr; in set_imx_hdr_v2()
400 next_fhdr_v2 = &next_hdr_v2->fhdr; in set_imx_hdr_v2()
454 flash_header_v1_t *fhdr_v1 = &hdr_v1->fhdr; in print_hdr_v1()
482 flash_header_v2_t *fhdr_v2 = &hdr_v2->fhdr; in print_hdr_v2()
545 next_fhdr_v2 = &next_hdr_v2->fhdr; in print_hdr_v2()
H A Dimx8image.c697 flash_header_v3_t *fhdr_v3 = &imxhdr->fhdr[cont_id]; in set_imx_hdr_v3()
716 flash_header_v3_t *container = &imx_header->fhdr[i]; in flatten_container_header()
745 flash_header_v3_t *container = &imx_header->fhdr[i]; in flatten_container_header()
824 set_image_array_entry(&imx_header.fhdr[container], in build_container()
841 set_image_array_entry(&imx_header.fhdr[container], in build_container()
855 set_container(&imx_header.fhdr[container], sw_version, in build_container()
/openbmc/linux/net/ipv6/
H A Dreassembly.c107 struct frag_hdr *fhdr, int nhoff, in ip6_frag_queue() argument
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->frag_off & htons(IP6_OFFSET | IP6_MF))) { in ipv6_frag_rcv()
[all …]
/openbmc/linux/net/ipv6/netfilter/
H A Dnf_conntrack_reasm.c171 const struct frag_hdr *fhdr, int nhoff) in nf_ct_frag6_queue() argument
186 offset = ntohs(fhdr->frag_off) & ~0x7; in nf_ct_frag6_queue()
188 ((u8 *)(fhdr + 1) - (u8 *)(ipv6_hdr(skb) + 1))); in nf_ct_frag6_queue()
200 csum_partial(nh, (u8 *)(fhdr + 1) - nh, in nf_ct_frag6_queue()
205 if (!(fhdr->frag_off & htons(IP6_MF))) { in nf_ct_frag6_queue()
242 if (!pskb_pull(skb, (u8 *) (fhdr + 1) - skb->data)) { in nf_ct_frag6_queue()
448 struct frag_hdr *fhdr; in nf_ct_frag6_gather() local
470 if (!pskb_may_pull(skb, fhoff + sizeof(*fhdr))) in nf_ct_frag6_gather()
475 fhdr = (struct frag_hdr *)skb_transport_header(skb); in nf_ct_frag6_gather()
477 fq = fq_find(net, fhdr->identification, user, hdr, in nf_ct_frag6_gather()
[all …]
/openbmc/u-boot/include/
H A Dimximage.h130 flash_header_v1_t fhdr; member
181 flash_header_v2_t fhdr; member
190 flash_header_v2_t fhdr; member
H A Dimx8image.h137 flash_header_v3_t fhdr[MAX_NUM_OF_CONTAINER]; member
/openbmc/u-boot/tools/binman/
H A Dftest.py1302 fhdr, fentries = fmap_util.DecodeFmap(data[32:])
1305 self.assertEqual('__FMAP__', fhdr.signature)
1306 self.assertEqual(1, fhdr.ver_major)
1307 self.assertEqual(0, fhdr.ver_minor)
1308 self.assertEqual(0, fhdr.base)
1311 fmap_util.FMAP_AREA_LEN * 3, fhdr.image_size)
1312 self.assertEqual('FMAP', fhdr.name)
1313 self.assertEqual(3, fhdr.nareas)
1694 fhdr, fentries = fmap_util.DecodeFmap(data[32:])
1697 fhdr, fentries = fmap_util.DecodeFmap(data[32:])
[all …]
/openbmc/linux/drivers/net/wireless/intersil/hostap/
H A Dhostap_80211_rx.c71 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()
/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c3131 struct flash_file_hdr_g3 *fhdr) in be_check_ufi_compatibility() argument
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()