Function report |
Source Code:lib\nlattr.c |
Create Date:2022-07-28 07:16:28 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__nla_reserve - reserve room for attribute on the skb*@skb: socket buffer to reserve room on*@attrtype: attribute type*@attrlen: length of attribute payload* Adds a netlink attribute header to a socket buffer and reserves
Proto:struct nlattr *__nla_reserve(struct sk_buff *skb, int attrtype, int attrlen)
Type:struct nlattr
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct sk_buff * | skb | |
| int | attrtype | |
| int | attrlen |
| 640 | nla = add data to a buffer |
| 644 | memset((unsignedchar * )nla + nla_len, 0, la_padlen - length of padding at the tail of attribute*@payload: length of payload) |
| 646 | Return nla |
| Name | Describe |
|---|---|
| __nla_reserve_64bit | __nla_reserve_64bit - reserve room for attribute on the skb and align it*@skb: socket buffer to reserve room on*@attrtype: attribute type*@attrlen: length of attribute payload*@padattr: attribute type for the padding* Adds a netlink attribute header to a |
| nla_reserve | la_reserve - reserve room for attribute on the skb*@skb: socket buffer to reserve room on*@attrtype: attribute type*@attrlen: length of attribute payload* Adds a netlink attribute header to a socket buffer and reserves |
| __nla_put | __nla_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* The caller is responsible to ensure that the skb provides |
| 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 |