Home
last modified time | relevance | path

Searched refs:eth_type (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_send.c750 ((u8_t*)&vlan_tag)[0] = packet->l2pkt_tx_info->eth_type[1]; //VF is in secure mode in lm_send_packet()
751 ((u8_t*)&vlan_tag)[1] = packet->l2pkt_tx_info->eth_type[0]; //VF is in secure mode in lm_send_packet()
753 ((u8_t*)&vlan_tag)[0] = packet->l2pkt_tx_info->eth_type[3]; //VF is in secure mode in lm_send_packet()
754 ((u8_t*)&vlan_tag)[1] = packet->l2pkt_tx_info->eth_type[2]; //VF is in secure mode in lm_send_packet()
/titanic_44/usr/src/uts/common/io/hxge/
H A Dhxge_txdma.c261 uint16_t eth_type; in hxge_fill_tx_hdr() local
297 eth_type = ntohs(((p_ether_header_t)hdrs_buf)->ether_type); in hxge_fill_tx_hdr()
300 eth_type, hdrp->value)); in hxge_fill_tx_hdr()
302 if (eth_type < ETHERMTU) { in hxge_fill_tx_hdr()
309 eth_type = ntohs(*((uint16_t *)(hdrs_buf + in hxge_fill_tx_hdr()
313 eth_type)); in hxge_fill_tx_hdr()
317 } else if (eth_type == VLAN_ETHERTYPE) { in hxge_fill_tx_hdr()
321 eth_type = ntohs(((struct ether_vlan_header *) in hxge_fill_tx_hdr()
334 switch (eth_type) { in hxge_fill_tx_hdr()
/titanic_44/usr/src/uts/common/io/nxge/
H A Dnxge_txdma.c469 uint16_t eth_type; in nxge_fill_tx_hdr() local
516 eth_type = ntohs(((p_ether_header_t)hdrs_buf)->ether_type); in nxge_fill_tx_hdr()
518 "ether type 0x%x", eth_type, hdrp->value)); in nxge_fill_tx_hdr()
520 if (eth_type < ETHERMTU) { in nxge_fill_tx_hdr()
527 eth_type = ntohs(*((uint16_t *)(hdrs_buf + in nxge_fill_tx_hdr()
531 eth_type)); in nxge_fill_tx_hdr()
535 } else if (eth_type == VLAN_ETHERTYPE) { in nxge_fill_tx_hdr()
539 eth_type = ntohs(((struct ether_vlan_header *) in nxge_fill_tx_hdr()
552 switch (eth_type) { in nxge_fill_tx_hdr()
/titanic_44/usr/src/uts/common/io/bnxe/577xx/include/
H A Dlm_defs.h435 u8_t eth_type[4]; member