Searched refs:doffset (Results 1 – 2 of 2) sorted by relevance
/net/ipv4/ |
D | ip_options.c | 94 int soffset, doffset; in ip_options_echo() local 164 doffset = 0; in ip_options_echo() 170 for (soffset-=4, doffset=4; soffset > 3; soffset-=4, doffset+=4) in ip_options_echo() 171 memcpy(&dptr[doffset-1], &start[soffset-1], 4); in ip_options_echo() 177 doffset -= 4; in ip_options_echo() 179 if (doffset > 3) { in ip_options_echo() 182 memcpy(&start[doffset-1], &daddr, 4); in ip_options_echo() 185 dptr[1] = doffset+3; in ip_options_echo() 187 dptr += doffset+3; in ip_options_echo() 189 dopt->optlen += doffset+3; in ip_options_echo()
|
/net/core/ |
D | skbuff.c | 2768 unsigned int doffset = skb->data - skb_mac_header(skb); in skb_segment() local 2769 unsigned int offset = doffset; in skb_segment() 2786 __skb_push(skb, doffset); in skb_segment() 2817 if (skb_cow_head(nskb, doffset + headroom)) { in skb_segment() 2824 __skb_push(nskb, doffset); in skb_segment() 2826 nskb = __alloc_skb(hsize + doffset + headroom, in skb_segment() 2834 __skb_put(nskb, doffset); in skb_segment() 2857 doffset + tnl_hlen); in skb_segment() 2925 nskb->csum = skb_checksum(nskb, doffset, in skb_segment() 2926 nskb->len - doffset, 0); in skb_segment()
|