Searched defs:etheraddr (Results 1 - 2 of 2) sorted by relevance

/solaris-userland/components/openvswitch/files/lib/
H A Dnetdev-solaris.c108 uint8_t etheraddr[ETH_ADDR_LEN]; /* MAC address */ member in struct:netdev_solaris
1127 (eth_addr_equals(netdev->etheraddr, mac))) {
1145 VLOG_ERR("set etheraddr %s on %s device failed: %s",
1150 memcpy(netdev->etheraddr, mac, ETH_ADDR_LEN);
1220 memcpy(mac, netdev->etheraddr, ETH_ADDR_LEN);
1230 VLOG_ERR("Unable to retrieve etheraddr for %s device",
1236 VLOG_ERR("Invalid etheraddr for %s device", netdev_name);
1241 memcpy(netdev->etheraddr, mac, ETH_ADDR_LEN);
H A Dutil-solaris.c2681 uchar_t *etheraddr; local
2704 if ((etheraddr = _link_aton(sep, &etheraddrlen)) == NULL) {
2711 free(etheraddr);
2718 bcopy(etheraddr, &eth_key.eth_src, ETHERADDRL);
2725 bcopy(etheraddr, &eth_key.eth_dst, ETHERADDRL);
2731 free(etheraddr);

Completed in 28 milliseconds