Home
last modified time | relevance | path

Searched refs:ETHER_ADDR_LEN (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/boot/include/net/
H A Dethernet.h14 #define ETHER_ADDR_LEN 6 /* length of an Ethernet address */ macro
17 #define ETHER_HDR_LEN (ETHER_ADDR_LEN*2+ETHER_TYPE_LEN)
61 u_char ether_dhost[ETHER_ADDR_LEN];
62 u_char ether_shost[ETHER_ADDR_LEN];
70 u_char octet[ETHER_ADDR_LEN];
79 uint8_t evl_dhost[ETHER_ADDR_LEN];
80 uint8_t evl_shost[ETHER_ADDR_LEN];
/illumos-gate/usr/src/boot/include/netinet/
H A Dif_ether.h81 u_char arp_sha[ETHER_ADDR_LEN]; /* sender hardware address */
83 u_char arp_tha[ETHER_ADDR_LEN]; /* target hardware address */
112 extern u_char ether_ipmulticast_min[ETHER_ADDR_LEN];
113 extern u_char ether_ipmulticast_max[ETHER_ADDR_LEN];
/illumos-gate/usr/src/cmd/bhyve/common/
H A Dnet_utils.c49 char zero_addr[ETHER_ADDR_LEN] = { 0, 0, 0, 0, 0, 0 }; in net_parsemac()
57 memcmp(ea->octet, zero_addr, ETHER_ADDR_LEN) == 0) { in net_parsemac()
61 memcpy(mac_addr, ea->octet, ETHER_ADDR_LEN); in net_parsemac()
H A Dpci_e82545.c1225 hdrlen = ETHER_ADDR_LEN*2; in e82545_transmit()
1261 if (vlen != 0 && hdrlen < ETHER_ADDR_LEN*2) { in e82545_transmit()
1264 ETHER_ADDR_LEN*2); in e82545_transmit()
1361 memmove(hdr, hdr + ETHER_VLAN_ENCAP_LEN, ETHER_ADDR_LEN*2); in e82545_transmit()
1363 hdr[ETHER_ADDR_LEN*2 + 0] = sc->esc_VET >> 8; in e82545_transmit()
1364 hdr[ETHER_ADDR_LEN*2 + 1] = sc->esc_VET & 0xff; in e82545_transmit()
1365 hdr[ETHER_ADDR_LEN*2 + 2] = dsc->td.upper.fields.special >> 8; in e82545_transmit()
1366 hdr[ETHER_ADDR_LEN*2 + 3] = dsc->td.upper.fields.special & 0xff; in e82545_transmit()
2297 ETHER_ADDR_LEN); in e82545_reset()
/illumos-gate/usr/src/compat/bhyve/net/
H A Dethernet.h27 #define ETHER_ADDR_LEN 6 /* length of an Ethernet address */ macro