Lines Matching refs:nlattr
31 static int br_mrp_instance_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_instance_parse()
34 struct nlattr *tb[IFLA_BRIDGE_MRP_INSTANCE_MAX + 1]; in br_mrp_instance_parse()
76 struct nlattr *attr, in br_mrp_port_state_parse()
79 struct nlattr *tb[IFLA_BRIDGE_MRP_PORT_STATE_MAX + 1]; in br_mrp_port_state_parse()
105 struct nlattr *attr, in br_mrp_port_role_parse()
108 struct nlattr *tb[IFLA_BRIDGE_MRP_PORT_ROLE_MAX + 1]; in br_mrp_port_role_parse()
134 static int br_mrp_ring_state_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_ring_state_parse()
137 struct nlattr *tb[IFLA_BRIDGE_MRP_RING_STATE_MAX + 1]; in br_mrp_ring_state_parse()
168 static int br_mrp_ring_role_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_ring_role_parse()
171 struct nlattr *tb[IFLA_BRIDGE_MRP_RING_ROLE_MAX + 1]; in br_mrp_ring_role_parse()
205 static int br_mrp_start_test_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_start_test_parse()
208 struct nlattr *tb[IFLA_BRIDGE_MRP_START_TEST_MAX + 1]; in br_mrp_start_test_parse()
248 static int br_mrp_in_state_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_in_state_parse()
251 struct nlattr *tb[IFLA_BRIDGE_MRP_IN_STATE_MAX + 1]; in br_mrp_in_state_parse()
284 static int br_mrp_in_role_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_in_role_parse()
287 struct nlattr *tb[IFLA_BRIDGE_MRP_IN_ROLE_MAX + 1]; in br_mrp_in_role_parse()
325 struct nlattr *attr, in br_mrp_start_in_test_parse()
328 struct nlattr *tb[IFLA_BRIDGE_MRP_START_IN_TEST_MAX + 1]; in br_mrp_start_in_test_parse()
357 struct nlattr *attr, int cmd, struct netlink_ext_ack *extack) in br_mrp_parse()
359 struct nlattr *tb[IFLA_BRIDGE_MRP_MAX + 1]; in br_mrp_parse()
449 struct nlattr *tb, *mrp_tb; in br_mrp_fill_info()