Home
last modified time | relevance | path

Searched refs:mac_offset (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.1/net/mpls/
Dmpls_gso.c23 u16 mac_offset = skb->mac_header; in mpls_gso_segment() local
49 skb_gso_error_unwind(skb, mpls_protocol, mpls_hlen, mac_offset, in mpls_gso_segment()
/Linux-v6.1/net/ipv6/
Dudp_offload.c93 packet_start = (u8 *) skb->head + SKB_GSO_CB(skb)->mac_offset; in udp6_ufo_fragment()
96 SKB_GSO_CB(skb)->mac_offset -= frag_hdr_sz; in udp6_ufo_fragment()
/Linux-v6.1/net/ipv4/
Dgre_offload.c21 u16 mac_offset = skb->mac_header; in gre_gso_segment() local
59 skb_gso_error_unwind(skb, protocol, tnl_hlen, mac_offset, in gre_gso_segment()
Dudp_offload.c25 u16 mac_offset = skb->mac_header; in __skb_udp_tunnel_segment() local
88 skb_gso_error_unwind(skb, protocol, tnl_hlen, mac_offset, in __skb_udp_tunnel_segment()
/Linux-v6.1/drivers/net/wireless/marvell/libertas/
Ddev.h74 u32 mac_offset; member
Ddebugfs.c446 ret = lbs_get_reg(priv, CMD_MAC_REG_ACCESS, priv->mac_offset, &val); in lbs_rdmac_read()
450 priv->mac_offset, val); in lbs_rdmac_read()
468 priv->mac_offset = simple_strtoul(buf, NULL, 16); in lbs_rdmac_write()
/Linux-v6.1/drivers/crypto/hisilicon/sec2/
Dsec_crypto.c903 u8 *mac_offset; in GEN_SEC_SETKEY_FUNC() local
919 mac_offset = qp_ctx->res[req_id].pbuf + copy_size - authsize; in GEN_SEC_SETKEY_FUNC()
920 memcpy(a_req->out_mac, mac_offset, authsize); in GEN_SEC_SETKEY_FUNC()
/Linux-v6.1/include/linux/
Dskbuff.h4815 int mac_offset; member
4828 SKB_GSO_CB(inner_skb)->mac_offset; in skb_tnl_header_len()
4842 SKB_GSO_CB(skb)->mac_offset += (new_headroom - headroom); in gso_pskb_expand_head()
Dnetdevice.h4961 int pulled_hlen, u16 mac_offset, in skb_gso_error_unwind() argument
4968 skb->mac_header = mac_offset; in skb_gso_error_unwind()
/Linux-v6.1/drivers/net/ethernet/broadcom/
Dtg3.c16917 u32 hi, lo, mac_offset; in tg3_get_device_address() local
16930 mac_offset = 0x7c; in tg3_get_device_address()
16934 mac_offset = 0xcc; in tg3_get_device_address()
16941 mac_offset = 0xcc; in tg3_get_device_address()
16943 mac_offset += 0x18c; in tg3_get_device_address()
16945 mac_offset = 0x10; in tg3_get_device_address()
16965 !tg3_nvram_read_be32(tp, mac_offset + 0, &hi) && in tg3_get_device_address()
16966 !tg3_nvram_read_be32(tp, mac_offset + 4, &lo)) { in tg3_get_device_address()
/Linux-v6.1/net/core/
Ddev.c3407 SKB_GSO_CB(skb)->mac_offset = skb_headroom(skb); in __skb_gso_segment()