Searched refs:NLMSG_OK (Results 1 – 3 of 3) sorted by relevance
315 if (NLMSG_OK(nl->rbuffer, len) && nl->rbuffer->nlmsg_flags & NLM_F_MULTI) { in socket_read_message()326 …for (struct nlmsghdr *new_msg = nl->rbuffer; NLMSG_OK(new_msg, len) && !done; new_msg = NLMSG_NEXT… in socket_read_message()
98 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ macro
444 if (!NLMSG_OK(nl, buffer_size)) { in server_process_audit_message()