Lines Matching refs:frag_hdr
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()
202 frag_hdr[4] = dgram_offset >> 3; in lowpan_xmit_fragmented()
204 rc = lowpan_xmit_fragment(skb, wpan_hdr, frag_hdr, in lowpan_xmit_fragmented()