Searched refs:eth_type (Results 1 - 6 of 6) sorted by relevance

/freebsd-11-stable/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_tx.c134 uint16_t eth_type; local
143 eth_type = ntohs(eh->evl_proto);
146 eth_type = ntohs(eh->evl_encap_proto);
150 switch (eth_type) {
192 uint16_t eth_type; local
201 eth_type = ntohs(eh->evl_proto);
204 eth_type = ntohs(eh->evl_encap_proto);
207 switch (eth_type) {
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_tx.c506 uint16_t eth_type; local
513 eth_type = ntohs(eh->evl_proto);
516 eth_type = ntohs(eh->evl_encap_proto);
521 switch (eth_type) {
/freebsd-11-stable/sys/dev/virtio/network/
H A Dif_vtnet.c1481 uint16_t eth_type, int ip_start, struct virtio_net_hdr *hdr)
1491 switch (eth_type) {
1531 uint16_t eth_type, int ip_start, struct virtio_net_hdr *hdr)
1538 switch (eth_type) {
1585 "protocol eth_type=%#x proto=%d csum_start=%d "
1586 "csum_offset=%d\n", __func__, eth_type, proto,
1611 uint16_t eth_type; local
1615 eth_type = ntohs(eh->ether_type);
1616 if (eth_type == ETHERTYPE_VLAN) {
1619 eth_type
1480 vtnet_rxq_csum_by_offset(struct vtnet_rxq *rxq, struct mbuf *m, uint16_t eth_type, int ip_start, struct virtio_net_hdr *hdr) argument
1530 vtnet_rxq_csum_by_parse(struct vtnet_rxq *rxq, struct mbuf *m, uint16_t eth_type, int ip_start, struct virtio_net_hdr *hdr) argument
2051 vtnet_txq_offload_tso(struct vtnet_txq *txq, struct mbuf *m, int eth_type, int offset, struct virtio_net_hdr *hdr) argument
[all...]
/freebsd-11-stable/tools/bus_space/examples/
H A Dam79c900_diag.py84 ('eth_type', ctypes.c_uint16),
300 pkt.eth_type = 0x0800
/freebsd-11-stable/sys/mips/nlm/dev/net/
H A Dnae.c907 uint32_t l2proto, uint32_t eth_type)
915 (eth_type & 0xffff);
905 nlm_setup_l3ctable_even(uint64_t nae_base, int entry, uint32_t l3hdroff, uint32_t ipcsum_en, uint32_t l4protooff, uint32_t l2proto, uint32_t eth_type) argument
/freebsd-11-stable/sys/dev/cxgb/
H A Dcxgb_sge.c1454 uint16_t eth_type; local
1483 eth_type = eh->ether_type;
1484 if (eth_type == htons(ETHERTYPE_VLAN)) {
1489 eth_type = evh->evl_proto;
1495 if (eth_type == htons(ETHERTYPE_IP)) {
1500 } else if (eth_type == htons(ETHERTYPE_IPV6)) {

Completed in 331 milliseconds