Searched refs:nhead (Results 1 – 5 of 5) sorted by relevance
| /net/xfrm/ |
| A D | xfrm_output.c | 34 int nhead = dst->header_len + LL_RESERVED_SPACE(dst->dev) in xfrm_skb_check_space() local 38 if (nhead <= 0) { in xfrm_skb_check_space() 41 nhead = 0; in xfrm_skb_check_space() 45 return pskb_expand_head(skb, nhead, ntail, GFP_ATOMIC); in xfrm_skb_check_space()
|
| /net/core/ |
| A D | lwt_bpf.c | 169 int nhead = HH_DATA_ALIGN(hh_len - skb_headroom(skb)); in xmit_check_hhlen() local 171 if (pskb_expand_head(skb, nhead, 0, GFP_ATOMIC)) in xmit_check_hhlen()
|
| A D | skbuff.c | 2222 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, in pskb_expand_head() argument 2226 unsigned int size = osize + nhead + ntail; in pskb_expand_head() 2231 BUG_ON(nhead < 0); in pskb_expand_head() 2248 memcpy(data + nhead, skb->head, skb_tail_pointer(skb) - skb->head); in pskb_expand_head() 2274 off = (data + nhead) - skb->head; in pskb_expand_head() 2282 off = nhead; in pskb_expand_head() 2285 skb_headers_offset_update(skb, nhead); in pskb_expand_head()
|
| A D | pktgen.c | 2759 int nhead = 0; in process_ipsec() local 2766 nhead = x->props.header_len - skb_headroom(skb); in process_ipsec() 2767 if (nhead > 0) { in process_ipsec() 2768 ret = pskb_expand_head(skb, nhead, 0, GFP_ATOMIC); in process_ipsec()
|
| /net/bpf/ |
| A D | test_run.c | 1104 int nhead = HH_DATA_ALIGN(hh_len - skb_headroom(skb)); in bpf_prog_test_run_skb() local 1106 if (pskb_expand_head(skb, nhead, 0, GFP_USER)) { in bpf_prog_test_run_skb()
|
Completed in 28 milliseconds