Home
last modified time | relevance | path

Searched refs:fc_mx (Results 1 – 4 of 4) sorted by relevance

/net/ipv4/
Dmetrics.c10 static int ip_metrics_convert(struct net *net, struct nlattr *fc_mx, in ip_metrics_convert() argument
18 nla_for_each_attr(nla, fc_mx, fc_mx_len, remaining) { in ip_metrics_convert()
66 struct dst_metrics *ip_fib_metrics_init(struct net *net, struct nlattr *fc_mx, in ip_fib_metrics_init() argument
73 if (!fc_mx) in ip_fib_metrics_init()
80 err = ip_metrics_convert(net, fc_mx, fc_mx_len, fib_metrics->metrics, in ip_fib_metrics_init()
Dfib_frontend.c608 cfg->fc_mx = mx; in rtentry_to_fib_config()
652 kfree(cfg.fc_mx); in ip_rt_ioctl()
798 cfg->fc_mx = nla_data(attr); in rtm_to_fib_config()
Dfib_semantics.c1015 if (!cfg->fc_mx) in fib_metrics_match()
1018 nla_for_each_attr(nla, cfg->fc_mx, cfg->fc_mx_len, remaining) { in fib_metrics_match()
1411 if (!cfg->fc_mx) { in fib_create_info()
1462 fi->fib_metrics = ip_fib_metrics_init(fi->fib_net, cfg->fc_mx, in fib_create_info()
/net/ipv6/
Droute.c3757 rt->fib6_metrics = ip_fib_metrics_init(net, cfg->fc_mx, cfg->fc_mx_len, in ip6_route_info_create()
5075 cfg->fc_mx = nla_data(tb[RTA_METRICS]); in rtm_to_fib6_config()