Searched refs:nlmsghdr (Results 1 - 4 of 4) sorted by relevance

/fuchsia/zircon/third_party/ulib/musl/src/network/
H A Dnetlink.h7 struct nlmsghdr { struct
79 #define NLMSG_DATA(nlh) ((void*)((char*)(nlh) + sizeof(struct nlmsghdr)))
80 #define NLMSG_DATALEN(nlh) ((nlh)->nlmsg_len - sizeof(struct nlmsghdr))
82 #define NLMSG_NEXT(nlh) (struct nlmsghdr*)((char*)(nlh) + NETLINK_ALIGN((nlh)->nlmsg_len))
83 #define NLMSG_OK(nlh, end) ((char*)(end) - (char*)(nlh) >= sizeof(struct nlmsghdr))
91 #define NLMSG_RTA(nlh, len) ((void*)((char*)(nlh) + sizeof(struct nlmsghdr) + NETLINK_ALIGN(len)))
94 int __rtnetlink_enumerate(int link_af, int addr_af, int (*cb)(void* ctx, struct nlmsghdr* h),
H A Dnetlink.c8 int (*cb)(void* ctx, struct nlmsghdr* h), void* ctx) {
9 struct nlmsghdr* h;
13 struct nlmsghdr nlh;
16 struct nlmsghdr reply;
46 int __rtnetlink_enumerate(int link_af, int addr_af, int (*cb)(void* ctx, struct nlmsghdr* h),
H A Dif_nameindex.c24 static int netlink_msg_to_nameindex(void* pctx, struct nlmsghdr* h) {
H A Dgetifaddrs.c106 static int netlink_msg_to_ifaddr(void* pctx, struct nlmsghdr* h) {

Completed in 29 milliseconds