/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[ 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/net/ipv6/ |
H A D | netfilter.c | 150 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 D | ip6_output.c | 708 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 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()
|
/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/tools/testing/selftests/bpf/progs/ |
H A D | bpf_flow.c | 54 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 D | flow_dissector.c | 48 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 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/net/core/ |
H A D | flow_dissector.c | 1569 struct frag_hdr _fh, *fh; in __skb_flow_dissect()
|
/linux/net/mptcp/ |
H A D | protocol.c | 1316 sizeof(struct frag_hdr))
|