package/libs/libnl-tiny/src/include/netlink/attr.h
/**
 * nlmsg_find_attr - find a specific attribute in a netlink message
 * @arg nlh		netlink message header
 * @arg hdrlen		length of familiy specific header
 * @arg attrtype	type of attribute to look for
 *
 * Returns the first attribute which matches the specified type.
 */
find a specific attribute in a netlink message
@arg nlh             netlink message header
@arg hdrlen          length of familiy specific header
@arg attrtype        type of attribute to look for

Returns the first attribute which matches the specified type.
find a specific attribute in a netlink message @arg nlh netlink message header @arg hdrlen length of familiy specific header @arg attrtype type of attribute to look for Returns the first attribute which matches the specified type .
static inline struct nlattr *nlmsg_find_attr(struct nlmsghdr *nlh, int hdrlen, int attrtype)
{
	return nla_find(nlmsg_attrdata(nlh, hdrlen),
			nlmsg_attrlen(nlh, hdrlen), attrtype);
}
static inline struct nlattr * nlmsg_find_attr ( struct nlmsghdr * nlh , int hdrlen , int attrtype ) { return nla_find ( nlmsg_attrdata ( nlh , hdrlen ) , nlmsg_attrlen ( nlh , hdrlen ) , attrtype ) ; }
nlmsg_find_attr - find a specific attribute in a netlink message
 @arg nlh             netlink message header
 @arg hdrlen          length of familiy specific header
 @arg attrtype        type of attribute to look for
nlmsg_find_attr - find a specific attribute in a netlink message @arg nlh netlink message header @arg hdrlen length of familiy specific header @arg attrtype type of attribute to look for