Lines Matching refs:nlmsghdr
96 struct nlmsghdr *nlh;
115 char reqbuf[NLMSG_ALIGN(sizeof(struct nlmsghdr)) + NLMSG_ALIGN(sizeof(struct rtgenmsg))]; in nl_sendreq()
117 struct nlmsghdr *req_hdr; in nl_sendreq()
124 req_hdr = (struct nlmsghdr *) reqbuf; in nl_sendreq()
163 static int nl_getmsg(int sd, int request, int seq, struct nlmsghdr **nlhp, int *done) in nl_getmsg()
165 struct nlmsghdr *nh; in nl_getmsg()
187 nh = (struct nlmsghdr *) buff; in nl_getmsg()
188 …for (nh = (struct nlmsghdr *) buff; NLMSG_OK(nh, read_size); nh = (struct nlmsghdr *) NLMSG_NEXT(n… in nl_getmsg()
214 *nlhp = (struct nlmsghdr *) buff; in nl_getmsg()
220 struct nlmsghdr *nlh = NULL; in nl_getlist()
242 nlm_next->nlh = (struct nlmsghdr *) nlh; in nl_getlist()
353 struct nlmsghdr *nlh, *nlh0; in ni_ifaddrs()