Searched refs:headlen (Results 1 - 15 of 15) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tx.c171 u16 headlen; mlx5e_sq_xmit() local
225 headlen = skb_headlen(skb); mlx5e_sq_xmit()
226 if (headlen) { mlx5e_sq_xmit()
227 dma_addr = dma_map_single(sq->pdev, skb->data, headlen, mlx5e_sq_xmit()
234 dseg->byte_count = cpu_to_be32(headlen); mlx5e_sq_xmit()
236 mlx5e_dma_push(sq, dma_addr, headlen, MLX5E_DMA_MAP_SINGLE); mlx5e_sq_xmit()
/linux-4.4.14/arch/powerpc/net/
H A Dbpf_jit_asm.S24 * r15 skb headlen
30 * generate them inline. Inline code can do the simple headlen check
41 /* Are we accessing past headlen? */
H A Dbpf_jit.h44 * skb headlen r15 (skb->len - skb->data_len)
/linux-4.4.14/net/sunrpc/auth_gss/
H A Dgss_krb5_wrap.c167 int headlen; gss_wrap_kerberos_v1() local
182 headlen = g_token_size(&kctx->mech_used, gss_wrap_kerberos_v1()
188 xdr_extend_head(buf, offset, headlen); gss_wrap_kerberos_v1()
191 BUG_ON((buf->len - offset - headlen) % blocksize); gss_wrap_kerberos_v1()
224 if (make_checksum(kctx, ptr, 8, buf, offset + headlen - conflen, gss_wrap_kerberos_v1()
252 offset + headlen - conflen, pages); gss_wrap_kerberos_v1()
258 offset + headlen - conflen, pages)) gss_wrap_kerberos_v1()
/linux-4.4.14/include/linux/
H A Ddccp.h70 static inline struct dccp_hdr *dccp_zeroed_hdr(struct sk_buff *skb, int headlen) dccp_zeroed_hdr() argument
72 skb_push(skb, headlen); dccp_zeroed_hdr()
74 return memset(skb_transport_header(skb), 0, headlen); dccp_zeroed_hdr()
H A Dskbuff.h1914 * @mtu: maximum amount of headlen permitted
1917 * Set reserved_tailroom so that headlen can be as large as possible but
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
H A Dtxrx.c1231 int f, len, hdrlen, headlen; __wil_tx_vring_tso() local
1318 headlen = skb_headlen(skb) - hdrlen; __wil_tx_vring_tso()
1320 for (f = headlen ? -1 : 0; f < nr_frags; f++) { __wil_tx_vring_tso()
1321 if (headlen) { __wil_tx_vring_tso()
1322 len = headlen; __wil_tx_vring_tso()
1346 if (!headlen) { __wil_tx_vring_tso()
1354 skb_headlen(skb) - headlen, __wil_tx_vring_tso()
1358 headlen -= lenmss; __wil_tx_vring_tso()
/linux-4.4.14/net/xfrm/
H A Dxfrm_user.c2633 int headlen, err; xfrm_notify_sa() local
2635 headlen = sizeof(*p); xfrm_notify_sa()
2637 len += nla_total_size(headlen); xfrm_notify_sa()
2638 headlen = sizeof(*id); xfrm_notify_sa()
2641 len += NLMSG_ALIGN(headlen); xfrm_notify_sa()
2647 nlh = nlmsg_put(skb, c->portid, c->seq, c->event, headlen, 0); xfrm_notify_sa()
2893 int headlen, err; xfrm_notify_policy() local
2895 headlen = sizeof(*p); xfrm_notify_policy()
2897 len += nla_total_size(headlen); xfrm_notify_policy()
2898 headlen = sizeof(*id); xfrm_notify_policy()
2902 len += NLMSG_ALIGN(headlen); xfrm_notify_policy()
2908 nlh = nlmsg_put(skb, c->portid, c->seq, c->event, headlen, 0); xfrm_notify_policy()
/linux-4.4.14/net/batman-adv/
H A Dbridge_loop_avoidance.c883 int headlen; batadv_bla_process_claim() local
890 headlen = ETH_HLEN; batadv_bla_process_claim()
901 vhdr = skb_header_pointer(skb, headlen, VLAN_HLEN, batadv_bla_process_claim()
907 headlen += VLAN_HLEN; batadv_bla_process_claim()
917 if (unlikely(!pskb_may_pull(skb, headlen + arp_hdr_len(skb->dev)))) batadv_bla_process_claim()
922 arphdr = (struct arphdr *)((u8 *)ethhdr + headlen); batadv_bla_process_claim()
/linux-4.4.14/net/core/
H A Ddatagram.c520 * The function will first copy up to headlen, and then pin the userspace
531 /* copy up to skb headlen */ zerocopy_sg_from_iter()
H A Dskbuff.c3229 unsigned int headlen = skb_headlen(skb); skb_gro_receive() local
3240 if (headlen <= offset) { skb_gro_receive()
3249 offset -= headlen; skb_gro_receive()
3276 unsigned int first_size = headlen - offset; skb_gro_receive()
3302 if (offset > headlen) { skb_gro_receive()
3303 unsigned int eat = offset - headlen; skb_gro_receive()
3309 offset = headlen; skb_gro_receive()
/linux-4.4.14/drivers/infiniband/hw/nes/
H A Dnes_nic.c497 * nes_debug(NES_DBG_NIC_TX, "%s Request to tx NIC packet length %u, headlen %u," nes_netdev_start_xmit()
593 nes_debug(NES_DBG_NIC_TX, "ERROR: SKB header too big, headlen=%u, FIRST_FRAG_SIZE=%u\n", nes_netdev_start_xmit()
595 nes_debug(NES_DBG_NIC_TX, "%s Request to tx NIC packet length %u, headlen %u," nes_netdev_start_xmit()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_fcoe.c584 /* include trailer in headlen as it is replicated per frame */ ixgbe_fso()
/linux-4.4.14/arch/x86/net/
H A Dbpf_jit_comp.c324 /* r9d = skb->len - skb->data_len (headlen) emit_load_skb_data_hlen()
/linux-4.4.14/arch/arm/net/
H A Dbpf_jit_32.c218 /* headlen = len - data_len */ build_prologue()

Completed in 815 milliseconds