Lines Matching defs:address
99 struct in_addr in4; /* IPv4 address */
101 struct in6_addr in6; /* IPv6 address */
108 uint8_t etheraddr[ETH_ADDR_LEN]; /* MAC address */
1111 * Attempts to set 'netdev''s MAC address to 'mac'. Returns 0 if successful,
1142 error = solaris_set_dlprop_string(netdev_name, "mac-address", buffer,
1214 * Only the bridge ethernet address can be changed outside the
1227 error = solaris_get_dlprop(netdev_name, "mac-address", "current",
1929 * If 'netdev' has an assigned IPv4 address, sets '*address' to that
1930 * address and '*netmask' to the associated netmask. Otherwise, returns
1935 struct in_addr *address, struct in_addr *netmask)
1947 *address = netdev->in4;
1977 *address = netdev->in4;
1989 netdev_solaris_set_in4(struct netdev *netdev_, struct in_addr address,
2013 sin->sin_addr = address;
2019 if (address.s_addr == htonl(INADDR_ANY))
2027 netdev->in4 = address;
2039 * If 'netdev' has an assigned IPv6 address, sets '*address' to that
2040 * address. Otherwise, returns errno.
2043 netdev_solaris_get_in6(const struct netdev *netdev_, struct in6_addr *address)
2055 if (!IN6_IS_ADDR_UNSPECIFIED(address))
2056 *address = netdev->in6;
2080 if (!IN6_IS_ADDR_UNSPECIFIED(address))
2081 *address = netdev->in6;
2182 * successful, stores the next hop gateway's address (0 if 'host' is on a
2318 * successfully retrieved, it stores the corresponding MAC address in 'mac' and