Home
last modified time | relevance | path

Searched refs:mac_offset (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-6.6/include/net/
H A Dgso.h16 int mac_offset; member
29 SKB_GSO_CB(inner_skb)->mac_offset; in skb_tnl_header_len()
43 SKB_GSO_CB(skb)->mac_offset += (new_headroom - headroom); in gso_pskb_expand_head()
97 int pulled_hlen, u16 mac_offset, in skb_gso_error_unwind()
104 skb->mac_header = mac_offset; in skb_gso_error_unwind()
96 skb_gso_error_unwind(struct sk_buff *skb, __be16 protocol, int pulled_hlen, u16 mac_offset, int mac_len) skb_gso_error_unwind() argument
/kernel/linux/linux-5.10/net/nsh/
H A Dnsh.c80 u16 mac_offset = skb->mac_header; in nsh_gso_segment() local
110 mac_offset, mac_len); in nsh_gso_segment()
117 skb->mac_header = mac_offset; in nsh_gso_segment()
/kernel/linux/linux-6.6/net/nsh/
H A Dnsh.c81 u16 mac_offset = skb->mac_header; in nsh_gso_segment() local
111 mac_offset, mac_len); in nsh_gso_segment()
118 skb->mac_header = mac_offset; in nsh_gso_segment()
/kernel/linux/linux-5.10/net/mpls/
H A 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()
/kernel/linux/linux-6.6/net/mpls/
H A Dmpls_gso.c24 u16 mac_offset = skb->mac_header; in mpls_gso_segment() local
50 skb_gso_error_unwind(skb, mpls_protocol, mpls_hlen, mac_offset, in mpls_gso_segment()
/kernel/linux/linux-5.10/net/ipv4/
H A Dgre_offload.c20 u16 mac_offset = skb->mac_header; in gre_gso_segment() local
52 skb_gso_error_unwind(skb, protocol, tnl_hlen, mac_offset, in gre_gso_segment()
H A Dudp_offload.c24 u16 mac_offset = skb->mac_header; in __skb_udp_tunnel_segment() local
84 skb_gso_error_unwind(skb, protocol, tnl_hlen, mac_offset, in __skb_udp_tunnel_segment()
/kernel/linux/linux-5.10/net/ipv6/
H A Dudp_offload.c92 packet_start = (u8 *) skb->head + SKB_GSO_CB(skb)->mac_offset; in udp6_ufo_fragment()
95 SKB_GSO_CB(skb)->mac_offset -= frag_hdr_sz; in udp6_ufo_fragment()
/kernel/linux/linux-6.6/net/ipv6/
H A Dudp_offload.c94 packet_start = (u8 *) skb->head + SKB_GSO_CB(skb)->mac_offset; in udp6_ufo_fragment()
97 SKB_GSO_CB(skb)->mac_offset -= frag_hdr_sz; in udp6_ufo_fragment()
/kernel/linux/linux-6.6/net/ipv4/
H A Dgre_offload.c22 u16 mac_offset = skb->mac_header; in gre_gso_segment() local
60 skb_gso_error_unwind(skb, protocol, tnl_hlen, mac_offset, in gre_gso_segment()
H A Dudp_offload.c26 u16 mac_offset = skb->mac_header; in __skb_udp_tunnel_segment() local
89 skb_gso_error_unwind(skb, protocol, tnl_hlen, mac_offset, in __skb_udp_tunnel_segment()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
H A Ddev.h74 u32 mac_offset; member
H A 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()
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/libertas/
H A Ddev.h74 u32 mac_offset; member
H A 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()
/kernel/linux/linux-6.6/net/core/
H A Dgso.c118 SKB_GSO_CB(skb)->mac_offset = skb_headroom(skb); in __skb_gso_segment()
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c902 u8 *mac_offset; in sec_cipher_pbuf_map() local
918 mac_offset = qp_ctx->res[req_id].pbuf + copy_size - authsize; in sec_cipher_pbuf_map()
919 memcpy(a_req->out_mac, mac_offset, authsize); in sec_cipher_pbuf_map()
/kernel/linux/linux-5.10/include/linux/
H A Dskbuff.h4407 int mac_offset; member
4420 SKB_GSO_CB(inner_skb)->mac_offset; in skb_tnl_header_len()
4434 SKB_GSO_CB(skb)->mac_offset += (new_headroom - headroom); in gso_pskb_expand_head()
H A Dnetdevice.h4945 int pulled_hlen, u16 mac_offset, in skb_gso_error_unwind()
4952 skb->mac_header = mac_offset; in skb_gso_error_unwind()
4944 skb_gso_error_unwind(struct sk_buff *skb, __be16 protocol, int pulled_hlen, u16 mac_offset, int mac_len) skb_gso_error_unwind() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
H A Dtg3.c17029 u32 hi, lo, mac_offset; in tg3_get_device_address() local
17042 mac_offset = 0x7c; in tg3_get_device_address()
17046 mac_offset = 0xcc; in tg3_get_device_address()
17053 mac_offset = 0xcc; in tg3_get_device_address()
17055 mac_offset += 0x18c; in tg3_get_device_address()
17057 mac_offset = 0x10; in tg3_get_device_address()
17077 !tg3_nvram_read_be32(tp, mac_offset + 0, &hi) && in tg3_get_device_address()
17078 !tg3_nvram_read_be32(tp, mac_offset + 4, &lo)) { in tg3_get_device_address()
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/
H A Dtg3.c16952 u32 hi, lo, mac_offset; in tg3_get_device_address() local
16965 mac_offset = 0x7c; in tg3_get_device_address()
16969 mac_offset = 0xcc; in tg3_get_device_address()
16976 mac_offset = 0xcc; in tg3_get_device_address()
16978 mac_offset += 0x18c; in tg3_get_device_address()
16980 mac_offset = 0x10; in tg3_get_device_address()
17000 !tg3_nvram_read_be32(tp, mac_offset + 0, &hi) && in tg3_get_device_address()
17001 !tg3_nvram_read_be32(tp, mac_offset + 4, &lo)) { in tg3_get_device_address()
/kernel/linux/linux-5.10/net/core/
H A Ddev.c3416 SKB_GSO_CB(skb)->mac_offset = skb_headroom(skb); in __skb_gso_segment()

Completed in 81 milliseconds