Lines Matching refs:nlmsghdr
252 struct nlmsghdr *nlh = (struct nlmsghdr *)err - 1; in ovpn_nl_cb_error()
1061 static int ovpn_addattr(struct nlmsghdr *n, int maxlen, int type, in ovpn_addattr()
1087 static struct rtattr *ovpn_nest_start(struct nlmsghdr *msg, size_t max_size, in ovpn_nest_start()
1098 static void ovpn_nest_end(struct nlmsghdr *msg, struct rtattr *nest) in ovpn_nest_end()
1171 typedef int (*ovpn_parse_reply_cb)(struct nlmsghdr *msg, void *arg);
1174 static int ovpn_rt_send(struct nlmsghdr *payload, pid_t peer, in ovpn_rt_send()
1181 struct nlmsghdr *h; in ovpn_rt_send()
1263 h = (struct nlmsghdr *)buf; in ovpn_rt_send()
1326 h = (struct nlmsghdr *)((uint8_t *)h + in ovpn_rt_send()
1349 struct nlmsghdr n;
1482 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ovpn_handle_msg()