Home
last modified time | relevance | path

Searched refs:headlen (Results 1 – 6 of 6) sorted by relevance

/net/sunrpc/auth_gss/
Dgss_krb5_wrap.c167 int headlen; in gss_wrap_kerberos_v1() local
182 headlen = g_token_size(&kctx->mech_used, in gss_wrap_kerberos_v1()
188 xdr_extend_head(buf, offset, headlen); in gss_wrap_kerberos_v1()
191 BUG_ON((buf->len - offset - headlen) % blocksize); in gss_wrap_kerberos_v1()
224 if (make_checksum(kctx, ptr, 8, buf, offset + headlen - conflen, in gss_wrap_kerberos_v1()
240 offset + headlen - conflen, pages)) in gss_wrap_kerberos_v1()
/net/core/
Dgro.c157 unsigned int headlen = skb_headlen(skb); in skb_gro_receive() local
192 if (headlen <= offset) { in skb_gro_receive()
201 offset -= headlen; in skb_gro_receive()
228 unsigned int first_size = headlen - offset; in skb_gro_receive()
258 if (offset > headlen) { in skb_gro_receive()
259 unsigned int eat = offset - headlen; in skb_gro_receive()
265 offset = headlen; in skb_gro_receive()
Dskbuff.c6200 const int headlen, gfp_t gfp_mask) in pskb_carve_inside_header() argument
6204 int new_hlen = headlen - off; in pskb_carve_inside_header()
6393 int headlen = skb_headlen(skb); in pskb_carve() local
6395 if (len < headlen) in pskb_carve()
6396 return pskb_carve_inside_header(skb, len, headlen, gfp); in pskb_carve()
6398 return pskb_carve_inside_nonlinear(skb, len, headlen, gfp); in pskb_carve()
Dfilter.c213 data, int, headlen, int, offset) in BPF_CALL_4() argument
219 if (headlen - offset >= len) in BPF_CALL_4()
240 data, int, headlen, int, offset) in BPF_CALL_4() argument
246 if (headlen - offset >= len) in BPF_CALL_4()
267 data, int, headlen, int, offset) in BPF_CALL_4() argument
273 if (headlen - offset >= len) in BPF_CALL_4()
/net/batman-adv/
Dbridge_loop_avoidance.c1089 int headlen; in batadv_bla_process_claim() local
1096 headlen = ETH_HLEN; in batadv_bla_process_claim()
1107 vhdr = skb_header_pointer(skb, headlen, VLAN_HLEN, in batadv_bla_process_claim()
1113 headlen += VLAN_HLEN; in batadv_bla_process_claim()
1123 if (unlikely(!pskb_may_pull(skb, headlen + arp_hdr_len(skb->dev)))) in batadv_bla_process_claim()
1128 arphdr = (struct arphdr *)((u8 *)ethhdr + headlen); in batadv_bla_process_claim()
/net/xfrm/
Dxfrm_user.c3282 unsigned int headlen; in xfrm_notify_sa() local
3285 headlen = sizeof(*p); in xfrm_notify_sa()
3287 len += nla_total_size(headlen); in xfrm_notify_sa()
3288 headlen = sizeof(*id); in xfrm_notify_sa()
3291 len += NLMSG_ALIGN(headlen); in xfrm_notify_sa()
3297 nlh = nlmsg_put(skb, c->portid, c->seq, c->event, headlen, 0); in xfrm_notify_sa()
3550 unsigned int headlen; in xfrm_notify_policy() local
3553 headlen = sizeof(*p); in xfrm_notify_policy()
3555 len += nla_total_size(headlen); in xfrm_notify_policy()
3556 headlen = sizeof(*id); in xfrm_notify_policy()
[all …]