Lines Matching full:socket

11 #include <sys/socket.h>
43 * It provides functions to make socket handling, message building,
75 * \defgroup socket Netlink socket helpers
80 * mnl_socket_get_fd - obtain file descriptor from netlink socket
81 * \param nl netlink socket obtained via mnl_socket_open()
83 * This function returns the file descriptor of a given netlink socket.
91 * mnl_socket_get_portid - obtain Netlink PortID from netlink socket
92 * \param nl netlink socket obtained via mnl_socket_open()
94 * This function returns the Netlink PortID of a given netlink socket.
97 * socket that is binded to the same Netlink subsystem from the same process.
112 nl->fd = socket(AF_NETLINK, SOCK_RAW | flags, bus); in __mnl_socket_open()
122 * mnl_socket_open - open a netlink socket
123 * \param bus the netlink socket bus ID (see NETLINK_* constants)
134 * mnl_socket_open2 - open a netlink socket with appropriate flags
135 * \param bus the netlink socket bus ID (see NETLINK_* constants)
136 * \param flags the netlink socket flags (see SOCK_* constants in socket(2))
139 * SOCK_CLOEXEC at socket creation time (useful for multi-threaded programs
151 * mnl_socket_fdopen - associates a mnl_socket object with pre-existing socket.
152 * \param fd pre-existing socket descriptor.
156 * if the socket fd is already bound and it is AF_NETLINK.
159 * non-netlink socket.
184 * mnl_socket_bind - bind netlink socket
185 * \param nl netlink socket obtained via mnl_socket_open()
225 * \param nl netlink socket obtained via mnl_socket_open()
244 * \param nl netlink socket obtained via mnl_socket_open()
290 * mnl_socket_close - close a given netlink socket
291 * \param nl netlink socket obtained via mnl_socket_open()
304 * mnl_socket_setsockopt - set Netlink socket option
305 * \param nl netlink socket obtained via mnl_socket_open()
306 * \param type type of Netlink socket options
310 * This function allows you to set some Netlink socket option. As of writing
335 * mnl_socket_getsockopt - get a Netlink socket option
336 * \param nl netlink socket obtained via mnl_socket_open()
337 * \param type type of Netlink socket options