Function report |
Source Code:lib\nlattr.c |
Create Date:2022-07-28 07:16:16 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:nla_validate_array
Proto:static int nla_validate_array(const struct nlattr *head, int len, int maxtype, const struct nla_policy *policy, struct netlink_ext_ack *extack, unsigned int validate)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct nlattr * | head | |
| int | len | |
| int | maxtype | |
| const struct nla_policy * | policy | |
| struct netlink_ext_ack * | extack | |
| unsigned int | validate |
| 81 | If la_len - length of payload*@nla: netlink attribute == 0 Then Continue |
| 85 | NL_SET_ERR_MSG_ATTR(extack, entry, "Array element too short") |
| 87 | Return -ERANGE |
| 90 | ret = __nla_validate(la_data - head of payload*@nla: netlink attribute, la_len - length of payload*@nla: netlink attribute, maxtype, policy, validate, extack) |
| 96 | Return 0 |
| Name | Describe |
|---|---|
| validate_nla |
| 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 |