Home
last modified time | relevance | path

Searched refs:doffset (Results 1 – 3 of 3) sorted by relevance

/net/ipv4/
Dip_options.c93 int soffset, doffset; in __ip_options_echo() local
161 doffset = 0; in __ip_options_echo()
167 for (soffset -= 4, doffset = 4; soffset > 3; soffset -= 4, doffset += 4) in __ip_options_echo()
168 memcpy(&dptr[doffset-1], &start[soffset-1], 4); in __ip_options_echo()
174 doffset -= 4; in __ip_options_echo()
176 if (doffset > 3) { in __ip_options_echo()
179 memcpy(&start[doffset-1], &daddr, 4); in __ip_options_echo()
182 dptr[1] = doffset+3; in __ip_options_echo()
184 dptr += doffset+3; in __ip_options_echo()
186 dopt->optlen += doffset+3; in __ip_options_echo()
Dfou.c121 u16 doffset = 0; in gue_udp_recv() local
192 __be32 flags = *(__be32 *)(data + doffset); in gue_udp_recv()
194 doffset += GUE_LEN_PRIV; in gue_udp_recv()
197 guehdr = gue_remcsum(skb, guehdr, data + doffset, in gue_udp_recv()
206 doffset += GUE_PLEN_REMCSUM; in gue_udp_recv()
318 u16 doffset = 0; in gue_gro_receive() local
378 __be32 flags = *(__be32 *)(data + doffset); in gue_gro_receive()
380 doffset += GUE_LEN_PRIV; in gue_gro_receive()
384 data + doffset, hdrlen, &grc, in gue_gro_receive()
393 doffset += GUE_PLEN_REMCSUM; in gue_gro_receive()
/net/core/
Dskbuff.c3054 unsigned int doffset = head_skb->data - skb_mac_header(head_skb); in skb_segment() local
3056 unsigned int offset = doffset; in skb_segment()
3069 __skb_push(head_skb, doffset); in skb_segment()
3177 if (skb_cow_head(nskb, doffset + headroom)) { in skb_segment()
3184 __skb_push(nskb, doffset); in skb_segment()
3186 nskb = __alloc_skb(hsize + doffset + headroom, in skb_segment()
3194 __skb_put(nskb, doffset); in skb_segment()
3210 doffset + tnl_hlen); in skb_segment()
3212 if (nskb->len == len + doffset) in skb_segment()
3223 skb_headroom(nskb) + doffset; in skb_segment()
[all …]