Lines Matching refs:r_cfg

2810 	struct fib6_config r_cfg;  member
2821 &nh->r_cfg.fc_dst, &nh->r_cfg.fc_gateway, in ip6_print_replace_route_err()
2822 nh->r_cfg.fc_ifindex); in ip6_print_replace_route_err()
2827 struct rt6_info *rt, struct fib6_config *r_cfg) in ip6_route_info_append() argument
2848 err = ip6_convert_metrics(&nh->mxc, r_cfg); in ip6_route_info_append()
2853 memcpy(&nh->r_cfg, r_cfg, sizeof(*r_cfg)); in ip6_route_info_append()
2861 struct fib6_config r_cfg; in ip6_route_multipath_add() local
2881 memcpy(&r_cfg, cfg, sizeof(*cfg)); in ip6_route_multipath_add()
2883 r_cfg.fc_ifindex = rtnh->rtnh_ifindex; in ip6_route_multipath_add()
2891 r_cfg.fc_gateway = nla_get_in6_addr(nla); in ip6_route_multipath_add()
2892 r_cfg.fc_flags |= RTF_GATEWAY; in ip6_route_multipath_add()
2894 r_cfg.fc_encap = nla_find(attrs, attrlen, RTA_ENCAP); in ip6_route_multipath_add()
2897 r_cfg.fc_encap_type = nla_get_u16(nla); in ip6_route_multipath_add()
2900 rt = ip6_route_info_create(&r_cfg); in ip6_route_multipath_add()
2907 err = ip6_route_info_append(&rt6_nh_list, rt, &r_cfg); in ip6_route_multipath_add()
2947 ip6_route_del(&nh->r_cfg); in ip6_route_multipath_add()
2964 struct fib6_config r_cfg; in ip6_route_multipath_del() local
2975 memcpy(&r_cfg, cfg, sizeof(*cfg)); in ip6_route_multipath_del()
2977 r_cfg.fc_ifindex = rtnh->rtnh_ifindex; in ip6_route_multipath_del()
2985 nla_memcpy(&r_cfg.fc_gateway, nla, 16); in ip6_route_multipath_del()
2986 r_cfg.fc_flags |= RTF_GATEWAY; in ip6_route_multipath_del()
2989 err = ip6_route_del(&r_cfg); in ip6_route_multipath_del()