/linux/net/ieee802154/6lowpan/ |
A D | tx.c | 138 u8 *frag_hdr, int frag_hdrlen, in lowpan_xmit_fragment() argument 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() 202 frag_hdr[4] = dgram_offset >> 3; in lowpan_xmit_fragmented() [all …]
|
/linux/net/ipv6/ |
A D | reassembly.c | 107 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()
|
A D | netfilter.c | 143 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()
|
A D | ip6_output.c | 651 struct frag_hdr *fh; in ip6_fraglist_init() 668 fh = __skb_push(skb, sizeof(struct frag_hdr)); in ip6_fraglist_init() 692 struct frag_hdr *fh; in ip6_fraglist_prepare() 696 fh = __skb_push(frag, sizeof(struct frag_hdr)); in ip6_fraglist_prepare() 737 struct frag_hdr *fh; in ip6_frag_next() 765 sizeof(struct frag_hdr)); in ip6_frag_next() 852 if (mtu < hlen + sizeof(struct frag_hdr) + 8) in ip6_fragment() 854 mtu -= hlen + sizeof(struct frag_hdr); in ip6_fragment() 1475 sizeof(struct frag_hdr); in __ip6_append_data() 1480 sizeof(struct frag_hdr) : 0) + in __ip6_append_data() [all …]
|
A D | udp_offload.c | 23 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()
|
A D | exthdrs_core.c | 91 start+offsetof(struct frag_hdr, in ipv6_skip_exthdr() 241 start+offsetof(struct frag_hdr, in ipv6_find_hdr()
|
A D | ip6_offload.c | 81 struct frag_hdr *fptr; in ipv6_gso_segment() 142 fptr = (struct frag_hdr *)((u8 *)ipv6h + err); in ipv6_gso_segment() 147 sizeof(struct frag_hdr)); in ipv6_gso_segment()
|
A D | ip6_tunnel.c | 415 struct frag_hdr *frag_hdr = (struct frag_hdr *) hdr; in ip6_tnl_parse_tlv_enc_lim() local 416 if (frag_hdr->frag_off) in ip6_tnl_parse_tlv_enc_lim()
|
A D | tcp_ipv6.c | 1912 .net_frag_header_len = sizeof(struct frag_hdr),
|
/linux/net/ipv6/netfilter/ |
A D | nf_conntrack_reasm.c | 167 const struct frag_hdr *fhdr, int nhoff) in nf_ct_frag6_queue() 331 sizeof(struct frag_hdr)); in nf_ct_frag6_reasm() 341 memmove(skb->head + sizeof(struct frag_hdr), skb->head, in nf_ct_frag6_reasm() 342 (skb->data - skb->head) - sizeof(struct frag_hdr)); in nf_ct_frag6_reasm() 343 skb->mac_header += sizeof(struct frag_hdr); in nf_ct_frag6_reasm() 344 skb->network_header += sizeof(struct frag_hdr); in nf_ct_frag6_reasm() 442 struct frag_hdr *fhdr; in nf_ct_frag6_gather() 469 fhdr = (struct frag_hdr *)skb_transport_header(skb); in nf_ct_frag6_gather()
|
A D | ip6t_frag.c | 37 struct frag_hdr _frag; in frag_mt6() 38 const struct frag_hdr *fh; in frag_mt6()
|
/linux/drivers/net/wireless/intel/ipw2x00/ |
A D | libipw_tx.c | 245 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()
|
/linux/drivers/staging/rtl8192e/ |
A D | rtllib_tx.c | 553 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()
|
/linux/drivers/staging/rtl8192u/ieee80211/ |
A D | ieee80211_tx.c | 533 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()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | flow_dissector.c | 71 struct frag_hdr { struct 257 sizeof(struct frag_hdr), 282 sizeof(struct frag_hdr),
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | bpf_flow.c | 52 struct frag_hdr { struct 352 struct frag_hdr *fragh, _fragh; in PROG()
|
/linux/net/netfilter/ |
A D | nf_log_syslog.c | 580 struct frag_hdr _fhdr; in dump_ipv6_packet() 581 const struct frag_hdr *fh; in dump_ipv6_packet()
|
/linux/include/net/ |
A D | ipv6.h | 145 struct frag_hdr { struct
|
/linux/net/core/ |
A D | skbuff.c | 5177 struct frag_hdr *hp; in skb_checksum_setup_ipv6() 5181 sizeof(struct frag_hdr), in skb_checksum_setup_ipv6() 5186 hp = OPT_HDR(struct frag_hdr, skb, off); in skb_checksum_setup_ipv6() 5192 off += sizeof(struct frag_hdr); in skb_checksum_setup_ipv6()
|
A D | flow_dissector.c | 1342 struct frag_hdr _fh, *fh; in __skb_flow_dissect()
|
/linux/net/mptcp/ |
A D | protocol.c | 1368 sizeof(struct frag_hdr))
|