Home
last modified time | relevance | path

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

/external/iproute2/devlink/
Dmnlg.h17 struct mnlg_socket;
19 struct nlmsghdr *mnlg_msg_prepare(struct mnlg_socket *nlg, uint8_t cmd,
21 int mnlg_socket_send(struct mnlg_socket *nlg, const struct nlmsghdr *nlh);
22 int mnlg_socket_recv_run(struct mnlg_socket *nlg, mnl_cb_t data_cb, void *data);
23 int mnlg_socket_group_add(struct mnlg_socket *nlg, const char *group_name);
24 struct mnlg_socket *mnlg_socket_open(const char *family_name, uint8_t version);
25 void mnlg_socket_close(struct mnlg_socket *nlg);
Dmnlg.c23 struct mnlg_socket { struct
32 static struct nlmsghdr *__mnlg_msg_prepare(struct mnlg_socket *nlg, uint8_t cmd, in __mnlg_msg_prepare() argument
52 struct nlmsghdr *mnlg_msg_prepare(struct mnlg_socket *nlg, uint8_t cmd, in mnlg_msg_prepare()
58 int mnlg_socket_send(struct mnlg_socket *nlg, const struct nlmsghdr *nlh) in mnlg_socket_send()
63 int mnlg_socket_recv_run(struct mnlg_socket *nlg, mnl_cb_t data_cb, void *data) in mnlg_socket_recv_run()
158 int mnlg_socket_group_add(struct mnlg_socket *nlg, const char *group_name) in mnlg_socket_group_add()
219 struct mnlg_socket *mnlg_socket_open(const char *family_name, uint8_t version) in mnlg_socket_open()
221 struct mnlg_socket *nlg; in mnlg_socket_open()
269 void mnlg_socket_close(struct mnlg_socket *nlg) in mnlg_socket_close()
Ddevlink.c84 static int _mnlg_socket_recv_run(struct mnlg_socket *nlg, in _mnlg_socket_recv_run()
97 static int _mnlg_socket_sndrcv(struct mnlg_socket *nlg, in _mnlg_socket_sndrcv()
111 static int _mnlg_socket_group_add(struct mnlg_socket *nlg, in _mnlg_socket_group_add()
204 struct mnlg_socket *nlg;