Lines Matching refs:attrs
169 struct nlattr *attrs;
177 attrs = nla_nest_start_noflag(msg->skb, TIPC_NLA_NET);
178 if (!attrs)
187 nla_nest_end(msg->skb, attrs);
193 nla_nest_cancel(msg->skb, attrs);
227 struct nlattr *attrs[TIPC_NLA_NET_MAX + 1];
232 if (!info->attrs[TIPC_NLA_NET])
235 err = nla_parse_nested_deprecated(attrs, TIPC_NLA_NET_MAX,
236 info->attrs[TIPC_NLA_NET],
246 if (attrs[TIPC_NLA_NET_ID]) {
249 val = nla_get_u32(attrs[TIPC_NLA_NET_ID]);
256 if (attrs[TIPC_NLA_NET_ADDR]) {
259 addr = nla_get_u32(attrs[TIPC_NLA_NET_ADDR]);
266 if (attrs[TIPC_NLA_NET_NODEID]) {
271 if (!attrs[TIPC_NLA_NET_NODEID_W1])
273 *w0 = nla_get_u64(attrs[TIPC_NLA_NET_NODEID]);
274 *w1 = nla_get_u64(attrs[TIPC_NLA_NET_NODEID_W1]);
294 struct nlattr *attrs;
302 attrs = nla_nest_start(msg->skb, TIPC_NLA_NET);
303 if (!attrs)
310 nla_nest_end(msg->skb, attrs);
316 nla_nest_cancel(msg->skb, attrs);