Lines Matching refs:nlmsghdr
30 struct nlmsghdr h;
54 typedef int (*req_filter_fn_t)(struct nlmsghdr *nlh, int reqlen);
65 int rtnl_dump_request_n(struct rtnl_handle *rth, struct nlmsghdr *n)
73 struct nlmsghdr *n, void *);
77 struct nlmsghdr *n, void *);
80 const struct nlmsghdr *inner_nlh);
95 int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n,
96 struct nlmsghdr *answer, size_t len)
98 int rtnl_talk_extack(struct rtnl_handle *rtnl, struct nlmsghdr *n,
99 struct nlmsghdr *answer, size_t len, nl_ext_ack_fn_t errfn)
101 int rtnl_talk_suppress_rtnl_errmsg(struct rtnl_handle *rtnl, struct nlmsghdr *n,
102 struct nlmsghdr *answer, size_t len)
109 int addattr(struct nlmsghdr *n, int maxlen, int type);
110 int addattr8(struct nlmsghdr *n, int maxlen, int type, __u8 data);
111 int addattr16(struct nlmsghdr *n, int maxlen, int type, __u16 data);
112 int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data);
113 int addattr64(struct nlmsghdr *n, int maxlen, int type, __u64 data);
114 int addattrstrz(struct nlmsghdr *n, int maxlen, int type, const char *data);
116 int addattr_l(struct nlmsghdr *n, int maxlen, int type,
118 int addraw_l(struct nlmsghdr *n, int maxlen, const void *data, int len);
119 struct rtattr *addattr_nest(struct nlmsghdr *n, int maxlen, int type);
120 int addattr_nest_end(struct nlmsghdr *n, struct rtattr *nest);
121 struct rtattr *addattr_nest_compat(struct nlmsghdr *n, int maxlen, int type,
123 int addattr_nest_compat_end(struct nlmsghdr *n, struct rtattr *nest);