Lines Matching refs:r_cfg

4291 	struct fib6_config r_cfg;  member
4301 &nh->r_cfg.fc_dst, &nh->r_cfg.fc_gateway, in ip6_print_replace_route_err()
4302 nh->r_cfg.fc_ifindex); in ip6_print_replace_route_err()
4309 struct fib6_config *r_cfg) in ip6_route_info_append() argument
4324 memcpy(&nh->r_cfg, r_cfg, sizeof(*r_cfg)); in ip6_route_info_append()
4356 struct fib6_config r_cfg; in ip6_route_multipath_add() local
4381 memcpy(&r_cfg, cfg, sizeof(*cfg)); in ip6_route_multipath_add()
4383 r_cfg.fc_ifindex = rtnh->rtnh_ifindex; in ip6_route_multipath_add()
4391 r_cfg.fc_gateway = nla_get_in6_addr(nla); in ip6_route_multipath_add()
4392 r_cfg.fc_flags |= RTF_GATEWAY; in ip6_route_multipath_add()
4394 r_cfg.fc_encap = nla_find(attrs, attrlen, RTA_ENCAP); in ip6_route_multipath_add()
4397 r_cfg.fc_encap_type = nla_get_u16(nla); in ip6_route_multipath_add()
4400 r_cfg.fc_flags |= (rtnh->rtnh_flags & RTNH_F_ONLINK); in ip6_route_multipath_add()
4401 rt = ip6_route_info_create(&r_cfg, GFP_KERNEL, extack); in ip6_route_multipath_add()
4418 rt, &r_cfg); in ip6_route_multipath_add()
4484 ip6_route_del(&nh->r_cfg, extack); in ip6_route_multipath_add()
4501 struct fib6_config r_cfg; in ip6_route_multipath_del() local
4512 memcpy(&r_cfg, cfg, sizeof(*cfg)); in ip6_route_multipath_del()
4514 r_cfg.fc_ifindex = rtnh->rtnh_ifindex; in ip6_route_multipath_del()
4522 nla_memcpy(&r_cfg.fc_gateway, nla, 16); in ip6_route_multipath_del()
4523 r_cfg.fc_flags |= RTF_GATEWAY; in ip6_route_multipath_del()
4526 err = ip6_route_del(&r_cfg, extack); in ip6_route_multipath_del()