Lines Matching refs:nlmsghdr

141 static void rtnl_talk_error(struct nlmsghdr *h, struct nlmsgerr *err,  in rtnl_talk_error()
149 size_t iovlen, struct nlmsghdr **answer, in __rtnl_talk_iov()
161 struct nlmsghdr *h; in __rtnl_talk_iov()
192 for (h = (struct nlmsghdr *)buf; status >= sizeof(*h); ) { in __rtnl_talk_iov()
212 h = (struct nlmsghdr *)((char *)h + NLMSG_ALIGN(len)); in __rtnl_talk_iov()
239 *answer = (struct nlmsghdr *)buf; in __rtnl_talk_iov()
245 *answer = (struct nlmsghdr *)buf; in __rtnl_talk_iov()
250 h = (struct nlmsghdr *)((char *)h + NLMSG_ALIGN(len)); in __rtnl_talk_iov()
264 static int __rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, in __rtnl_talk()
265 struct nlmsghdr **answer, bool show_rtnl_err, in __rtnl_talk()
276 int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, in rtnl_talk()
277 struct nlmsghdr **answer) in rtnl_talk()
282 int addattr(struct nlmsghdr *n, int maxlen, int type) in addattr()
287 int addattr8(struct nlmsghdr *n, int maxlen, int type, __u8 data) in addattr8()
292 int addattr16(struct nlmsghdr *n, int maxlen, int type, __u16 data) in addattr16()
297 int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data) in addattr32()
302 int addattr64(struct nlmsghdr *n, int maxlen, int type, __u64 data) in addattr64()
307 int addattrstrz(struct nlmsghdr *n, int maxlen, int type, const char *str) in addattrstrz()
312 int addattr_l(struct nlmsghdr *n, int maxlen, int type, const void *data, in addattr_l()
332 int addraw_l(struct nlmsghdr *n, int maxlen, const void *data, int len) in addraw_l()
346 struct rtattr *addattr_nest(struct nlmsghdr *n, int maxlen, int type) in addattr_nest()
354 int addattr_nest_end(struct nlmsghdr *n, struct rtattr *nest) in addattr_nest_end()