Searched refs:nhead (Results 1 – 3 of 3) sorted by relevance
/net/xfrm/ |
D | xfrm_output.c | 27 int nhead = dst->header_len + LL_RESERVED_SPACE(dst->dev) in xfrm_skb_check_space() local 31 if (nhead <= 0) { in xfrm_skb_check_space() 34 nhead = 0; in xfrm_skb_check_space() 38 return pskb_expand_head(skb, nhead, ntail, GFP_ATOMIC); in xfrm_skb_check_space()
|
/net/core/ |
D | skbuff.c | 1134 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, in pskb_expand_head() argument 1139 int size = nhead + skb_end_offset(skb) + ntail; in pskb_expand_head() 1142 BUG_ON(nhead < 0); in pskb_expand_head() 1160 memcpy(data + nhead, skb->head, skb_tail_pointer(skb) - skb->head); in pskb_expand_head() 1185 off = (data + nhead) - skb->head; in pskb_expand_head() 1192 off = nhead; in pskb_expand_head() 1197 skb_headers_offset_update(skb, nhead); in pskb_expand_head()
|
D | pktgen.c | 2646 int nhead = 0; in process_ipsec() local 2652 nhead = x->props.header_len - skb_headroom(skb); in process_ipsec() 2653 if (nhead > 0) { in process_ipsec() 2654 ret = pskb_expand_head(skb, nhead, 0, GFP_ATOMIC); in process_ipsec()
|