Lines Matching refs:nl
434 const struct nlmsghdr *nl = buffer;
446 sa->nl.nl_family != AF_NETLINK ||
447 sa->nl.nl_pid != 0) {
457 if (!NLMSG_OK(nl, buffer_size)) {
463 if (IN_SET(nl->nlmsg_type, NLMSG_NOOP, NLMSG_ERROR))
467 if (nl->nlmsg_type < AUDIT_FIRST_USER_MSG)
470 process_audit_string(s, nl->nlmsg_type, NLMSG_DATA(nl), nl->nlmsg_len - ALIGN(sizeof(struct nlmsghdr)));
490 .nl.nl_family = AF_NETLINK,
491 .nl.nl_pid = 0,
501 .msg_namelen = sizeof(sa.nl),
524 .nl.nl_family = AF_NETLINK,
525 .nl.nl_pid = 0,
526 .nl.nl_groups = AUDIT_NLGRP_READLOG,
539 if (bind(s->audit_fd, &sa.sa, sizeof(sa.nl)) < 0) {