Lines Matching refs:attrs
151 struct nlattr *attrs;
158 attrs = nla_nest_start(msg->skb, TIPC_NLA_NET);
159 if (!attrs)
165 nla_nest_end(msg->skb, attrs);
171 nla_nest_cancel(msg->skb, attrs);
207 struct nlattr *attrs[TIPC_NLA_NET_MAX + 1];
210 if (!info->attrs[TIPC_NLA_NET])
213 err = nla_parse_nested(attrs, TIPC_NLA_NET_MAX,
214 info->attrs[TIPC_NLA_NET], tipc_nl_net_policy,
219 if (attrs[TIPC_NLA_NET_ID]) {
226 val = nla_get_u32(attrs[TIPC_NLA_NET_ID]);
233 if (attrs[TIPC_NLA_NET_ADDR]) {
240 addr = nla_get_u32(attrs[TIPC_NLA_NET_ADDR]);