Home
last modified time | relevance | path

Searched refs:ETH_TLEN (Results 1 – 8 of 8) sorted by relevance

/linux/include/linux/
H A Dif_vlan.h358 const u8 meta_len = mac_len > ETH_TLEN ? skb_metadata_len(skb) : 0; in __vlan_insert_inner_tag()
367 if (likely(mac_len > ETH_TLEN)) in __vlan_insert_inner_tag()
368 skb_postpush_data_move(skb, VLAN_HLEN, mac_len - ETH_TLEN); in __vlan_insert_inner_tag()
375 if (likely(mac_len >= ETH_TLEN)) { in __vlan_insert_inner_tag()
/linux/include/uapi/linux/
H A Dif_ether.h33 #define ETH_TLEN 2 /* Octets in ethernet type field */ macro
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_rxtx.c224 err = prestera_dsa_parse(&dsa, skb->data - ETH_TLEN); in prestera_rxtx_process_skb()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_tc.c927 priv->est->max_sdu[j] = qopt->max_sdu[i] + ETH_HLEN - ETH_TLEN; in tc_taprio_map_maxsdu_txq()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_txrx.c759 #define OTX2_VLAN_PTR_OFFSET (ETH_HLEN - ETH_TLEN) in otx2_sqe_add_ext()
/linux/drivers/net/wireless/intel/iwlwifi/mei/
H A Dmain.c1056 sizeof(rfc1042_header) + ETH_TLEN)
/linux/net/core/
H A Dskbuff.c6298 if (likely(mac_len > VLAN_HLEN + ETH_TLEN)) { in skb_reorder_vlan_header()
6300 mac_len - VLAN_HLEN - ETH_TLEN); in skb_reorder_vlan_header()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_main.c6598 ring->max_sdu = qopt->max_sdu[i] + dev->hard_header_len - ETH_TLEN; in igc_save_qbv_schedule()