Searched refs:mac_offset (Results 1 – 11 of 11) sorted by relevance
| /linux/include/net/ |
| H A D | gso.h | 16 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() argument 104 skb->mac_header = mac_offset; in skb_gso_error_unwind()
|
| /linux/net/mpls/ |
| H A D | mpls_gso.c | 24 u16 mac_offset = skb->mac_header; in mpls_gso_segment() local 53 skb_gso_error_unwind(skb, mpls_protocol, mpls_hlen, mac_offset, in mpls_gso_segment()
|
| /linux/net/nsh/ |
| H A D | nsh.c | 82 u16 mac_offset = skb->mac_header; in nsh_gso_segment() local 113 mac_offset, mac_len); in nsh_gso_segment()
|
| /linux/net/ipv4/ |
| H A D | gre_offload.c | 22 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 D | udp_offload.c | 182 u16 mac_offset = skb->mac_header; in __skb_udp_tunnel_segment() local 245 skb_gso_error_unwind(skb, protocol, tnl_hlen, mac_offset, in __skb_udp_tunnel_segment()
|
| /linux/drivers/net/wireless/marvell/libertas/ |
| H A D | dev.h | 74 u32 mac_offset; member
|
| H A D | debugfs.c | 446 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/net/core/ |
| H A D | gso.c | 118 SKB_GSO_CB(skb)->mac_offset = skb_headroom(skb); in __skb_gso_segment()
|
| H A D | skbuff.c | 7468 int mac_offset) in __vlan_get_protocol_offset() argument 7486 vh = skb_header_pointer(skb, mac_offset + vlan_depth, in __vlan_get_protocol_offset()
|
| /linux/drivers/crypto/hisilicon/sec2/ |
| H A D | sec_crypto.c | 976 u8 *mac_offset, *pbuf; in GEN_SEC_SETKEY_FUNC() local 994 mac_offset = pbuf + copy_size - authsize; in GEN_SEC_SETKEY_FUNC() 995 memcpy(req->aead_req.out_mac, mac_offset, authsize); in GEN_SEC_SETKEY_FUNC()
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | tg3.c | 17034 u32 hi, lo, mac_offset; in tg3_get_device_address() local 17047 mac_offset = 0x7c; in tg3_get_device_address() 17051 mac_offset = 0xcc; in tg3_get_device_address() 17058 mac_offset = 0xcc; in tg3_get_device_address() 17060 mac_offset += 0x18c; in tg3_get_device_address() 17062 mac_offset = 0x10; in tg3_get_device_address() 17084 !tg3_nvram_read_be32(tp, mac_offset + 0, &be_hi) && in tg3_get_device_address() 17085 !tg3_nvram_read_be32(tp, mac_offset + 4, &be_lo)) { in tg3_get_device_address()
|