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 | 1058 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, in pskb_expand_head() argument 1063 int size = nhead + skb_end_offset(skb) + ntail; in pskb_expand_head() 1066 BUG_ON(nhead < 0); in pskb_expand_head() 1084 memcpy(data + nhead, skb->head, skb_tail_pointer(skb) - skb->head); in pskb_expand_head() 1109 off = (data + nhead) - skb->head; in pskb_expand_head() 1116 off = nhead; in pskb_expand_head() 1124 skb->csum_start += nhead; in pskb_expand_head()
|
D | pktgen.c | 2514 int nhead = 0; in process_ipsec() local 2518 nhead = x->props.header_len - skb_headroom(skb); in process_ipsec() 2519 if (nhead > 0) { in process_ipsec() 2520 ret = pskb_expand_head(skb, nhead, 0, GFP_ATOMIC); in process_ipsec()
|