Lines Matching refs:nl_msg
367 static struct nl_msg *__nlmsg_alloc(size_t len) in __nlmsg_alloc()
369 struct nl_msg *nm; in __nlmsg_alloc()
404 struct nl_msg *nlmsg_alloc(void) in nlmsg_alloc()
412 struct nl_msg *nlmsg_alloc_size(size_t max) in nlmsg_alloc_size()
427 struct nl_msg *nlmsg_inherit(struct nlmsghdr *hdr) in nlmsg_inherit()
429 struct nl_msg *nm; in nlmsg_inherit()
451 struct nl_msg *nlmsg_alloc_simple(int nlmsgtype, int flags) in nlmsg_alloc_simple()
453 struct nl_msg *msg; in nlmsg_alloc_simple()
487 struct nl_msg *nlmsg_convert(struct nlmsghdr *hdr) in nlmsg_convert()
489 struct nl_msg *nm; in nlmsg_convert()
515 void *nlmsg_reserve(struct nl_msg *n, size_t len, int pad) in nlmsg_reserve()
550 int nlmsg_append(struct nl_msg *n, void *data, size_t len, int pad) in nlmsg_append()
578 int nlmsg_expand(struct nl_msg *n, size_t newlen) in nlmsg_expand()
611 struct nlmsghdr *nlmsg_put(struct nl_msg *n, uint32_t pid, uint32_t seq, in nlmsg_put()
644 struct nlmsghdr *nlmsg_hdr(struct nl_msg *n) in nlmsg_hdr()
653 void nlmsg_get(struct nl_msg *msg) in nlmsg_get()
666 void nlmsg_free(struct nl_msg *msg) in nlmsg_free()
692 void nlmsg_set_proto(struct nl_msg *msg, int protocol) in nlmsg_set_proto()
697 int nlmsg_get_proto(struct nl_msg *msg) in nlmsg_get_proto()
702 size_t nlmsg_get_max_size(struct nl_msg *msg) in nlmsg_get_max_size()
707 void nlmsg_set_src(struct nl_msg *msg, struct sockaddr_nl *addr) in nlmsg_set_src()
712 struct sockaddr_nl *nlmsg_get_src(struct nl_msg *msg) in nlmsg_get_src()
717 void nlmsg_set_dst(struct nl_msg *msg, struct sockaddr_nl *addr) in nlmsg_set_dst()
722 struct sockaddr_nl *nlmsg_get_dst(struct nl_msg *msg) in nlmsg_get_dst()
727 void nlmsg_set_creds(struct nl_msg *msg, struct ucred *creds) in nlmsg_set_creds()
733 struct ucred *nlmsg_get_creds(struct nl_msg *msg) in nlmsg_get_creds()
828 int nl_msg_parse(struct nl_msg *msg, void (*cb)(struct nl_object *, void *), in nl_msg_parse()
898 static void print_hdr(FILE *ofd, struct nl_msg *msg) in print_hdr()
965 void nl_msg_dump(struct nl_msg *msg, FILE *ofd) in nl_msg_dump()
978 struct nl_msg *errmsg; in nl_msg_dump()