Home
last modified time | relevance | path

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

/linux/net/ieee802154/6lowpan/
H A 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 …]
/linux/net/ipv6/
H A Dreassembly.c109 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 Dxfrm6_output.c50 struct frag_hdr *fh; in xfrm6_noneed_fragment()
55 fh = (struct frag_hdr *)(skb->data + sizeof(struct ipv6hdr)); in xfrm6_noneed_fragment()
H A Dexthdrs_core.c91 start+offsetof(struct frag_hdr, in ipv6_skip_exthdr()
243 start+offsetof(struct frag_hdr, in ipv6_find_hdr()
H A Dip6_offload.c114 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 Dip6_tunnel.c425 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 Dnf_conntrack_reasm.c171 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 Dip6t_frag.c37 struct frag_hdr _frag; in frag_mt6()
38 const struct frag_hdr *fh; in frag_mt6()
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_flow.c54 struct frag_hdr { struct
367 struct frag_hdr *fragh, _fragh; in PROG()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector.c48 struct frag_hdr { struct
254 sizeof(struct frag_hdr),
280 sizeof(struct frag_hdr),
/linux/net/netfilter/
H A Dnf_log_syslog.c588 struct frag_hdr _fhdr; in dump_ipv6_packet()
589 const struct frag_hdr *fh; in dump_ipv6_packet()
/linux/include/net/
H A Dipv6.h147 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 Dskbuff.c5933 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 Dflow_dissector.c1569 struct frag_hdr _fh, *fh; in __skb_flow_dissect()
/linux/net/mptcp/
H A Dprotocol.c1421 sizeof(struct frag_hdr))