Home
last modified time | relevance | path

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

/linux-4.1.27/arch/powerpc/boot/
Dhack-coff.c37 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-4.1.27/net/ipv6/netfilter/
Dnf_conntrack_reasm.c220 const struct frag_hdr *fhdr, int nhoff) in nf_ct_frag6_queue() argument
234 offset = ntohs(fhdr->frag_off) & ~0x7; in nf_ct_frag6_queue()
236 ((u8 *)(fhdr + 1) - (u8 *)(ipv6_hdr(skb) + 1))); in nf_ct_frag6_queue()
248 csum_partial(nh, (u8 *)(fhdr + 1) - nh, in nf_ct_frag6_queue()
253 if (!(fhdr->frag_off & htons(IP6_MF))) { in nf_ct_frag6_queue()
289 if (!pskb_pull(skb, (u8 *) (fhdr + 1) - skb->data)) { in nf_ct_frag6_queue()
573 struct frag_hdr *fhdr; in nf_ct_frag6_gather() local
597 if (!pskb_may_pull(clone, fhoff + sizeof(*fhdr))) { in nf_ct_frag6_gather()
604 fhdr = (struct frag_hdr *)skb_transport_header(clone); in nf_ct_frag6_gather()
606 fq = fq_find(net, fhdr->identification, user, &hdr->saddr, &hdr->daddr, in nf_ct_frag6_gather()
[all …]
/linux-4.1.27/net/ipv6/
Dreassembly.c210 struct frag_hdr *fhdr, int nhoff) in ip6_frag_queue() argument
221 offset = ntohs(fhdr->frag_off) & ~0x7; in ip6_frag_queue()
223 ((u8 *)(fhdr + 1) - (u8 *)(ipv6_hdr(skb) + 1))); in ip6_frag_queue()
229 ((u8 *)&fhdr->frag_off - in ip6_frag_queue()
239 csum_partial(nh, (u8 *)(fhdr + 1) - nh, in ip6_frag_queue()
244 if (!(fhdr->frag_off & htons(IP6_MF))) { in ip6_frag_queue()
279 if (!pskb_pull(skb, (u8 *) (fhdr + 1) - skb->data)) in ip6_frag_queue()
525 struct frag_hdr *fhdr; in ipv6_frag_rcv() local
544 fhdr = (struct frag_hdr *)skb_transport_header(skb); in ipv6_frag_rcv()
546 if (!(fhdr->frag_off & htons(0xFFF9))) { in ipv6_frag_rcv()
[all …]
Doutput_core.c63 void ipv6_select_ident(struct net *net, struct frag_hdr *fhdr, in ipv6_select_ident() argument
73 fhdr->identification = htonl(id); in ipv6_select_ident()
Dip6_output.c1074 struct frag_hdr fhdr; in ip6_ufo_append_data() local
1116 ipv6_select_ident(sock_net(sk), &fhdr, rt); in ip6_ufo_append_data()
1117 skb_shinfo(skb)->ip6_frag_id = fhdr.identification; in ip6_ufo_append_data()
/linux-4.1.27/drivers/net/wireless/hostap/
Dhostap_80211_rx.c70 struct ieee80211_hdr *fhdr; in prism2_rx_80211() local
91 fhdr = (struct ieee80211_hdr *) skb->data; in prism2_rx_80211()
92 fc = le16_to_cpu(fhdr->frame_control); in prism2_rx_80211()
101 hdrlen = hostap_80211_get_hdrlen(fhdr->frame_control); in prism2_rx_80211()
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
Dbe_main.c4676 struct flash_file_hdr_g3 *fhdr) in be_get_ufi_type() argument
4678 if (!fhdr) { in be_get_ufi_type()
4686 switch (fhdr->build[0]) { in be_get_ufi_type()
4688 return (fhdr->asic_type_rev == ASIC_REV_P2) ? SH_P2_UFI : in be_get_ufi_type()
4691 return (fhdr->asic_type_rev == ASIC_REV_B0) ? BE3R_UFI : in be_get_ufi_type()
4706 struct flash_file_hdr_g3 *fhdr) in be_check_ufi_compatibility() argument
4708 int ufi_type = be_get_ufi_type(adapter, fhdr); in be_check_ufi_compatibility()
/linux-4.1.27/include/net/
Dipv6.h692 void ipv6_select_ident(struct net *net, struct frag_hdr *fhdr,