Function report |
Source Code:lib\nlattr.c |
Create Date:2022-07-28 07:16:30 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:la_put - Add a netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@attrlen: length of attribute payload*@data: head of attribute payload* Returns -EMSGSIZE if the tailroom of the skb is insufficient to
Proto:int nla_put(struct sk_buff *skb, int attrtype, int attrlen, const void *data)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct sk_buff * | skb | |
| int | attrtype | |
| int | attrlen | |
| const void * | data |
| 835 | Return 0 |
| Name | Describe |
|---|---|
| nla_put_u8 | la_put_u8 - Add a u8 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value |
| nla_put_u16 | la_put_u16 - Add a u16 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value |
| nla_put_be16 | la_put_be16 - Add a __be16 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value |
| nla_put_le16 | la_put_le16 - Add a __le16 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value |
| nla_put_u32 | la_put_u32 - Add a u32 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value |
| nla_put_be32 | la_put_be32 - Add a __be32 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value |
| nla_put_le32 | la_put_le32 - Add a __le32 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value |
| nla_put_s8 | la_put_s8 - Add a s8 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value |
| nla_put_s16 | la_put_s16 - Add a s16 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value |
| nla_put_s32 | la_put_s32 - Add a s32 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value |
| nla_put_string | la_put_string - Add a string netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@str: NUL terminated string |
| nla_put_flag | la_put_flag - Add a flag netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type |
| nla_put_in6_addr | la_put_in6_addr - Add an IPv6 address netlink attribute to a socket* buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@addr: IPv6 address |
| nla_nest_start_noflag | la_nest_start_noflag - Start a new level of nested attributes*@skb: socket buffer to add attributes to*@attrtype: attribute type of container* This function exists for backward compatibility to use in APIs which never |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |