Home
last modified time | relevance | path

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

/freebsd/tools/tools/netmap/
H A Dpkt_hash.c289 saddr = ethh->ether_shost[5] | in decode_others_n_hash()
290 (ethh->ether_shost[4] << 8) | in decode_others_n_hash()
291 (ethh->ether_shost[3] << 16) | in decode_others_n_hash()
292 (ethh->ether_shost[2] << 24); in decode_others_n_hash()
293 daddr = ethh->ether_dhost[5] | in decode_others_n_hash()
294 (ethh->ether_dhost[4] << 8) | in decode_others_n_hash()
295 (ethh->ether_dhost[3] << 16) | in decode_others_n_hash()
296 (ethh->ether_dhost[2] << 24); in decode_others_n_hash()
327 rc = decode_others_n_hash(ethh, seed); in decode_vlan_n_hash()
343 switch (ntohs(ethh->ether_type)) { in pkt_hdr_hash()
[all …]
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_iwarp.c2040 eth_type, ethh->h_source[0], ethh->h_source[1], in ecore_iwarp_parse_rx_pkt()
2041 ethh->h_source[2], ethh->h_source[3], in ecore_iwarp_parse_rx_pkt()
2042 ethh->h_source[4], ethh->h_source[5]); in ecore_iwarp_parse_rx_pkt()
2045 eth_hlen, ethh->h_dest[0], ethh->h_dest[1], in ecore_iwarp_parse_rx_pkt()
2046 ethh->h_dest[2], ethh->h_dest[3], in ecore_iwarp_parse_rx_pkt()
2047 ethh->h_dest[4], ethh->h_dest[5]); in ecore_iwarp_parse_rx_pkt()
2538 ethh->h_source[2], ethh->h_source[3], in ecore_iwarp_mpa_print_tcp_seq()
2539 ethh->h_source[4], ethh->h_source[5]); in ecore_iwarp_mpa_print_tcp_seq()
2542 eth_hlen, ethh->h_dest[0], ethh->h_dest[1], in ecore_iwarp_mpa_print_tcp_seq()
2543 ethh->h_dest[2], ethh->h_dest[3], in ecore_iwarp_mpa_print_tcp_seq()
[all …]
/freebsd/sys/dev/irdma/
H A Dirdma_cm.c466 struct ether_header *ethh; in irdma_form_uda_cm_frame() local
506 ethh = (struct ether_header *)buf; in irdma_form_uda_cm_frame()
520 ether_addr_copy(ethh->ether_dhost, cm_node->rem_mac); in irdma_form_uda_cm_frame()
523 ((struct ether_vlan_header *)ethh)->evl_proto = in irdma_form_uda_cm_frame()
532 ethh->ether_type = htons(ETH_P_IP); in irdma_form_uda_cm_frame()
556 ((struct ether_vlan_header *)ethh)->evl_proto = in irdma_form_uda_cm_frame()
564 ethh->ether_type = htons(ETH_P_IPV6); in irdma_form_uda_cm_frame()
3015 struct ether_vlan_header *ethh; in irdma_receive_ilq() local
3032 ethh = rbuf->mem.va; in irdma_receive_ilq()
3034 if (ethh->evl_proto == htons(ETH_P_8021Q)) { in irdma_receive_ilq()
[all …]
H A Dirdma_utils.c1437 struct ether_header *ethh = buf->mem.va; in irdma_gen1_puda_get_tcpip_info() local
1439 if (ethh->ether_type == htons(0x8100)) { in irdma_gen1_puda_get_tcpip_info()
1441 buf->vlan_id = ntohs(((struct ether_vlan_header *)ethh)->evl_tag) & in irdma_gen1_puda_get_tcpip_info()