Home
last modified time | relevance | path

Searched refs:frag_hdr (Results 1 – 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/net/ieee802154/6lowpan/
Dtx.c138 u8 *frag_hdr, int frag_hdrlen, in lowpan_xmit_fragment() argument
143 raw_dump_inline(__func__, " fragment header", frag_hdr, frag_hdrlen); in lowpan_xmit_fragment()
149 skb_put_data(frag, frag_hdr, frag_hdrlen); in lowpan_xmit_fragment()
163 u8 frag_hdr[5]; in lowpan_xmit_fragmented() local
170 frag_hdr[0] = LOWPAN_DISPATCH_FRAG1 | ((dgram_size >> 8) & 0x07); in lowpan_xmit_fragmented()
171 frag_hdr[1] = dgram_size & 0xff; in lowpan_xmit_fragmented()
172 memcpy(frag_hdr + 2, &frag_tag, sizeof(frag_tag)); in lowpan_xmit_fragmented()
182 rc = lowpan_xmit_fragment(skb, wpan_hdr, frag_hdr, in lowpan_xmit_fragmented()
192 frag_hdr[0] &= ~LOWPAN_DISPATCH_FRAG1; in lowpan_xmit_fragmented()
193 frag_hdr[0] |= LOWPAN_DISPATCH_FRAGN; in lowpan_xmit_fragmented()
[all …]
/kernel/linux/linux-5.10/net/ipv6/
Dreassembly.c107 struct frag_hdr *fhdr, int nhoff, in ip6_frag_queue()
271 sizeof(struct frag_hdr)); in ip6_frag_reasm()
279 memmove(skb->head + sizeof(struct frag_hdr), skb->head, in ip6_frag_reasm()
280 (skb->data - skb->head) - sizeof(struct frag_hdr)); in ip6_frag_reasm()
282 skb->mac_header += sizeof(struct frag_hdr); in ip6_frag_reasm()
283 skb->network_header += sizeof(struct frag_hdr); in ip6_frag_reasm()
323 struct frag_hdr *fhdr; in ipv6_frag_rcv()
340 sizeof(struct frag_hdr)))) in ipv6_frag_rcv()
344 fhdr = (struct frag_hdr *)skb_transport_header(skb); in ipv6_frag_rcv()
348 skb->transport_header += sizeof(struct frag_hdr); in ipv6_frag_rcv()
Dnetfilter.c143 if (mtu < hlen + sizeof(struct frag_hdr) + 8) in br_ip6_fragment()
145 mtu -= hlen + sizeof(struct frag_hdr); in br_ip6_fragment()
161 skb_headroom(skb) < (hroom + sizeof(struct frag_hdr))) in br_ip6_fragment()
169 skb_headroom(frag2) < (hlen + hroom + sizeof(struct frag_hdr))) in br_ip6_fragment()
Dudp_offload.c23 struct frag_hdr *fptr; in udp6_ufo_fragment()
26 u8 frag_hdr_sz = sizeof(struct frag_hdr); in udp6_ufo_fragment()
99 fptr = (struct frag_hdr *)(skb_network_header(skb) + unfrag_ip6hlen); in udp6_ufo_fragment()
Dip6_output.c673 struct frag_hdr *fh; in ip6_fraglist_init()
690 fh = __skb_push(skb, sizeof(struct frag_hdr)); in ip6_fraglist_init()
714 struct frag_hdr *fh; in ip6_fraglist_prepare()
718 fh = __skb_push(frag, sizeof(struct frag_hdr)); in ip6_fraglist_prepare()
722 iter->offset += skb->len - hlen - sizeof(struct frag_hdr); in ip6_fraglist_prepare()
759 struct frag_hdr *fh; in ip6_frag_next()
772 frag = alloc_skb(len + state->hlen + sizeof(struct frag_hdr) + in ip6_frag_next()
783 skb_put(frag, len + state->hlen + sizeof(struct frag_hdr)); in ip6_frag_next()
785 fh = (struct frag_hdr *)(skb_network_header(frag) + state->hlen); in ip6_frag_next()
787 sizeof(struct frag_hdr)); in ip6_frag_next()
[all …]
Dxfrm6_output.c57 struct frag_hdr *fh; in xfrm6_noneed_fragment()
62 fh = (struct frag_hdr *)(skb->data + sizeof(struct ipv6hdr)); in xfrm6_noneed_fragment()
Dexthdrs_core.c91 start+offsetof(struct frag_hdr, in ipv6_skip_exthdr()
241 start+offsetof(struct frag_hdr, in ipv6_find_hdr()
Dip6_offload.c80 struct frag_hdr *fptr; in ipv6_gso_segment()
143 fptr = (struct frag_hdr *)((u8 *)ipv6h + err); in ipv6_gso_segment()
148 sizeof(struct frag_hdr)); in ipv6_gso_segment()
Dip6_tunnel.c441 struct frag_hdr *frag_hdr = (struct frag_hdr *) hdr; in ip6_tnl_parse_tlv_enc_lim() local
442 if (frag_hdr->frag_off) in ip6_tnl_parse_tlv_enc_lim()
Dtcp_ipv6.c1884 .net_frag_header_len = sizeof(struct frag_hdr),
/kernel/linux/linux-5.10/net/ipv6/netfilter/
Dnf_conntrack_reasm.c170 const struct frag_hdr *fhdr, int nhoff) in nf_ct_frag6_queue()
334 sizeof(struct frag_hdr)); in nf_ct_frag6_reasm()
344 memmove(skb->head + sizeof(struct frag_hdr), skb->head, in nf_ct_frag6_reasm()
345 (skb->data - skb->head) - sizeof(struct frag_hdr)); in nf_ct_frag6_reasm()
346 skb->mac_header += sizeof(struct frag_hdr); in nf_ct_frag6_reasm()
347 skb->network_header += sizeof(struct frag_hdr); in nf_ct_frag6_reasm()
445 struct frag_hdr *fhdr; in nf_ct_frag6_gather()
472 fhdr = (struct frag_hdr *)skb_transport_header(skb); in nf_ct_frag6_gather()
Dip6t_frag.c37 struct frag_hdr _frag; in frag_mt6()
38 const struct frag_hdr *fh; in frag_mt6()
Dnf_log_ipv6.c89 struct frag_hdr _fhdr; in dump_ipv6_packet()
90 const struct frag_hdr *fh; in dump_ipv6_packet()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/ipw2x00/
Dlibipw_tx.c245 struct libipw_hdr_3addrqos *frag_hdr; in libipw_xmit() local
428 frag_hdr = skb_put(skb_frag, hdr_len); in libipw_xmit()
435 memcpy(frag_hdr, &header, hdr_len); in libipw_xmit()
458 frag_hdr = skb_put_data(skb_frag, &header, hdr_len); in libipw_xmit()
463 frag_hdr->frame_ctl = in libipw_xmit()
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/
Drtllib_tx.c553 struct rtllib_hdr_3addrqos *frag_hdr; in rtllib_xmit_inter() local
804 frag_hdr = skb_put_data(skb_frag, &header, hdr_len); in rtllib_xmit_inter()
810 frag_hdr->frame_ctl = cpu_to_le16( in rtllib_xmit_inter()
819 frag_hdr->seq_ctl = in rtllib_xmit_inter()
822 frag_hdr->seq_ctl = in rtllib_xmit_inter()
823 cpu_to_le16(le16_to_cpu(frag_hdr->seq_ctl)<<4 | i); in rtllib_xmit_inter()
825 frag_hdr->seq_ctl = in rtllib_xmit_inter()
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/
Dieee80211_tx.c533 struct rtl_80211_hdr_3addrqos *frag_hdr; in ieee80211_xmit() local
721 frag_hdr = skb_put_data(skb_frag, &header, hdr_len); in ieee80211_xmit()
727 frag_hdr->frame_ctl = cpu_to_le16( in ieee80211_xmit()
738 frag_hdr->seq_ctl = cpu_to_le16(ieee->seq_ctrl[UP2AC(skb->priority) + 1] << 4 | i); in ieee80211_xmit()
740 frag_hdr->seq_ctl = cpu_to_le16(ieee->seq_ctrl[0] << 4 | i); in ieee80211_xmit()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c71 struct frag_hdr { struct
257 sizeof(struct frag_hdr),
282 sizeof(struct frag_hdr),
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dbpf_flow.c53 struct frag_hdr { struct
353 struct frag_hdr *fragh, _fragh; in PROG()
/kernel/liteos_a/net/lwip-2.1/enhancement/src/
Dapi_shell.c2762 struct ip6_frag_hdr *frag_hdr = NULL; local
2801 frag_hdr = (struct ip6_frag_hdr *)udpbuf->payload;
2802 nexth = frag_hdr->_nexth;
/kernel/linux/linux-5.10/include/net/
Dipv6.h144 struct frag_hdr { struct
/kernel/linux/linux-5.10/net/core/
Dskbuff.c5001 struct frag_hdr *hp; in skb_checksum_setup_ipv6()
5005 sizeof(struct frag_hdr), in skb_checksum_setup_ipv6()
5010 hp = OPT_HDR(struct frag_hdr, skb, off); in skb_checksum_setup_ipv6()
5016 off += sizeof(struct frag_hdr); in skb_checksum_setup_ipv6()
Dflow_dissector.c1314 struct frag_hdr _fh, *fh; in __skb_flow_dissect()
/kernel/linux/linux-5.10/net/mptcp/
Dprotocol.c1080 sizeof(struct frag_hdr))
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch45427 + *max_mss -= sizeof(struct frag_hdr);
48653 + max_mss -= sizeof(struct frag_hdr);
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch338399 + *max_mss -= sizeof(struct frag_hdr);
341618 + max_mss -= sizeof(struct frag_hdr);