Home
last modified time | relevance | path

Searched refs:nhead (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/net/xfrm/
Dxfrm_output.c27 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()
/linux-4.1.27/net/core/
Dskbuff.c1167 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, in pskb_expand_head() argument
1172 int size = nhead + skb_end_offset(skb) + ntail; in pskb_expand_head()
1175 BUG_ON(nhead < 0); in pskb_expand_head()
1193 memcpy(data + nhead, skb->head, skb_tail_pointer(skb) - skb->head); in pskb_expand_head()
1218 off = (data + nhead) - skb->head; in pskb_expand_head()
1225 off = nhead; in pskb_expand_head()
1230 skb_headers_offset_update(skb, nhead); in pskb_expand_head()
Dpktgen.c2595 int nhead = 0; in process_ipsec() local
2601 nhead = x->props.header_len - skb_headroom(skb); in process_ipsec()
2602 if (nhead > 0) { in process_ipsec()
2603 ret = pskb_expand_head(skb, nhead, 0, GFP_ATOMIC); in process_ipsec()
/linux-4.1.27/security/smack/
Dsmack_lsm.c328 static int smk_copy_rules(struct list_head *nhead, struct list_head *ohead, in smk_copy_rules() argument
335 INIT_LIST_HEAD(nhead); in smk_copy_rules()
344 list_add_rcu(&nrp->list, nhead); in smk_copy_rules()
/linux-4.1.27/include/linux/
Dskbuff.h845 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask);