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
153 * nla_next(nla, remaining) get next netlink attribute
474 * struct nl_info - netlink source information
475 * @nlh: Netlink message header of original request
477 * @portid: Netlink PORTID of requesting application
478 * @skip_notify: Skip netlink notifications to user space
490 * enum netlink_validation - netlink message/attribute validation levels
562 * Netlink Messages
566 * nlmsg_msg_size - length of netlink message not including padding
575 * nlmsg_total_size - length of netlink message including padding
594 * @nlh: netlink message header
603 * @nlh: netlink message header
612 * @nlh: netlink message header
624 * @nlh: netlink message header
633 * nlmsg_ok - check if the netlink message fits into the remaining bytes
634 * @nlh: netlink message header
645 * nlmsg_next - next netlink message in message stream
646 * @nlh: netlink message header
649 * Returns the next netlink message in the message stream and
739 * __nlmsg_parse - parse attributes of a netlink message
740 * @nlh: netlink message header
767 * nlmsg_parse - parse attributes of a netlink message
768 * @nlh: netlink message header
787 * nlmsg_parse_deprecated - parse attributes of a netlink message
788 * @nlh: netlink message header
807 * nlmsg_parse_deprecated_strict - parse attributes of a netlink message
808 * @nlh: netlink message header
828 * nlmsg_find_attr - find a specific attribute in a netlink message
829 * @nlh: netlink message header
888 * nlmsg_validate_deprecated - validate a netlink message including attributes
912 * @nlh: netlink message header
922 * nlmsg_seq - return the seq number of netlink message
923 * @nlh: netlink message header
925 * Returns 0 if netlink message is NULL
935 * @nlh: netlink message header
944 * nlmsg_put - Add a new netlink message to an skb
946 * @portid: netlink PORTID of requesting application
986 * nlmsg_put_answer - Add a new callback based netlink message to an skb
988 * @cb: netlink callback
1006 * nlmsg_new - Allocate a new netlink message
1019 * nlmsg_new_large - Allocate a new netlink message with non-contiguous
1033 * nlmsg_end - Finalize a netlink message
1035 * @nlh: netlink message header
1037 * Corrects the netlink message header to include the appended
1047 * nlmsg_get_pos - return current position in netlink message
1073 * nlmsg_cancel - Cancel construction of a netlink message
1075 * @nlh: netlink message header
1077 * Removes the complete netlink message including all
1086 * nlmsg_free - drop a netlink message
1087 * @skb: socket buffer of netlink message
1095 * nlmsg_consume - free a netlink message
1096 * @skb: socket buffer of netlink message
1104 * nlmsg_multicast_filtered - multicast a netlink message with filter function
1105 * @sk: netlink socket to spread messages to
1106 * @skb: netlink message as socket buffer
1107 * @portid: own netlink portid to avoid sending to yourself
1134 * nlmsg_multicast - multicast a netlink message
1135 * @sk: netlink socket to spread messages to
1136 * @skb: netlink message as socket buffer
1137 * @portid: own netlink portid to avoid sending to yourself
1149 * nlmsg_unicast - unicast a netlink message
1150 * @sk: netlink socket to spread message to
1151 * @skb: netlink message as socket buffer
1152 * @portid: netlink portid of the destination socket
1179 * @cb: netlink callback structure that stores the sequence number
1180 * @nlh: netlink message header to write the flag to
1183 * and if it did, advertises it in the netlink message header.
1202 * Netlink Attributes
1234 * @nla: netlink attribute
1243 * @nla: netlink attribute
1252 * @nla: netlink attribute
1260 * nla_ok - check if the netlink attribute fits into the remaining bytes
1261 * @nla: netlink attribute
1272 * nla_next - next netlink attribute in attribute stream
1273 * @nla: netlink attribute
1276 * Returns the next netlink attribute in the attribute stream and
1344 * nla_put_u8 - Add a u8 netlink attribute to a socket buffer
1358 * nla_put_u16 - Add a u16 netlink attribute to a socket buffer
1371 * nla_put_be16 - Add a __be16 netlink attribute to a socket buffer
1384 * nla_put_net16 - Add 16-bit network byte order netlink attribute to a socket buffer
1397 * nla_put_le16 - Add a __le16 netlink attribute to a socket buffer
1410 * nla_put_u32 - Add a u32 netlink attribute to a socket buffer
1439 * nla_put_be32 - Add a __be32 netlink attribute to a socket buffer
1452 * nla_put_net32 - Add 32-bit network byte order netlink attribute to a socket buffer
1465 * nla_put_le32 - Add a __le32 netlink attribute to a socket buffer
1478 * nla_put_u64_64bit - Add a u64 netlink attribute to a skb and align it
1493 * nla_put_be64 - Add a __be64 netlink attribute to a socket buffer and align it
1524 * nla_put_le64 - Add a __le64 netlink attribute to a socket buffer and align it
1539 * nla_put_s8 - Add a s8 netlink attribute to a socket buffer
1552 * nla_put_s16 - Add a s16 netlink attribute to a socket buffer
1565 * nla_put_s32 - Add a s32 netlink attribute to a socket buffer
1578 * nla_put_s64 - Add a s64 netlink attribute to a socket buffer and align it
1609 * nla_put_string - Add a string netlink attribute to a socket buffer
1621 * nla_put_flag - Add a flag netlink attribute to a socket buffer
1631 * nla_put_msecs - Add a msecs netlink attribute to a skb and align it
1646 * nla_put_in_addr - Add an IPv4 address netlink attribute to a socket
1661 * nla_put_in6_addr - Add an IPv6 address netlink attribute to a socket
1674 * nla_put_bitfield32 - Add a bitfield32 netlink attribute to a socket buffer
1690 * @nla: u32 netlink attribute
1699 * @nla: __be32 netlink attribute
1708 * @nla: __le32 netlink attribute
1717 * @nla: u16 netlink attribute
1726 * @nla: __be16 netlink attribute
1735 * @nla: __le16 netlink attribute
1744 * @nla: u8 netlink attribute
1753 * @nla: u64 netlink attribute
1766 * @nla: uint netlink attribute
1777 * @nla: __be64 netlink attribute
1790 * @nla: __le64 netlink attribute
1799 * @nla: s32 netlink attribute
1808 * @nla: s16 netlink attribute
1817 * @nla: s8 netlink attribute
1826 * @nla: s64 netlink attribute
1839 * @nla: uint netlink attribute
1850 * @nla: flag netlink attribute
1859 * @nla: msecs netlink attribute
1872 * @nla: IPv4 address netlink attribute
1881 * @nla: IPv6 address netlink attribute
1905 * @src: netlink attribute to duplicate from
2047 * Conditionally emit a padding netlink attribute in order to make