Home
last modified time | relevance | path

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

/linux/net/ipv4/
A Dmetrics.c9 static int ip_metrics_convert(struct net *net, struct nlattr *fc_mx, in ip_metrics_convert() argument
17 if (!fc_mx) in ip_metrics_convert()
20 nla_for_each_attr(nla, fc_mx, fc_mx_len, remaining) { in ip_metrics_convert()
67 struct dst_metrics *ip_fib_metrics_init(struct net *net, struct nlattr *fc_mx, in ip_fib_metrics_init() argument
74 if (!fc_mx) in ip_fib_metrics_init()
81 err = ip_metrics_convert(net, fc_mx, fc_mx_len, fib_metrics->metrics, in ip_fib_metrics_init()
A Dfib_frontend.c602 cfg->fc_mx = mx; in rtentry_to_fib_config()
646 kfree(cfg.fc_mx); in ip_rt_ioctl()
784 cfg->fc_mx = nla_data(attr); in rtm_to_fib_config()
A Dfib_semantics.c996 if (!cfg->fc_mx) in fib_metrics_match()
999 nla_for_each_attr(nla, cfg->fc_mx, cfg->fc_mx_len, remaining) { in fib_metrics_match()
1408 if (!cfg->fc_mx) { in fib_create_info()
1457 fi->fib_metrics = ip_fib_metrics_init(fi->fib_net, cfg->fc_mx, in fib_create_info()
/linux/include/net/
A Dip6_fib.h61 struct nlattr *fc_mx; member
A Dip_fib.h44 struct nlattr *fc_mx; member
A Dip.h489 struct dst_metrics *ip_fib_metrics_init(struct net *net, struct nlattr *fc_mx,
/linux/net/ipv6/
A Droute.c3777 rt->fib6_metrics = ip_fib_metrics_init(net, cfg->fc_mx, cfg->fc_mx_len, in ip6_route_info_create()
5100 cfg->fc_mx = nla_data(tb[RTA_METRICS]); in rtm_to_fib6_config()

Completed in 27 milliseconds