Lines Matching refs:mnl_socket
69 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()
172 nl = calloc(1, sizeof(struct mnl_socket)); in mnl_socket_fdopen()
193 int mnl_socket_bind(struct mnl_socket *nl, unsigned int groups, in mnl_socket_bind()
232 ssize_t mnl_socket_sendto(const struct mnl_socket *nl, in mnl_socket_sendto()
256 ssize_t mnl_socket_recvfrom(const struct mnl_socket *nl, in mnl_socket_recvfrom()
296 int mnl_socket_close(struct mnl_socket *nl) in mnl_socket_close()
328 int mnl_socket_setsockopt(const struct mnl_socket *nl, int type, in mnl_socket_setsockopt()
343 int mnl_socket_getsockopt(const struct mnl_socket *nl, int type, in mnl_socket_getsockopt()