Lines Matching refs:netlink
2 * lib/nl.c Core Netlink Interface
25 * // a piece of data to the other netlink peer. This method is not
31 * // a netlink message.
40 * // You're probably too lazy to fill out the netlink pid, sequence number
43 * // number, the netlink pid stored in the netlink socket and the message
49 * // encapsulated in a netlink message header.
84 #include <netlink-local.h>
85 #include <netlink/netlink.h>
86 #include <netlink/utils.h>
87 #include <netlink/handlers.h>
88 #include <netlink/msg.h>
89 #include <netlink/attr.h>
97 * Create and connect netlink socket.
98 * @arg sk Netlink socket.
99 * @arg protocol Netlink protocol to use.
101 * Creates a netlink socket using the specified protocol, binds the socket
159 * Close/Disconnect netlink socket.
160 * @arg sk Netlink socket.
180 * Send raw data over netlink socket.
181 * @arg sk Netlink socket.
199 * Send netlink message with control over sendmsg() message header.
200 * @arg sk Netlink socket.
201 * @arg msg Netlink message to be sent.
227 * Send netlink message.
228 * @arg sk Netlink socket.
229 * @arg msg Netlink message to be sent.
275 * Send netlink message.
276 * @arg sk Netlink socket.
277 * @arg msg Netlink message to be sent.
312 * Send netlink message and check & extend header values as needed.
313 * @arg sk Netlink socket.
314 * @arg msg Netlink message to be sent.
316 * Checks the netlink message \c nlh for completness and extends it
336 * Send simple netlink message using nl_send_auto_complete()
337 * @arg sk Netlink socket.
338 * @arg type Netlink message type.
339 * @arg flags Netlink message flags.
343 * Builds a netlink message with the specified type and flags and
381 * Receive data from netlink socket
382 * @arg sk Netlink socket.
383 * @arg nla Destination pointer for peer's netlink address.
387 * Receives a netlink message, allocates a buffer in \c *buf and
388 * stores the message content. The peer's netlink address is stored
566 /* We can't check for !NLM_F_MULTI since some netlink
687 * Receive a set of messages from a netlink socket.
688 * @arg sk Netlink socket.
693 * received data as netlink messages. Stops reading if one of the
710 * Receive a set of message from a netlink socket using handlers in nl_sock.
711 * @arg sk Netlink socket.
713 * Calls nl_recvmsgs() with the handlers configured in the netlink socket.
728 * @arg sk Netlink socket.
729 * @pre The netlink socket must be in blocking state.
732 * netlink message.