Lines Matching defs:prefix
120 const struct in6_addr *prefix, int prefixlen,
125 const struct in6_addr *prefix, int prefixlen,
933 struct in6_addr prefix_buf, *prefix;
964 prefix = (struct in6_addr *)rinfo->prefix;
968 (struct in6_addr *)rinfo->prefix,
970 prefix = &prefix_buf;
976 rt = rt6_get_route_info(net, prefix, rinfo->prefix_len,
985 rt = rt6_add_route_info(net, prefix, rinfo->prefix_len, gwaddr,
3433 * will return already-added prefix route via interface that
3434 * prefix route was assigned to, which might be non-loopback.
3708 NL_SET_ERR_MSG(extack, "Invalid prefix length");
4250 const struct in6_addr *prefix, int prefixlen,
4265 fn = fib6_locate(&table->tb6_root, prefix, prefixlen, NULL, 0, true);
4290 const struct in6_addr *prefix, int prefixlen,
4309 cfg.fc_dst = *prefix;
4312 /* We should treat it as a default route if prefix length is 0. */
4318 return rt6_get_route_info(net, prefix, prefixlen, gwaddr, dev);
5888 /* success since this is not a prefix route */