Lines Matching refs:r_cfg
2522 struct fib6_config r_cfg; member
2533 &nh->r_cfg.fc_dst, &nh->r_cfg.fc_gateway, in ip6_print_replace_route_err()
2534 nh->r_cfg.fc_ifindex); in ip6_print_replace_route_err()
2539 struct rt6_info *rt, struct fib6_config *r_cfg) in ip6_route_info_append() argument
2560 err = ip6_convert_metrics(&nh->mxc, r_cfg); in ip6_route_info_append()
2565 memcpy(&nh->r_cfg, r_cfg, sizeof(*r_cfg)); in ip6_route_info_append()
2573 struct fib6_config r_cfg; in ip6_route_multipath_add() local
2593 memcpy(&r_cfg, cfg, sizeof(*cfg)); in ip6_route_multipath_add()
2595 r_cfg.fc_ifindex = rtnh->rtnh_ifindex; in ip6_route_multipath_add()
2603 r_cfg.fc_gateway = nla_get_in6_addr(nla); in ip6_route_multipath_add()
2604 r_cfg.fc_flags |= RTF_GATEWAY; in ip6_route_multipath_add()
2608 err = ip6_route_info_create(&r_cfg, &rt); in ip6_route_multipath_add()
2612 err = ip6_route_info_append(&rt6_nh_list, rt, &r_cfg); in ip6_route_multipath_add()
2652 ip6_route_del(&nh->r_cfg); in ip6_route_multipath_add()
2670 struct fib6_config r_cfg; in ip6_route_multipath_del() local
2681 memcpy(&r_cfg, cfg, sizeof(*cfg)); in ip6_route_multipath_del()
2683 r_cfg.fc_ifindex = rtnh->rtnh_ifindex; in ip6_route_multipath_del()
2691 nla_memcpy(&r_cfg.fc_gateway, nla, 16); in ip6_route_multipath_del()
2692 r_cfg.fc_flags |= RTF_GATEWAY; in ip6_route_multipath_del()
2695 err = ip6_route_del(&r_cfg); in ip6_route_multipath_del()