Lines Matching refs:extack

587 		       struct netlink_ext_ack *extack)
600 NL_SET_ERR_MSG(extack, "LWT encap type not specified");
606 extack);
624 struct netlink_ext_ack *extack)
631 cfg->fc_encap_type, cfg, GFP_KERNEL, extack);
658 struct netlink_ext_ack *extack)
669 NL_SET_ERR_MSG(extack,
678 struct netlink_ext_ack *extack)
681 NL_SET_ERR_MSG(extack, "Invalid IPv4 address in RTA_GATEWAY");
693 struct netlink_ext_ack *extack)
706 NL_SET_ERR_MSG(extack,
712 NL_SET_ERR_MSG(extack,
727 NL_SET_ERR_MSG(extack,
733 extack);
740 ret = fib_gw_from_via(&fib_cfg, nlav, extack);
748 NL_SET_ERR_MSG(extack, "Invalid RTA_FLOW");
764 rtnh->rtnh_hops + 1, extack);
774 NL_SET_ERR_MSG(extack,
784 NL_SET_ERR_MSG(extack,
791 NL_SET_ERR_MSG(extack,
844 struct netlink_ext_ack *extack)
846 NL_SET_ERR_MSG(extack, "Multipath support not enabled in kernel");
859 struct netlink_ext_ack *extack)
868 cfg, &lwtstate, extack);
878 struct netlink_ext_ack *extack)
906 cfg->fc_encap, nh, cfg, extack))
954 NL_SET_ERR_MSG(extack,
962 err = fib_gw_from_attr(&gw, nla, extack);
972 err = fib_gw_from_via(&cfg2, nlav, extack);
995 NL_SET_ERR_MSG(extack, "Invalid RTA_FLOW");
1052 u32 table, struct netlink_ext_ack *extack)
1063 err = ipv6_stub->fib6_nh_init(net, &fib6_nh, &cfg, GFP_KERNEL, extack);
1121 u8 scope, struct netlink_ext_ack *extack)
1131 NL_SET_ERR_MSG(extack, "Nexthop has invalid scope");
1136 NL_SET_ERR_MSG(extack, "Nexthop device required for onlink");
1140 NL_SET_ERR_MSG(extack, "Nexthop device is not up");
1145 NL_SET_ERR_MSG(extack, "Nexthop has invalid gateway");
1187 NL_SET_ERR_MSG(extack, "Nexthop has invalid gateway");
1194 NL_SET_ERR_MSG(extack, "Nexthop has invalid gateway");
1201 NL_SET_ERR_MSG(extack,
1215 struct netlink_ext_ack *extack)
1221 NL_SET_ERR_MSG(extack,
1234 NL_SET_ERR_MSG(extack, "Device for nexthop is not up");
1250 struct netlink_ext_ack *extack)
1255 err = fib_check_nh_v4_gw(net, nh, table, scope, extack);
1257 err = fib_check_nh_v6_gw(net, nh, table, extack);
1259 err = fib_check_nh_nongw(net, nh, extack);
1386 struct netlink_ext_ack *extack)
1400 NL_SET_ERR_MSG(extack, "Invalid scope");
1405 NL_SET_ERR_MSG(extack,
1421 NL_SET_ERR_MSG(extack, "Nexthop id does not exist");
1429 nhs = fib_count_nexthops(cfg->fc_mp, cfg->fc_mp_len, extack);
1463 cfg->fc_mx_len, extack);
1482 NL_SET_ERR_MSG(extack, "Nexthop has been deleted");
1495 extack);
1497 err = fib_nh_init(net, fi->fib_nh, cfg, 1, extack);
1505 NL_SET_ERR_MSG(extack,
1519 NL_SET_ERR_MSG(extack, "Invalid route type");
1525 NL_SET_ERR_MSG(extack, "Invalid scope");
1530 err = fib_check_nexthop(fi->nh, cfg->fc_scope, extack);
1538 NL_SET_ERR_MSG(extack,
1543 NL_SET_ERR_MSG(extack,
1560 extack);
1571 NL_SET_ERR_MSG(extack, "Invalid prefsrc address");