Home
last modified time | relevance | path

Searched refs:frag_hdr (Results 1 – 13 of 13) 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[ in lowpan_xmit_fragmented()
[all...]
/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/net/ipv6/
H A Dnetfilter.c150 if (mtu < hlen + sizeof(struct frag_hdr) + 8) in br_ip6_fragment()
152 mtu -= hlen + sizeof(struct frag_hdr); in br_ip6_fragment()
171 skb_headroom(skb) < (hroom + sizeof(struct frag_hdr))) in br_ip6_fragment()
180 skb_headroom(frag2) < (hlen + hroom + sizeof(struct frag_hdr))) in br_ip6_fragment()
H A Dip6_output.c708 struct frag_hdr *fh; in ip6_fraglist_init()
725 fh = __skb_push(skb, sizeof(struct frag_hdr)); in ip6_fraglist_init()
749 struct frag_hdr *fh; in ip6_fraglist_prepare()
753 fh = __skb_push(frag, sizeof(struct frag_hdr)); in ip6_fraglist_prepare()
757 iter->offset += skb->len - hlen - sizeof(struct frag_hdr); in ip6_fraglist_prepare()
794 struct frag_hdr *fh; in ip6_frag_next()
807 frag = alloc_skb(len + state->hlen + sizeof(struct frag_hdr) + in ip6_frag_next()
818 skb_put(frag, len + state->hlen + sizeof(struct frag_hdr)); in ip6_frag_next()
820 fh = (struct frag_hdr *)(skb_network_header(frag) + state->hlen); in ip6_frag_next()
822 sizeof(struct frag_hdr)); in ip6_frag_next()
[all...]
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()
/linux/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw_tx.c244 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/tools/testing/selftests/bpf/progs/
H A Dbpf_flow.c54 struct frag_hdr { struct
367 struct frag_hdr *fragh, _fragh; in PROG()
55 nexthdrfrag_hdr global() argument
56 reservedfrag_hdr global() argument
57 frag_offfrag_hdr global() argument
58 identificationfrag_hdr global() argument
/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),
49 nexthdripv6_frag_pkt::frag_hdr global() argument
50 reservedipv6_frag_pkt::frag_hdr global() argument
51 frag_offipv6_frag_pkt::frag_hdr global() argument
52 identificationipv6_frag_pkt::frag_hdr global() argument
/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/net/core/
H A Dflow_dissector.c1569 struct frag_hdr _fh, *fh; in __skb_flow_dissect()
/linux/net/mptcp/
H A Dprotocol.c1316 sizeof(struct frag_hdr))