Home | History | Annotate | Download | only in tipc

Lines Matching refs:attrs

90 	struct nlattr *attrs[TIPC_NLA_NET_MAX + 1] = {};
96 mnl_attr_parse_nested(info[TIPC_NLA_NET], parse_attrs, attrs);
97 if (!attrs[TIPC_NLA_NET_ID])
99 *netid = mnl_attr_get_u32(attrs[TIPC_NLA_NET_ID]);
445 struct nlattr *attrs;
481 attrs = mnl_attr_nest_start(nlh, TIPC_NLA_BEARER);
511 mnl_attr_nest_end(nlh, attrs);
557 struct nlattr *attrs[TIPC_NLA_BEARER_MAX + 1] = {};
564 mnl_attr_parse_nested(info[TIPC_NLA_BEARER], parse_attrs, attrs);
565 if (!attrs[TIPC_NLA_BEARER_PROP])
568 mnl_attr_parse_nested(attrs[TIPC_NLA_BEARER_PROP], parse_attrs, props);
584 struct nlattr *attrs;
621 attrs = mnl_attr_nest_start(nlh, TIPC_NLA_BEARER);
640 mnl_attr_nest_end(nlh, attrs);
662 struct nlattr *attrs[TIPC_NLA_BEARER_MAX + 1] = {};
670 attrs);
671 if (!attrs[TIPC_NLA_BEARER_NAME]) {
676 printf("%s\n", mnl_attr_get_str(attrs[TIPC_NLA_BEARER_NAME]));