Searched refs:ifr_addr (Results 1 – 13 of 13) sorted by relevance
/haiku/headers/posix/net/ |
H A D | if.h | 36 struct sockaddr ifr_addr; member 101 (IF_NAMESIZE + (request).ifr_addr.sa_len > (int)sizeof(struct ifreq) \ 102 ? IF_NAMESIZE + (request).ifr_addr.sa_len : sizeof(struct ifreq))
|
/haiku/src/bin/network/traceroute/ |
H A D | ifaddrlist.c | 102 n = ifrp->ifr_addr.sa_len + sizeof(ifrp->ifr_name); in ifaddrlist() 107 if (ifrp->ifr_addr.sa_family != AF_INET) in ifaddrlist() 150 sin = (struct sockaddr_in *)&ifr.ifr_addr; in ifaddrlist()
|
/haiku/src/kits/network/libnetapi/ |
H A D | NetworkInterface.cpp | 438 memcpy(&request.ifr_addr, &address.Address().SockAddr(), in RemoveAddress() 450 memcpy(&request.ifr_addr, &address.SockAddr(), address.Length()); in RemoveAddress() 481 address.SetTo(request.ifr_addr); in GetHardwareAddress()
|
H A D | NetworkRoster.cpp | 141 request.ifr_addr.sa_family = AF_UNSPEC; in RemoveInterface()
|
H A D | NetworkDevice.cpp | 702 address.SetTo(request.ifr_addr); in GetHardwareAddress()
|
/haiku/src/system/kernel/fs/ |
H A D | vfs_net_boot.cpp | 204 sockaddr_dl& link = *(sockaddr_dl*)&request.ifr_addr; in _ScanDevice() 232 sockaddr_in& address = *(sockaddr_in*)&request.ifr_addr; in _ScanDevice()
|
/haiku/src/add-ons/kernel/network/stack/ |
H A D | datalink.cpp | 274 if (request.ifr_addr.sa_family != AF_UNSPEC in datalink_control() 275 && request.ifr_addr.sa_len != 0) { in datalink_control() 796 = get_interface_address(&request.ifr_addr); in interface_protocol_control() 804 size_t maxLength = length - offsetof(ifreq, ifr_addr); in interface_protocol_control() 808 &((struct ifreq*)argument)->ifr_addr, maxLength); in interface_protocol_control()
|
H A D | link.cpp | 433 return user_memcpy(&((struct ifreq*)value)->ifr_addr, in link_control()
|
H A D | interfaces.cpp | 877 size_t size = max_c(request.ifr_addr.sa_len, sizeof(sockaddr)); in Control() 881 if (user_memcpy(&newAddress, &userRequest->ifr_addr, size) != B_OK) in Control()
|
/haiku/src/libs/uuid/ |
H A D | gen_uuid.c | 179 sizeof((i).ifr_name)+(i).ifr_addr.sa_len) in get_node_id() 206 sdlp = (struct sockaddr_dl *) &ifrp->ifr_addr; in get_node_id()
|
/haiku/src/system/libnetwork/ |
H A D | getifaddrs.cpp | 82 current->ifa_addr = copy_address(interfaces[0].ifr_addr); in _getifaddrs()
|
/haiku/src/bin/debug/strace/ |
H A D | NetworkTypes.cpp | 539 int size = IF_NAMESIZE + ifr->ifr_addr.sa_len; in format_pointer() 548 + format_pointer(context, &ifr->ifr_addr) + "}}"; in format_pointer()
|
/haiku/src/system/libnetwork/netresolv/net/ |
H A D | getaddrinfo.c | 947 memcpy(&ifr6.ifr_addr, ai.ai_addr, ai.ai_addrlen); in set_source()
|