| /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/ |
| H A D | reassembly.c | 109 struct frag_hdr *fhdr, int nhoff, in ip6_frag_queue() 279 sizeof(struct frag_hdr); in ip6_frag_reasm() 287 memmove(skb->head + sizeof(struct frag_hdr), skb->head, in ip6_frag_reasm() 288 (skb->data - skb->head) - sizeof(struct frag_hdr)); in ip6_frag_reasm() 290 skb->mac_header += sizeof(struct frag_hdr); in ip6_frag_reasm() 291 skb->network_header += sizeof(struct frag_hdr); in ip6_frag_reasm() 329 struct frag_hdr *fhdr; in ipv6_frag_rcv() 344 sizeof(struct frag_hdr)))) in ipv6_frag_rcv() 348 fhdr = (struct frag_hdr *)skb_transport_header(skb); in ipv6_frag_rcv() 352 skb->transport_header += sizeof(struct frag_hdr); in ipv6_frag_rcv()
|
| 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 | 91 start+offsetof(struct frag_hdr, in ipv6_skip_exthdr() 243 start+offsetof(struct frag_hdr, in ipv6_find_hdr()
|
| H A D | ip6_offload.c | 114 struct frag_hdr *fptr; in ipv6_gso_segment() 182 fptr = (struct frag_hdr *)((u8 *)ipv6h + err); in ipv6_gso_segment() 187 sizeof(struct frag_hdr)); in ipv6_gso_segment()
|
| H A D | ip6_tunnel.c | 425 struct frag_hdr *frag_hdr = (struct frag_hdr *)hdr; in ip6_tnl_parse_tlv_enc_lim() local 427 if (frag_hdr->frag_off) in ip6_tnl_parse_tlv_enc_lim()
|
| /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/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/net/netfilter/ |
| H A D | nf_log_syslog.c | 588 struct frag_hdr _fhdr; in dump_ipv6_packet() 589 const struct frag_hdr *fh; in dump_ipv6_packet()
|
| /linux/include/net/ |
| H A D | ipv6.h | 147 struct frag_hdr { struct 148 nexthdrfrag_hdr global() argument 149 reservedfrag_hdr global() argument 150 frag_offfrag_hdr global() argument 151 identificationfrag_hdr global() argument
|
| /linux/net/core/ |
| H A D | skbuff.c | 5933 struct frag_hdr *hp; in skb_checksum_setup_ipv6() 5937 sizeof(struct frag_hdr), in skb_checksum_setup_ipv6() 5942 hp = OPT_HDR(struct frag_hdr, skb, off); in skb_checksum_setup_ipv6() 5948 off += sizeof(struct frag_hdr); in skb_checksum_setup_ipv6()
|
| H A D | flow_dissector.c | 1569 struct frag_hdr _fh, *fh; in __skb_flow_dissect()
|
| /linux/net/mptcp/ |
| H A D | protocol.c | 1421 sizeof(struct frag_hdr))
|