openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/libnl/1_3.4.0-r0/libnl-3.4.0/lib/attr.c
int nla_parse_nested(struct nlattr* tb[], int maxtype, struct nlattr* nla,
                     struct nla_policy* policy)
{
    return nla_parse(tb, maxtype, nla_data(nla), nla_len(nla), policy);
}
/**
 * Create attribute index based on nested attribute
 * @arg tb		Index array to be filled (maxtype+1 elements).
 * @arg maxtype		Maximum attribute type expected and accepted.
 * @arg nla		Nested Attribute.
 * @arg policy		Attribute validation policy.
 *
 * Feeds the stream of attributes nested into the specified attribute
 * to nla_parse().
 *
 * @see nla_parse
 * @return 0 on success or a negative error code.
 */
Create attribute index based on nested attribute
@arg tb              Index array to be filled (maxtype+1 elements).
@arg maxtype         Maximum attribute type expected and accepted.
@arg nla             Nested Attribute.
@arg policy          Attribute validation policy.

Feeds the stream of attributes nested into the specified attribute
to nla_parse().

@see nla_parse
@return 0 on success or a negative error code.
Create attribute index based on nested attribute @arg tb Index array to be filled ( maxtype + 1 elements ) . @arg maxtype Maximum attribute type expected and accepted . @arg nla Nested Attribute . @arg policy Attribute validation policy . Feeds the stream of attributes nested into the specified attribute to nla_parse () . @see nla_parse @return 0 on success or a negative error code .
int nla_parse_nested(struct nlattr* tb[], int maxtype, struct nlattr* nla,
                     struct nla_policy* policy)
{
    return nla_parse(tb, maxtype, nla_data(nla), nla_len(nla), policy);
}
int nla_parse_nested ( struct nlattr * tb [ ] , int maxtype , struct nlattr * nla , struct nla_policy * policy ) { return nla_parse ( tb , maxtype , nla_data ( nla ) , nla_len ( nla ) , policy ) ; }
Create attribute index based on nested attribute
 @arg tb              Index array to be filled (maxtype+1 elements).
Create attribute index based on nested attribute @arg tb Index array to be filled ( maxtype + 1 elements ) .