/external/iproute2/include/uapi/linux/ |
if_addr.h | 8 struct ifaddrmsg { struct 24 * If present, the value from struct ifaddrmsg will be ignored. 65 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) 66 #define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
|
/external/kernel-headers/original/uapi/linux/ |
if_addr.h | 8 struct ifaddrmsg { struct 24 * If present, the value from struct ifaddrmsg will be ignored. 66 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) 67 #define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
|
/bionic/libc/kernel/uapi/linux/ |
if_addr.h | 23 struct ifaddrmsg { struct 62 #define IFA_RTA(r) ((struct rtattr *) (((char *) (r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) 63 #define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct ifaddrmsg))
|
/external/android-clat/ |
netlink_msg.h | 16 * netlink_msg.h - send an ifaddrmsg/ifinfomsg via netlink 22 struct nl_msg *nlmsg_alloc_ifaddr(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa); 26 void send_ifaddrmsg(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa, struct nl_cb *callbacks);
|
netlink_msg.c | 16 * netlink_msg.c - send an ifaddrmsg/ifinfomsg/rtmsg via netlink 78 * allocates a netlink message with a struct ifaddrmsg inside of it. returns NULL on failure 81 * ifa - ifaddrmsg to copy into the new netlink message 83 struct nl_msg *nlmsg_alloc_ifaddr(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa) { 151 * sends a netlink/ifaddrmsg message and hands the responses to the callbacks 154 * ifa - ifaddrmsg to send 157 void send_ifaddrmsg(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa, struct nl_cb *callbacks) {
|
getaddr.c | 46 struct ifaddrmsg *ifa_p; 51 ifa_p = (struct ifaddrmsg *)nlmsg_data(nlmsg_hdr(msg)); 101 struct ifaddrmsg ifa;
|
setif.c | 42 struct ifaddrmsg ifa;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
if_addr.h | 7 struct ifaddrmsg { struct 56 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) 57 #define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
|
/external/libnl/include/linux-private/linux/ |
if_addr.h | 7 struct ifaddrmsg { struct 23 * If present, the value from struct ifaddrmsg will be ignored.
|
/external/webrtc/webrtc/base/ |
ifaddrs-android.cc | 30 ifaddrmsg msg; 67 int set_addresses(struct ifaddrs* ifaddr, ifaddrmsg* msg, void* data, 118 int populate_ifaddrs(struct ifaddrs* ifaddr, ifaddrmsg* msg, void* bytes, 145 ifaddr_request.header.nlmsg_len = NLMSG_LENGTH(sizeof(ifaddrmsg)); 172 ifaddrmsg* address_msg = 173 reinterpret_cast<ifaddrmsg*>(NLMSG_DATA(header));
|
/external/strace/tests/ |
nlattr_ifaddrmsg.c | 60 struct ifaddrmsg *const msg = NLMSG_DATA(nlh); 61 SET_STRUCT(struct ifaddrmsg, msg, 87 const unsigned int hdrlen = sizeof(struct ifaddrmsg);
|
/external/strace/tests-m32/ |
nlattr_ifaddrmsg.c | 60 struct ifaddrmsg *const msg = NLMSG_DATA(nlh); 61 SET_STRUCT(struct ifaddrmsg, msg, 87 const unsigned int hdrlen = sizeof(struct ifaddrmsg);
|
/external/strace/tests-mx32/ |
nlattr_ifaddrmsg.c | 60 struct ifaddrmsg *const msg = NLMSG_DATA(nlh); 61 SET_STRUCT(struct ifaddrmsg, msg, 87 const unsigned int hdrlen = sizeof(struct ifaddrmsg);
|
/external/ltp/testcases/lib/ |
tst_net_iface_prefix.c | 64 struct ifaddrmsg addrmsg; 72 msg.nlhdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifaddrmsg)); 83 struct ifaddrmsg *retaddr; 88 retaddr = (struct ifaddrmsg *)NLMSG_DATA(retmsg);
|
/kernel/tests/net/test/ |
iproute.py | 132 IfAddrMsg = cstruct.Struct( 133 "IfAddrMsg", "=BBBBI", 438 "ADDR": IfAddrMsg, 476 ifaddrmsg = IfAddrMsg((family, 0, 0, 0, 0)) 477 return self._Dump(RTM_GETADDR, ifaddrmsg, IfAddrMsg, "") 482 ifaddrmsg = IfAddrMsg((family, prefixlen, flags, scope, ifindex)).Pack() 483 ifaddrmsg += self._NlAttrIPAddress(IFA_ADDRESS, family, addr [all...] |
/device/google/cuttlefish_common/common/libs/net/ |
netlink_request.cpp | 102 ifaddrmsg* ad_info = Reserve<ifaddrmsg>();
|
/external/strace/ |
rtnl_addr.c | 51 const struct ifaddrmsg *const ifaddr = opaque_data; 108 struct ifaddrmsg ifaddr = { .ifa_family = family };
|
/external/iproute2/include/ |
libnetlink.h | 199 ((struct rtattr *)(((char *)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) 202 #define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct ifaddrmsg))
|
/external/dnsmasq/src/ |
netlink.c | 28 ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) 188 struct ifaddrmsg *ifa = NLMSG_DATA(h);
|
/prebuilts/go/darwin-x86/src/net/ |
interface_linux.go | 152 ifam := (*syscall.IfAddrmsg)(unsafe.Pointer(&m.Data[0])) 175 func newAddr(ifam *syscall.IfAddrmsg, attrs []syscall.NetlinkRouteAttr) Addr {
|
/prebuilts/go/linux-x86/src/net/ |
interface_linux.go | 152 ifam := (*syscall.IfAddrmsg)(unsafe.Pointer(&m.Data[0])) 175 func newAddr(ifam *syscall.IfAddrmsg, attrs []syscall.NetlinkRouteAttr) Addr {
|
/bionic/libc/bionic/ |
ifaddrs.cpp | 194 ifaddrmsg* msg = reinterpret_cast<ifaddrmsg*>(NLMSG_DATA(hdr));
|
/external/iproute2/ip/ |
ipaddress.c | [all...] |
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/ |
IPACM_Netlink.h | 147 struct ifaddrmsg metainfo; /* from header */
|
/prebuilts/go/darwin-x86/src/syscall/ |
ztypes_linux_arm64.go | 462 type IfAddrmsg struct {
|