/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tx.c | 171 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 D | bpf_jit_asm.S | 24 * r15 skb headlen 30 * generate them inline. Inline code can do the simple headlen check 41 /* Are we accessing past headlen? */
|
H A D | bpf_jit.h | 44 * skb headlen r15 (skb->len - skb->data_len)
|
/linux-4.4.14/net/sunrpc/auth_gss/ |
H A D | gss_krb5_wrap.c | 167 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 D | dccp.h | 70 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 D | skbuff.h | 1914 * @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 D | txrx.c | 1231 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 D | xfrm_user.c | 2633 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 D | bridge_loop_avoidance.c | 883 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 D | datagram.c | 520 * 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 D | skbuff.c | 3229 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 D | nes_nic.c | 497 * 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 D | ixgbe_fcoe.c | 584 /* include trailer in headlen as it is replicated per frame */ ixgbe_fso()
|
/linux-4.4.14/arch/x86/net/ |
H A D | bpf_jit_comp.c | 324 /* r9d = skb->len - skb->data_len (headlen) emit_load_skb_data_hlen()
|
/linux-4.4.14/arch/arm/net/ |
H A D | bpf_jit_32.c | 218 /* headlen = len - data_len */ build_prologue()
|