Home
last modified time | relevance | path

Searched refs:mnl_socket (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/app/forlinx/quectelCM/libmnl/
H A Dsocket.c69 struct mnl_socket { struct
85 int mnl_socket_get_fd(const struct mnl_socket *nl) in mnl_socket_get_fd() argument
99 unsigned int mnl_socket_get_portid(const struct mnl_socket *nl) in mnl_socket_get_portid()
104 static struct mnl_socket *__mnl_socket_open(int bus, int flags) in __mnl_socket_open()
106 struct mnl_socket *nl; in __mnl_socket_open()
108 nl = calloc(1, sizeof(struct mnl_socket)); in __mnl_socket_open()
128 struct mnl_socket *mnl_socket_open(int bus) in mnl_socket_open()
145 struct mnl_socket *mnl_socket_open2(int bus, int flags) in mnl_socket_open2()
161 struct mnl_socket *mnl_socket_fdopen(int fd) in mnl_socket_fdopen()
164 struct mnl_socket *nl; in mnl_socket_fdopen()
[all …]
H A Dlibmnl.h23 struct mnl_socket;
25 extern struct mnl_socket *mnl_socket_open(int bus);
26 extern struct mnl_socket *mnl_socket_open2(int bus, int flags);
27 extern struct mnl_socket *mnl_socket_fdopen(int fd);
28 extern int mnl_socket_bind(struct mnl_socket *nl, unsigned int groups, pid_t pid);
29 extern int mnl_socket_close(struct mnl_socket *nl);
30 extern int mnl_socket_get_fd(const struct mnl_socket *nl);
31 extern unsigned int mnl_socket_get_portid(const struct mnl_socket *nl);
32 extern ssize_t mnl_socket_sendto(const struct mnl_socket *nl, const void *req, size_t siz);
33 extern ssize_t mnl_socket_recvfrom(const struct mnl_socket *nl, void *buf, size_t siz);
[all …]
H A Difutils.c80 struct mnl_socket *nl; in if_act_on_link()
167 struct mnl_socket *nl; in if_set_mtu()
249 struct mnl_socket *nl; in if_act_on_addr()
442 struct mnl_socket *nl; in if_get_addr()
549 struct mnl_socket *nl; in if_act_on_route()
/OK3568_Linux_fs/kernel/tools/testing/selftests/netfilter/
H A Dnf-queue.c207 struct mnl_socket *open_queue(void) in open_queue()
211 struct mnl_socket *nl; in open_queue()
273 struct mnl_socket *nl; in mainloop()