Lines Matching full:netlink
6 #include <linux/netlink.h>
11 * Netlink Messages and Attributes Interface (As Seen On TV)
34 * struct nlmsghdr netlink message header
37 * nlmsg_new() create a new netlink message
38 * nlmsg_put() add a netlink message to an skb
40 * nlmsg_end() finalize netlink message
44 * nlmsg_free() free a netlink message
64 * nlmsg_next(nlh, remaining) get next netlink message
68 * nlmsg_validate() validate netlink message incl. attrs
89 * struct nlattr netlink attribute header
152 * nla_next(nla, remaining) get next netlink attribute
469 * struct nl_info - netlink source information
470 * @nlh: Netlink message header of original request
472 * @portid: Netlink PORTID of requesting application
473 * @skip_notify: Skip netlink notifications to user space
485 * enum netlink_validation - netlink message/attribute validation levels
557 * Netlink Messages
561 * nlmsg_msg_size - length of netlink message not including padding
570 * nlmsg_total_size - length of netlink message including padding
589 * @nlh: netlink message header
598 * @nlh: netlink message header
607 * @nlh: netlink message header
619 * @nlh: netlink message header
628 * nlmsg_ok - check if the netlink message fits into the remaining bytes
629 * @nlh: netlink message header
640 * nlmsg_next - next netlink message in message stream
641 * @nlh: netlink message header
644 * Returns the next netlink message in the message stream and
734 * __nlmsg_parse - parse attributes of a netlink message
735 * @nlh: netlink message header
762 * nlmsg_parse - parse attributes of a netlink message
763 * @nlh: netlink message header
782 * nlmsg_parse_deprecated - parse attributes of a netlink message
783 * @nlh: netlink message header
802 * nlmsg_parse_deprecated_strict - parse attributes of a netlink message
803 * @nlh: netlink message header
823 * nlmsg_find_attr - find a specific attribute in a netlink message
824 * @nlh: netlink message header
883 * nlmsg_validate_deprecated - validate a netlink message including attributes
907 * @nlh: netlink message header
917 * nlmsg_seq - return the seq number of netlink message
918 * @nlh: netlink message header
920 * Returns 0 if netlink message is NULL
930 * @nlh: netlink message header
939 * nlmsg_put - Add a new netlink message to an skb
941 * @portid: netlink PORTID of requesting application
981 * nlmsg_put_answer - Add a new callback based netlink message to an skb
983 * @cb: netlink callback
1001 * nlmsg_new - Allocate a new netlink message
1014 * nlmsg_new_large - Allocate a new netlink message with non-contiguous
1028 * nlmsg_end - Finalize a netlink message
1030 * @nlh: netlink message header
1032 * Corrects the netlink message header to include the appeneded
1042 * nlmsg_get_pos - return current position in netlink message
1068 * nlmsg_cancel - Cancel construction of a netlink message
1070 * @nlh: netlink message header
1072 * Removes the complete netlink message including all
1081 * nlmsg_free - free a netlink message
1082 * @skb: socket buffer of netlink message
1090 * nlmsg_multicast_filtered - multicast a netlink message with filter function
1091 * @sk: netlink socket to spread messages to
1092 * @skb: netlink message as socket buffer
1093 * @portid: own netlink portid to avoid sending to yourself
1120 * nlmsg_multicast - multicast a netlink message
1121 * @sk: netlink socket to spread messages to
1122 * @skb: netlink message as socket buffer
1123 * @portid: own netlink portid to avoid sending to yourself
1135 * nlmsg_unicast - unicast a netlink message
1136 * @sk: netlink socket to spread message to
1137 * @skb: netlink message as socket buffer
1138 * @portid: netlink portid of the destination socket
1165 * @cb: netlink callback structure that stores the sequence number
1166 * @nlh: netlink message header to write the flag to
1169 * and if it did, advertises it in the netlink message header.
1188 * Netlink Attributes
1220 * @nla: netlink attribute
1229 * @nla: netlink attribute
1238 * @nla: netlink attribute
1246 * nla_ok - check if the netlink attribute fits into the remaining bytes
1247 * @nla: netlink attribute
1258 * nla_next - next netlink attribute in attribute stream
1259 * @nla: netlink attribute
1262 * Returns the next netlink attribute in the attribute stream and
1330 * nla_put_u8 - Add a u8 netlink attribute to a socket buffer
1344 * nla_put_u16 - Add a u16 netlink attribute to a socket buffer
1357 * nla_put_be16 - Add a __be16 netlink attribute to a socket buffer
1370 * nla_put_net16 - Add 16-bit network byte order netlink attribute to a socket buffer
1383 * nla_put_le16 - Add a __le16 netlink attribute to a socket buffer
1396 * nla_put_u32 - Add a u32 netlink attribute to a socket buffer
1425 * nla_put_be32 - Add a __be32 netlink attribute to a socket buffer
1438 * nla_put_net32 - Add 32-bit network byte order netlink attribute to a socket buffer
1451 * nla_put_le32 - Add a __le32 netlink attribute to a socket buffer
1464 * nla_put_u64_64bit - Add a u64 netlink attribute to a skb and align it
1479 * nla_put_be64 - Add a __be64 netlink attribute to a socket buffer and align it
1510 * nla_put_le64 - Add a __le64 netlink attribute to a socket buffer and align it
1525 * nla_put_s8 - Add a s8 netlink attribute to a socket buffer
1538 * nla_put_s16 - Add a s16 netlink attribute to a socket buffer
1551 * nla_put_s32 - Add a s32 netlink attribute to a socket buffer
1564 * nla_put_s64 - Add a s64 netlink attribute to a socket buffer and align it
1595 * nla_put_string - Add a string netlink attribute to a socket buffer
1607 * nla_put_flag - Add a flag netlink attribute to a socket buffer
1617 * nla_put_msecs - Add a msecs netlink attribute to a skb and align it
1632 * nla_put_in_addr - Add an IPv4 address netlink attribute to a socket
1647 * nla_put_in6_addr - Add an IPv6 address netlink attribute to a socket
1660 * nla_put_bitfield32 - Add a bitfield32 netlink attribute to a socket buffer
1676 * @nla: u32 netlink attribute
1685 * @nla: __be32 netlink attribute
1694 * @nla: __le32 netlink attribute
1703 * @nla: u16 netlink attribute
1712 * @nla: __be16 netlink attribute
1721 * @nla: __le16 netlink attribute
1730 * @nla: u8 netlink attribute
1739 * @nla: u64 netlink attribute
1752 * @nla: uint netlink attribute
1763 * @nla: __be64 netlink attribute
1776 * @nla: __le64 netlink attribute
1785 * @nla: s32 netlink attribute
1794 * @nla: s16 netlink attribute
1803 * @nla: s8 netlink attribute
1812 * @nla: s64 netlink attribute
1825 * @nla: uint netlink attribute
1836 * @nla: flag netlink attribute
1845 * @nla: msecs netlink attribute
1858 * @nla: IPv4 address netlink attribute
1867 * @nla: IPv6 address netlink attribute
1891 * @src: netlink attribute to duplicate from
2032 * Conditionally emit a padding netlink attribute in order to make