Lines Matching refs:extack
140 struct netlink_ext_ack *extack) in nsim_fib_rule_account() argument
149 NL_SET_ERR_MSG_MOD(extack, "Exceeded number of supported fib rule entries"); in nsim_fib_rule_account()
161 struct netlink_ext_ack *extack = info->extack; in nsim_fib_rule_event() local
166 err = nsim_fib_rule_account(&data->ipv4.rules, add, extack); in nsim_fib_rule_event()
169 err = nsim_fib_rule_account(&data->ipv6.rules, add, extack); in nsim_fib_rule_event()
177 struct netlink_ext_ack *extack) in nsim_fib_account() argument
186 NL_SET_ERR_MSG_MOD(extack, "Exceeded number of supported fib entries"); in nsim_fib_account()
292 struct netlink_ext_ack *extack) in nsim_fib4_rt_add() argument
297 err = nsim_fib_account(&data->ipv4.fib, true, extack); in nsim_fib4_rt_add()
305 NL_SET_ERR_MSG_MOD(extack, "Failed to insert IPv4 route"); in nsim_fib4_rt_add()
314 nsim_fib_account(&data->ipv4.fib, false, extack); in nsim_fib4_rt_add()
321 struct netlink_ext_ack *extack) in nsim_fib4_rt_replace() argument
332 NL_SET_ERR_MSG_MOD(extack, "Failed to replace IPv4 route"); in nsim_fib4_rt_replace()
347 struct netlink_ext_ack *extack = fen_info->info.extack; in nsim_fib4_rt_insert() local
357 err = nsim_fib4_rt_add(data, fib4_rt, extack); in nsim_fib4_rt_insert()
359 err = nsim_fib4_rt_replace(data, fib4_rt, fib4_rt_old, extack); in nsim_fib4_rt_insert()
370 struct netlink_ext_ack *extack = fen_info->info.extack; in nsim_fib4_rt_remove() local
379 nsim_fib_account(&data->ipv4.fib, false, extack); in nsim_fib4_rt_remove()
393 NL_SET_ERR_MSG_MOD(info->extack, "IPv4 route with nexthop objects is not supported"); in nsim_fib4_event()
595 struct netlink_ext_ack *extack) in nsim_fib6_rt_add() argument
599 err = nsim_fib_account(&data->ipv6.fib, true, extack); in nsim_fib6_rt_add()
607 NL_SET_ERR_MSG_MOD(extack, "Failed to insert IPv6 route"); in nsim_fib6_rt_add()
616 nsim_fib_account(&data->ipv6.fib, false, extack); in nsim_fib6_rt_add()
623 struct netlink_ext_ack *extack) in nsim_fib6_rt_replace() argument
633 NL_SET_ERR_MSG_MOD(extack, "Failed to replace IPv6 route"); in nsim_fib6_rt_replace()
648 struct netlink_ext_ack *extack = fen6_info->info.extack; in nsim_fib6_rt_insert() local
658 err = nsim_fib6_rt_add(data, fib6_rt, extack); in nsim_fib6_rt_insert()
660 err = nsim_fib6_rt_replace(data, fib6_rt, fib6_rt_old, extack); in nsim_fib6_rt_insert()
672 struct netlink_ext_ack *extack = fen6_info->info.extack; in nsim_fib6_rt_remove() local
694 nsim_fib_account(&data->ipv6.fib, false, extack); in nsim_fib6_rt_remove()
708 NL_SET_ERR_MSG_MOD(info->extack, "IPv6 route with nexthop objects is not supported"); in nsim_fib6_event()
713 NL_SET_ERR_MSG_MOD(info->extack, "IPv6 source-specific route is not supported"); in nsim_fib6_event()
890 struct netlink_ext_ack *extack) in nsim_fib_create() argument
910 nsim_fib_dump_inconsistent, extack); in nsim_fib_create()