netlink(3) Library Functions Manual netlink(3) netlink - (libc -lc) #include #include int NLMSG_ALIGN(size_t size); int NLMSG_LENGTH(size_t size); int NLMSG_SPACE(size_t size); void *NLMSG_DATA(struct nlmsghdr *nlh); struct nlmsghdr *NLMSG_NEXT(struct nlmsghdr *nlh, int size); int NLMSG_OK(struct nlmsghdr *nlh, int size); int NLMSG_PAYLOAD(struct nlmsghdr *nlh, int size); . cmsg(3) . . NLMSG_ALIGN() . NLMSG_LENGTH() size nlmsg_len nlmsghdr. NLMSG_SPACE() size. NLMSG_DATA() nlmsghdr . NLMSG_NEXT() nlmsghdr . nlmsghdr NLMSG_DONE-- NULL . size lvalue . . NLMSG_OK() . NLMSG_PAYLOAD() nlmsghdr. libnetlink . . libnetlink(3), netlink(7) 3 . . : . 6.18 8 2026 netlink(3)