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_consume() free a netlink message (expected)
45 * nlmsg_free() free a netlink message (drop)
65 * nlmsg_next(nlh, remaining) get next netlink message
69 * nlmsg_validate() validate netlink message incl. attrs
90 * struct nlattr netlink attribute header
155 * nla_next(nla, remaining) get next netlink attribute
477 * struct nl_info - netlink source information
478 * @nlh: Netlink message header of original request
480 * @portid: Netlink PORTID of requesting application
481 * @skip_notify: Skip netlink notifications to user space
493 * enum netlink_validation - netlink message/attribute validation levels
565 * Netlink Messages
569 * nlmsg_msg_size - length of netlink message not including padding
578 * nlmsg_total_size - length of netlink message including padding
597 * @nlh: netlink message header
606 * @nlh: netlink message header
615 * @nlh: netlink message header
627 * @nlh: netlink message header
636 * nlmsg_ok - check if the netlink message fits into the remaining bytes
637 * @nlh: netlink message header
648 * nlmsg_next - next netlink message in message stream
649 * @nlh: netlink message header
652 * Returns: the next netlink message in the message stream and
742 * __nlmsg_parse - parse attributes of a netlink message
743 * @nlh: netlink message header
770 * nlmsg_parse - parse attributes of a netlink message
771 * @nlh: netlink message header
790 * nlmsg_parse_deprecated - parse attributes of a netlink message
791 * @nlh: netlink message header
810 * nlmsg_parse_deprecated_strict - parse attributes of a netlink message
811 * @nlh: netlink message header
831 * nlmsg_find_attr - find a specific attribute in a netlink message
832 * @nlh: netlink message header
891 * nlmsg_validate_deprecated - validate a netlink message including attributes
915 * @nlh: netlink message header
925 * nlmsg_seq - return the seq number of netlink message
926 * @nlh: netlink message header
928 * Returns: 0 if netlink message is NULL
938 * @nlh: netlink message header
947 * nlmsg_put - Add a new netlink message to an skb
949 * @portid: netlink PORTID of requesting application
989 * nlmsg_put_answer - Add a new callback based netlink message to an skb
991 * @cb: netlink callback
1009 * nlmsg_new - Allocate a new netlink message
1022 * nlmsg_new_large - Allocate a new netlink message with non-contiguous
1036 * nlmsg_end - Finalize a netlink message
1038 * @nlh: netlink message header
1040 * Corrects the netlink message header to include the appended
1050 * nlmsg_get_pos - return current position in netlink message
1076 * nlmsg_cancel - Cancel construction of a netlink message
1078 * @nlh: netlink message header
1080 * Removes the complete netlink message including all
1089 * nlmsg_free - drop a netlink message
1090 * @skb: socket buffer of netlink message
1098 * nlmsg_consume - free a netlink message
1099 * @skb: socket buffer of netlink message
1107 * nlmsg_multicast_filtered - multicast a netlink message with filter function
1108 * @sk: netlink socket to spread messages to
1109 * @skb: netlink message as socket buffer
1110 * @portid: own netlink portid to avoid sending to yourself
1137 * nlmsg_multicast - multicast a netlink message
1138 * @sk: netlink socket to spread messages to
1139 * @skb: netlink message as socket buffer
1140 * @portid: own netlink portid to avoid sending to yourself
1152 * nlmsg_unicast - unicast a netlink message
1153 * @sk: netlink socket to spread message to
1154 * @skb: netlink message as socket buffer
1155 * @portid: netlink portid of the destination socket
1182 * @cb: netlink callback structure that stores the sequence number
1183 * @nlh: netlink message header to write the flag to
1186 * and if it did, advertises it in the netlink message header.
1205 * Netlink Attributes
1237 * @nla: netlink attribute
1246 * @nla: netlink attribute
1255 * @nla: netlink attribute
1263 * nla_ok - check if the netlink attribute fits into the remaining bytes
1264 * @nla: netlink attribute
1275 * nla_next - next netlink attribute in attribute stream
1276 * @nla: netlink attribute
1279 * Returns: the next netlink attribute in the attribute stream and
1347 * nla_put_u8 - Add a u8 netlink attribute to a socket buffer
1361 * nla_put_u16 - Add a u16 netlink attribute to a socket buffer
1374 * nla_put_be16 - Add a __be16 netlink attribute to a socket buffer
1387 * nla_put_net16 - Add 16-bit network byte order netlink attribute to a socket buffer
1400 * nla_put_le16 - Add a __le16 netlink attribute to a socket buffer
1413 * nla_put_u32 - Add a u32 netlink attribute to a socket buffer
1442 * nla_put_be32 - Add a __be32 netlink attribute to a socket buffer
1455 * nla_put_net32 - Add 32-bit network byte order netlink attribute to a socket buffer
1468 * nla_put_le32 - Add a __le32 netlink attribute to a socket buffer
1481 * nla_put_u64_64bit - Add a u64 netlink attribute to a skb and align it
1496 * nla_put_be64 - Add a __be64 netlink attribute to a socket buffer and align it
1527 * nla_put_le64 - Add a __le64 netlink attribute to a socket buffer and align it
1542 * nla_put_s8 - Add a s8 netlink attribute to a socket buffer
1555 * nla_put_s16 - Add a s16 netlink attribute to a socket buffer
1568 * nla_put_s32 - Add a s32 netlink attribute to a socket buffer
1581 * nla_put_s64 - Add a s64 netlink attribute to a socket buffer and align it
1612 * nla_put_string - Add a string netlink attribute to a socket buffer
1624 * nla_put_flag - Add a flag netlink attribute to a socket buffer
1634 * nla_put_msecs - Add a msecs netlink attribute to a skb and align it
1649 * nla_put_in_addr - Add an IPv4 address netlink attribute to a socket
1664 * nla_put_in6_addr - Add an IPv6 address netlink attribute to a socket
1677 * nla_put_bitfield32 - Add a bitfield32 netlink attribute to a socket buffer
1693 * @nla: u32 netlink attribute
1702 * @nla: u32 netlink attribute, may be %NULL
1716 * @nla: __be32 netlink attribute
1725 * @nla: __be32 netlink attribute, may be %NULL
1740 * @nla: __le32 netlink attribute
1749 * @nla: __le32 netlink attribute, may be %NULL
1764 * @nla: u16 netlink attribute
1773 * @nla: u16 netlink attribute, may be %NULL
1787 * @nla: __be16 netlink attribute
1796 * @nla: __be16 netlink attribute, may be %NULL
1811 * @nla: __le16 netlink attribute
1820 * @nla: __le16 netlink attribute, may be %NULL
1835 * @nla: u8 netlink attribute
1844 * @nla: u8 netlink attribute, may be %NULL
1858 * @nla: u64 netlink attribute
1871 * @nla: u64 netlink attribute, may be %NULL
1885 * @nla: uint netlink attribute
1896 * @nla: uint netlink attribute, may be %NULL
1910 * @nla: __be64 netlink attribute
1923 * @nla: __be64 netlink attribute, may be %NULL
1938 * @nla: __le64 netlink attribute
1947 * @nla: __le64 netlink attribute, may be %NULL
1962 * @nla: s32 netlink attribute
1971 * @nla: s32 netlink attribute, may be %NULL
1985 * @nla: s16 netlink attribute
1994 * @nla: s16 netlink attribute, may be %NULL
2008 * @nla: s8 netlink attribute
2017 * @nla: s8 netlink attribute, may be %NULL
2031 * @nla: s64 netlink attribute
2044 * @nla: s64 netlink attribute, may be %NULL
2058 * @nla: uint netlink attribute
2069 * @nla: sint netlink attribute, may be %NULL
2083 * @nla: flag netlink attribute
2092 * @nla: msecs netlink attribute
2105 * @nla: msecs netlink attribute, may be %NULL
2120 * @nla: IPv4 address netlink attribute
2129 * @nla: IPv4 address netlink attribute, may be %NULL
2144 * @nla: IPv6 address netlink attribute
2168 * @src: netlink attribute to duplicate from
2310 * Conditionally emit a padding netlink attribute in order to make