Home
last modified time | relevance | path

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

/net/ipv4/
Dip_options.c94 int soffset, doffset; in __ip_options_echo() local
162 doffset = 0; in __ip_options_echo()
168 for (soffset -= 4, doffset = 4; soffset > 3; soffset -= 4, doffset += 4) in __ip_options_echo()
169 memcpy(&dptr[doffset-1], &start[soffset-1], 4); in __ip_options_echo()
175 doffset -= 4; in __ip_options_echo()
177 if (doffset > 3) { in __ip_options_echo()
180 memcpy(&start[doffset-1], &daddr, 4); in __ip_options_echo()
183 dptr[1] = doffset+3; in __ip_options_echo()
185 dptr += doffset+3; in __ip_options_echo()
187 dopt->optlen += doffset+3; in __ip_options_echo()
Dfou.c118 u16 doffset = 0; in gue_udp_recv() local
156 __be32 flags = *(__be32 *)(data + doffset); in gue_udp_recv()
158 doffset += GUE_LEN_PRIV; in gue_udp_recv()
161 guehdr = gue_remcsum(skb, guehdr, data + doffset, in gue_udp_recv()
170 doffset += GUE_PLEN_REMCSUM; in gue_udp_recv()
283 u16 doffset = 0; in gue_gro_receive() local
323 __be32 flags = *(__be32 *)(data + doffset); in gue_gro_receive()
325 doffset += GUE_LEN_PRIV; in gue_gro_receive()
329 data + doffset, hdrlen, &grc, in gue_gro_receive()
338 doffset += GUE_PLEN_REMCSUM; in gue_gro_receive()
/net/core/
Dskbuff.c3067 unsigned int doffset = head_skb->data - skb_mac_header(head_skb); in skb_segment() local
3069 unsigned int offset = doffset; in skb_segment()
3082 __skb_push(head_skb, doffset); in skb_segment()
3143 if (skb_cow_head(nskb, doffset + headroom)) { in skb_segment()
3150 __skb_push(nskb, doffset); in skb_segment()
3152 nskb = __alloc_skb(hsize + doffset + headroom, in skb_segment()
3160 __skb_put(nskb, doffset); in skb_segment()
3176 doffset + tnl_hlen); in skb_segment()
3178 if (nskb->len == len + doffset) in skb_segment()
3187 skb_headroom(nskb) + doffset; in skb_segment()
[all …]