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
156 * nla_next(nla, remaining) get next netlink attribute
478 * struct nl_info - netlink source information
479 * @nlh: Netlink message header of original request
481 * @portid: Netlink PORTID of requesting application
482 * @skip_notify: Skip netlink notifications to user space
494 * enum netlink_validation - netlink message/attribute validation levels
566 * Netlink Messages
570 * nlmsg_msg_size - length of netlink message not including padding
579 * nlmsg_total_size - length of netlink message including padding
598 * @nlh: netlink message header
607 * @nlh: netlink message header
616 * @nlh: netlink message header
628 * @nlh: netlink message header
637 * nlmsg_ok - check if the netlink message fits into the remaining bytes
638 * @nlh: netlink message header
649 * nlmsg_next - next netlink message in message stream
650 * @nlh: netlink message header
653 * Returns: the next netlink message in the message stream and
743 * __nlmsg_parse - parse attributes of a netlink message
744 * @nlh: netlink message header
771 * nlmsg_parse - parse attributes of a netlink message
772 * @nlh: netlink message header
791 * nlmsg_parse_deprecated - parse attributes of a netlink message
792 * @nlh: netlink message header
811 * nlmsg_parse_deprecated_strict - parse attributes of a netlink message
812 * @nlh: netlink message header
832 * nlmsg_find_attr - find a specific attribute in a netlink message
833 * @nlh: netlink message header
892 * nlmsg_validate_deprecated - validate a netlink message including attributes
916 * @nlh: netlink message header
926 * nlmsg_seq - return the seq number of netlink message
927 * @nlh: netlink message header
929 * Returns: 0 if netlink message is NULL
939 * @nlh: netlink message header
948 * nlmsg_put - Add a new netlink message to an skb
950 * @portid: netlink PORTID of requesting application
990 * nlmsg_put_answer - Add a new callback based netlink message to an skb
992 * @cb: netlink callback
1010 * nlmsg_new - Allocate a new netlink message
1023 * nlmsg_new_large - Allocate a new netlink message with non-contiguous
1037 * nlmsg_end - Finalize a netlink message
1039 * @nlh: netlink message header
1041 * Corrects the netlink message header to include the appended
1051 * nlmsg_get_pos - return current position in netlink message
1077 * nlmsg_cancel - Cancel construction of a netlink message
1079 * @nlh: netlink message header
1081 * Removes the complete netlink message including all
1090 * nlmsg_free - drop a netlink message
1091 * @skb: socket buffer of netlink message
1099 * nlmsg_consume - free a netlink message
1100 * @skb: socket buffer of netlink message
1108 * nlmsg_multicast_filtered - multicast a netlink message with filter function
1109 * @sk: netlink socket to spread messages to
1110 * @skb: netlink message as socket buffer
1111 * @portid: own netlink portid to avoid sending to yourself
1138 * nlmsg_multicast - multicast a netlink message
1139 * @sk: netlink socket to spread messages to
1140 * @skb: netlink message as socket buffer
1141 * @portid: own netlink portid to avoid sending to yourself
1153 * nlmsg_unicast - unicast a netlink message
1154 * @sk: netlink socket to spread message to
1155 * @skb: netlink message as socket buffer
1156 * @portid: netlink portid of the destination socket
1183 * @cb: netlink callback structure that stores the sequence number
1184 * @nlh: netlink message header to write the flag to
1187 * and if it did, advertises it in the netlink message header.
1206 * Netlink Attributes
1238 * @nla: netlink attribute
1247 * @nla: netlink attribute
1256 * @nla: netlink attribute
1264 * nla_ok - check if the netlink attribute fits into the remaining bytes
1265 * @nla: netlink attribute
1276 * nla_next - next netlink attribute in attribute stream
1277 * @nla: netlink attribute
1280 * Returns: the next netlink attribute in the attribute stream and
1348 * nla_put_u8 - Add a u8 netlink attribute to a socket buffer
1362 * nla_put_u16 - Add a u16 netlink attribute to a socket buffer
1375 * nla_put_be16 - Add a __be16 netlink attribute to a socket buffer
1388 * nla_put_net16 - Add 16-bit network byte order netlink attribute to a socket buffer
1401 * nla_put_le16 - Add a __le16 netlink attribute to a socket buffer
1414 * nla_put_u32 - Add a u32 netlink attribute to a socket buffer
1443 * nla_put_be32 - Add a __be32 netlink attribute to a socket buffer
1456 * nla_put_net32 - Add 32-bit network byte order netlink attribute to a socket buffer
1469 * nla_put_le32 - Add a __le32 netlink attribute to a socket buffer
1482 * nla_put_u64_64bit - Add a u64 netlink attribute to a skb and align it
1497 * nla_put_be64 - Add a __be64 netlink attribute to a socket buffer and align it
1528 * nla_put_le64 - Add a __le64 netlink attribute to a socket buffer and align it
1543 * nla_put_s8 - Add a s8 netlink attribute to a socket buffer
1556 * nla_put_s16 - Add a s16 netlink attribute to a socket buffer
1569 * nla_put_s32 - Add a s32 netlink attribute to a socket buffer
1582 * nla_put_s64 - Add a s64 netlink attribute to a socket buffer and align it
1613 * nla_put_string - Add a string netlink attribute to a socket buffer
1625 * nla_put_flag - Add a flag netlink attribute to a socket buffer
1635 * nla_put_msecs - Add a msecs netlink attribute to a skb and align it
1650 * nla_put_in_addr - Add an IPv4 address netlink attribute to a socket
1665 * nla_put_in6_addr - Add an IPv6 address netlink attribute to a socket
1678 * nla_put_bitfield32 - Add a bitfield32 netlink attribute to a socket buffer
1694 * @nla: u32 netlink attribute
1703 * @nla: u32 netlink attribute, may be %NULL
1717 * @nla: __be32 netlink attribute
1726 * @nla: __be32 netlink attribute, may be %NULL
1741 * @nla: __le32 netlink attribute
1750 * @nla: __le32 netlink attribute, may be %NULL
1765 * @nla: u16 netlink attribute
1774 * @nla: u16 netlink attribute, may be %NULL
1788 * @nla: __be16 netlink attribute
1797 * @nla: __be16 netlink attribute, may be %NULL
1812 * @nla: __le16 netlink attribute
1821 * @nla: __le16 netlink attribute, may be %NULL
1836 * @nla: u8 netlink attribute
1845 * @nla: u8 netlink attribute, may be %NULL
1859 * @nla: u64 netlink attribute
1872 * @nla: u64 netlink attribute, may be %NULL
1886 * @nla: uint netlink attribute
1897 * @nla: uint netlink attribute, may be %NULL
1911 * @nla: __be64 netlink attribute
1924 * @nla: __be64 netlink attribute, may be %NULL
1939 * @nla: __le64 netlink attribute
1948 * @nla: __le64 netlink attribute, may be %NULL
1963 * @nla: s32 netlink attribute
1972 * @nla: s32 netlink attribute, may be %NULL
1986 * @nla: s16 netlink attribute
1995 * @nla: s16 netlink attribute, may be %NULL
2009 * @nla: s8 netlink attribute
2018 * @nla: s8 netlink attribute, may be %NULL
2032 * @nla: s64 netlink attribute
2045 * @nla: s64 netlink attribute, may be %NULL
2059 * @nla: uint netlink attribute
2070 * @nla: sint netlink attribute, may be %NULL
2084 * @nla: flag netlink attribute
2093 * @nla: msecs netlink attribute
2106 * @nla: msecs netlink attribute, may be %NULL
2121 * @nla: IPv4 address netlink attribute
2130 * @nla: IPv4 address netlink attribute, may be %NULL
2145 * @nla: IPv6 address netlink attribute
2169 * @src: netlink attribute to duplicate from
2325 * Conditionally emit a padding netlink attribute in order to make