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
150 * nla_next(nla, remaining) get next netlink attribute
458 * struct nl_info - netlink source information
459 * @nlh: Netlink message header of original request
461 * @portid: Netlink PORTID of requesting application
462 * @skip_notify: Skip netlink notifications to user space
474 * enum netlink_validation - netlink message/attribute validation levels
546 * Netlink Messages
550 * nlmsg_msg_size - length of netlink message not including padding
559 * nlmsg_total_size - length of netlink message including padding
578 * @nlh: netlink message header
587 * @nlh: netlink message header
596 * @nlh: netlink message header
608 * @nlh: netlink message header
617 * nlmsg_ok - check if the netlink message fits into the remaining bytes
618 * @nlh: netlink message header
629 * nlmsg_next - next netlink message in message stream
630 * @nlh: netlink message header
633 * Returns the next netlink message in the message stream and
723 * __nlmsg_parse - parse attributes of a netlink message
724 * @nlh: netlink message header
751 * nlmsg_parse - parse attributes of a netlink message
752 * @nlh: netlink message header
771 * nlmsg_parse_deprecated - parse attributes of a netlink message
772 * @nlh: netlink message header
791 * nlmsg_parse_deprecated_strict - parse attributes of a netlink message
792 * @nlh: netlink message header
812 * nlmsg_find_attr - find a specific attribute in a netlink message
813 * @nlh: netlink message header
872 * nlmsg_validate_deprecated - validate a netlink message including attributes
896 * @nlh: netlink message header
906 * nlmsg_seq - return the seq number of netlink message
907 * @nlh: netlink message header
909 * Returns 0 if netlink message is NULL
919 * @nlh: netlink message header
928 * nlmsg_put - Add a new netlink message to an skb
930 * @portid: netlink PORTID of requesting application
970 * nlmsg_put_answer - Add a new callback based netlink message to an skb
972 * @cb: netlink callback
990 * nlmsg_new - Allocate a new netlink message
1003 * nlmsg_end - Finalize a netlink message
1005 * @nlh: netlink message header
1007 * Corrects the netlink message header to include the appeneded
1017 * nlmsg_get_pos - return current position in netlink message
1043 * nlmsg_cancel - Cancel construction of a netlink message
1045 * @nlh: netlink message header
1047 * Removes the complete netlink message including all
1056 * nlmsg_free - free a netlink message
1057 * @skb: socket buffer of netlink message
1065 * nlmsg_multicast - multicast a netlink message
1066 * @sk: netlink socket to spread messages to
1067 * @skb: netlink message as socket buffer
1068 * @portid: own netlink portid to avoid sending to yourself
1087 * nlmsg_unicast - unicast a netlink message
1088 * @sk: netlink socket to spread message to
1089 * @skb: netlink message as socket buffer
1090 * @portid: netlink portid of the destination socket
1117 * @cb: netlink callback structure that stores the sequence number
1118 * @nlh: netlink message header to write the flag to
1121 * and if it did, advertises it in the netlink message header.
1140 * Netlink Attributes
1172 * @nla: netlink attribute
1181 * @nla: netlink attribute
1190 * @nla: netlink attribute
1198 * nla_ok - check if the netlink attribute fits into the remaining bytes
1199 * @nla: netlink attribute
1210 * nla_next - next netlink attribute in attribute stream
1211 * @nla: netlink attribute
1214 * Returns the next netlink attribute in the attribute stream and
1282 * nla_put_u8 - Add a u8 netlink attribute to a socket buffer
1296 * nla_put_u16 - Add a u16 netlink attribute to a socket buffer
1309 * nla_put_be16 - Add a __be16 netlink attribute to a socket buffer
1322 * nla_put_net16 - Add 16-bit network byte order netlink attribute to a socket buffer
1335 * nla_put_le16 - Add a __le16 netlink attribute to a socket buffer
1348 * nla_put_u32 - Add a u32 netlink attribute to a socket buffer
1361 * nla_put_be32 - Add a __be32 netlink attribute to a socket buffer
1374 * nla_put_net32 - Add 32-bit network byte order netlink attribute to a socket buffer
1387 * nla_put_le32 - Add a __le32 netlink attribute to a socket buffer
1400 * nla_put_u64_64bit - Add a u64 netlink attribute to a skb and align it
1415 * nla_put_be64 - Add a __be64 netlink attribute to a socket buffer and align it
1446 * nla_put_le64 - Add a __le64 netlink attribute to a socket buffer and align it
1461 * nla_put_s8 - Add a s8 netlink attribute to a socket buffer
1474 * nla_put_s16 - Add a s16 netlink attribute to a socket buffer
1487 * nla_put_s32 - Add a s32 netlink attribute to a socket buffer
1500 * nla_put_s64 - Add a s64 netlink attribute to a socket buffer and align it
1515 * nla_put_string - Add a string netlink attribute to a socket buffer
1527 * nla_put_flag - Add a flag netlink attribute to a socket buffer
1537 * nla_put_msecs - Add a msecs netlink attribute to a skb and align it
1552 * nla_put_in_addr - Add an IPv4 address netlink attribute to a socket
1567 * nla_put_in6_addr - Add an IPv6 address netlink attribute to a socket
1580 * nla_put_bitfield32 - Add a bitfield32 netlink attribute to a socket buffer
1596 * @nla: u32 netlink attribute
1605 * @nla: __be32 netlink attribute
1614 * @nla: __le32 netlink attribute
1623 * @nla: u16 netlink attribute
1632 * @nla: __be16 netlink attribute
1641 * @nla: __le16 netlink attribute
1650 * @nla: u8 netlink attribute
1659 * @nla: u64 netlink attribute
1672 * @nla: __be64 netlink attribute
1685 * @nla: __le64 netlink attribute
1694 * @nla: s32 netlink attribute
1703 * @nla: s16 netlink attribute
1712 * @nla: s8 netlink attribute
1721 * @nla: s64 netlink attribute
1734 * @nla: flag netlink attribute
1743 * @nla: msecs netlink attribute
1756 * @nla: IPv4 address netlink attribute
1765 * @nla: IPv6 address netlink attribute
1789 * @src: netlink attribute to duplicate from
1930 * Conditionally emit a padding netlink attribute in order to make