Lines Matching defs:prefix
119 const struct in6_addr *prefix, int prefixlen,
124 const struct in6_addr *prefix, int prefixlen,
930 struct in6_addr prefix_buf, *prefix;
961 prefix = (struct in6_addr *)rinfo->prefix;
965 (struct in6_addr *)rinfo->prefix,
967 prefix = &prefix_buf;
973 rt = rt6_get_route_info(net, prefix, rinfo->prefix_len,
982 rt = rt6_add_route_info(net, prefix, rinfo->prefix_len, gwaddr,
3336 * will return already-added prefix route via interface that
3337 * prefix route was assigned to, which might be non-loopback.
3624 NL_SET_ERR_MSG(extack, "Invalid prefix length");
4166 const struct in6_addr *prefix, int prefixlen,
4181 fn = fib6_locate(&table->tb6_root, prefix, prefixlen, NULL, 0, true);
4206 const struct in6_addr *prefix, int prefixlen,
4225 cfg.fc_dst = *prefix;
4228 /* We should treat it as a default route if prefix length is 0. */
4234 return rt6_get_route_info(net, prefix, prefixlen, gwaddr, dev);
5789 /* success since this is not a prefix route */