Home
last modified time | relevance | path

Searched refs:nlh (Results 1 – 3 of 3) sorted by relevance

/Documentation/connector/
Ducon.c62 struct nlmsghdr *nlh; in netlink_send() local
70 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()
Dcn_test.c59 struct nlmsghdr *nlh;
72 nlh = nlmsg_put(skb, 0, 0x123, NLMSG_DONE, size - sizeof(*nlh), 0);
73 if (!nlh) {
78 msg = nlmsg_data(nlh);
/Documentation/networking/
Dnetlink_mmap.txt250 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;