Searched refs:nlh (Results 1 – 3 of 3) sorted by relevance
62 struct nlmsghdr *nlh; in netlink_send() local70 nlh = (struct nlmsghdr *)buf; in netlink_send()71 nlh->nlmsg_seq = seq++; in netlink_send()72 nlh->nlmsg_pid = getpid(); in netlink_send()73 nlh->nlmsg_type = NLMSG_DONE; in netlink_send()74 nlh->nlmsg_len = NLMSG_LENGTH(size - sizeof(*nlh)); in netlink_send()75 nlh->nlmsg_flags = 0; in netlink_send()77 m = NLMSG_DATA(nlh); in netlink_send()84 err = send(s, nlh, size, 0); in netlink_send()
59 struct nlmsghdr *nlh;72 nlh = nlmsg_put(skb, 0, 0x123, NLMSG_DONE, size - sizeof(*nlh), 0);73 if (!nlh) {78 msg = nlmsg_data(nlh);
250 struct nlmsghdr *nlh;279 nlh = (void *hdr) + NL_MMAP_HDRLEN;292 nlh = buf;297 process_msg(nlh);316 struct nlmsghdr *nlh;326 nlh = (void *)hdr + NL_MMAP_HDRLEN;329 build_message(nlh);332 hdr->nm_len = nlh->nlmsg_len;