| /linux/net/ieee802154/6lowpan/ |
| H A D | tx.c | 138 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 …]
|
| /linux/net/ipv6/netfilter/ |
| H A D | nf_conntrack_reasm.c | 171 const struct frag_hdr *fhdr, int nhoff, in nf_ct_frag6_queue() 339 sizeof(struct frag_hdr); in nf_ct_frag6_reasm() 349 memmove(skb->head + sizeof(struct frag_hdr), skb->head, in nf_ct_frag6_reasm() 350 (skb->data - skb->head) - sizeof(struct frag_hdr)); in nf_ct_frag6_reasm() 351 skb->mac_header += sizeof(struct frag_hdr); in nf_ct_frag6_reasm() 352 skb->network_header += sizeof(struct frag_hdr); in nf_ct_frag6_reasm() 450 struct frag_hdr *fhdr; in nf_ct_frag6_gather() 478 fhdr = (struct frag_hdr *)skb_transport_header(skb); in nf_ct_frag6_gather()
|
| H 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/ |
| H A D | libipw_tx.c | 244 struct libipw_hdr_3addrqos *frag_hdr; in libipw_xmit() local 427 frag_hdr = skb_put(skb_frag, hdr_len); in libipw_xmit() 434 memcpy(frag_hdr, &header, hdr_len); in libipw_xmit() 457 frag_hdr = skb_put_data(skb_frag, &header, hdr_len); in libipw_xmit() 462 frag_hdr->frame_ctl = in libipw_xmit()
|
| /linux/net/ipv6/ |
| H A D | ip6_output.c | 727 struct frag_hdr *fh; in ip6_fraglist_init() 744 fh = __skb_push(skb, sizeof(struct frag_hdr)); in ip6_fraglist_init() 768 struct frag_hdr *fh; in ip6_fraglist_prepare() 772 fh = __skb_push(frag, sizeof(struct frag_hdr)); in ip6_fraglist_prepare() 776 iter->offset += skb->len - hlen - sizeof(struct frag_hdr); in ip6_fraglist_prepare() 813 struct frag_hdr *fh; in ip6_frag_next() 826 frag = alloc_skb(len + state->hlen + sizeof(struct frag_hdr) + in ip6_frag_next() 837 skb_put(frag, len + state->hlen + sizeof(struct frag_hdr)); in ip6_frag_next() 839 fh = (struct frag_hdr *)(skb_network_header(frag) + state->hlen); in ip6_frag_next() 841 sizeof(struct frag_hdr)); in ip6_frag_next() [all …]
|
| H A D | xfrm6_output.c | 50 struct frag_hdr *fh; in xfrm6_noneed_fragment() 55 fh = (struct frag_hdr *)(skb->data + sizeof(struct ipv6hdr)); in xfrm6_noneed_fragment()
|
| H A D | exthdrs_core.c | 94 start+offsetof(struct frag_hdr, in ipv6_skip_exthdr() 250 start+offsetof(struct frag_hdr, in ipv6_find_hdr()
|
| H A D | ip6_tunnel.c | 428 struct frag_hdr *frag_hdr = (struct frag_hdr *)hdr; in ip6_tnl_parse_tlv_enc_lim() local 430 if (frag_hdr->frag_off) in ip6_tnl_parse_tlv_enc_lim()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | bpf_flow.c | 54 struct frag_hdr { struct 367 struct frag_hdr *fragh, _fragh; in PROG()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | flow_dissector.c | 48 struct frag_hdr { struct 254 sizeof(struct frag_hdr), 280 sizeof(struct frag_hdr),
|
| /linux/include/net/ |
| H A D | ipv6.h | 148 struct frag_hdr { struct
|
| /linux/net/core/ |
| H A D | skbuff.c | 5952 struct frag_hdr *hp; in skb_checksum_setup_ipv6() 5956 sizeof(struct frag_hdr), in skb_checksum_setup_ipv6() 5961 hp = OPT_HDR(struct frag_hdr, skb, off); in skb_checksum_setup_ipv6() 5967 off += sizeof(struct frag_hdr); in skb_checksum_setup_ipv6()
|
| H A D | flow_dissector.c | 1566 struct frag_hdr _fh, *fh; in __skb_flow_dissect()
|
| /linux/net/mptcp/ |
| H A D | protocol.c | 1454 sizeof(struct frag_hdr))
|