Lines Matching refs:r_cfg
5006 struct fib6_config r_cfg; member
5013 struct fib6_config *r_cfg) in ip6_route_info_append() argument
5028 memcpy(&nh->r_cfg, r_cfg, sizeof(*r_cfg)); in ip6_route_info_append()
5099 struct fib6_config r_cfg; in ip6_route_multipath_add() local
5124 memcpy(&r_cfg, cfg, sizeof(*cfg)); in ip6_route_multipath_add()
5126 r_cfg.fc_ifindex = rtnh->rtnh_ifindex; in ip6_route_multipath_add()
5134 err = fib6_gw_from_attr(&r_cfg.fc_gateway, nla, in ip6_route_multipath_add()
5139 r_cfg.fc_flags |= RTF_GATEWAY; in ip6_route_multipath_add()
5141 r_cfg.fc_encap = nla_find(attrs, attrlen, RTA_ENCAP); in ip6_route_multipath_add()
5148 r_cfg.fc_encap_type = nla_get_u16(nla); in ip6_route_multipath_add()
5151 r_cfg.fc_flags |= (rtnh->rtnh_flags & RTNH_F_ONLINK); in ip6_route_multipath_add()
5152 rt = ip6_route_info_create(&r_cfg, GFP_KERNEL, extack); in ip6_route_multipath_add()
5169 rt, &r_cfg); in ip6_route_multipath_add()
5273 ip6_route_del(&nh->r_cfg, extack); in ip6_route_multipath_add()
5290 struct fib6_config r_cfg; in ip6_route_multipath_del() local
5302 memcpy(&r_cfg, cfg, sizeof(*cfg)); in ip6_route_multipath_del()
5304 r_cfg.fc_ifindex = rtnh->rtnh_ifindex; in ip6_route_multipath_del()
5312 err = fib6_gw_from_attr(&r_cfg.fc_gateway, nla, in ip6_route_multipath_del()
5319 r_cfg.fc_flags |= RTF_GATEWAY; in ip6_route_multipath_del()
5322 err = ip6_route_del(&r_cfg, extack); in ip6_route_multipath_del()