Searched refs:fc_mx (Results 1 – 7 of 7) sorted by relevance
/linux/net/ipv4/ |
A D | metrics.c | 9 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 D | fib_frontend.c | 602 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 D | fib_semantics.c | 996 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 D | ip6_fib.h | 61 struct nlattr *fc_mx; member
|
A D | ip_fib.h | 44 struct nlattr *fc_mx; member
|
A D | ip.h | 489 struct dst_metrics *ip_fib_metrics_init(struct net *net, struct nlattr *fc_mx,
|
/linux/net/ipv6/ |
A D | route.c | 3777 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 26 milliseconds