RTN_UNICAST
if (fi->fib_type != RTN_UNICAST)
if (fi->fib_type != RTN_UNICAST)
if (fi->fib6_type != RTN_UNICAST)
if (fi->fib6_type != RTN_UNICAST)
case RTN_UNICAST:
if (rt->rt_type != RTN_UNICAST) {
if (rt->rt_type != RTN_UNICAST) {
fib_nh->nh_parent->fib_type == RTN_UNICAST &&
case RTN_UNICAST:
if (rt->rt_type != RTN_UNICAST)
if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) {
rth = rt_dst_alloc(dev, 0, RTN_UNICAST, 1);
ndm->ndm_type = RTN_UNICAST;
return RTN_UNICAST;
if (cast_type != RTN_UNICAST)
return RTN_UNICAST;
RTN_MULTICAST : RTN_UNICAST;
RTN_MULTICAST : RTN_UNICAST;
return RTN_UNICAST;
cast_type = RTN_UNICAST;
if (neigh->type != RTN_UNICAST)
if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) {
if (res.type != RTN_UNICAST)
case RTN_UNICAST:
ndm->ndm_type = RTN_UNICAST;
if (*addr_type != RTN_UNICAST)
if (addr_type == RTN_UNICAST &&
(addr_type == RTN_UNICAST ||
RTN_UNICAST)))))
tb_id = (type == RTN_UNICAST) ? RT_TABLE_MAIN : RT_TABLE_LOCAL;
dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST,
dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST,
dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST,
dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST,
ret = RTN_UNICAST;
if (res.type != RTN_UNICAST) {
if (res.type == RTN_UNICAST)
cfg->fc_type = RTN_UNICAST;
addr_type == RTN_UNICAST)
if (addr_type != RTN_UNICAST) {
if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) {
case RTN_UNICAST:
fa->fa_type != RTN_UNICAST)
res->type == RTN_UNICAST)
[RTN_UNICAST] = {
[RTN_UNICAST] = "UNICAST",
if (inet_addr_type(net, addr) != RTN_UNICAST) {
if (inet_addr_type(net, addr) == RTN_UNICAST)
if (rt->rt_type == RTN_UNICAST) {
if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) {
if (addr_type == RTN_LOCAL || addr_type == RTN_UNICAST)
if (res.type != RTN_UNICAST) {
case RTN_UNICAST:
if (res->type != RTN_UNICAST) {
res->type = RTN_UNICAST;
if (inet_addr_type(net, new_gw) != RTN_UNICAST)
.fc_type = RTN_UNICAST,
neigh->type = is_multicast ? RTN_MULTICAST : RTN_UNICAST;
return RTN_UNICAST;
[RTN_UNICAST] = 0,
res.fib6_type != RTN_UNICAST) {
rt->fib6_type = cfg->fc_type ? : RTN_UNICAST;
.fc_type = RTN_UNICAST,
.fc_type = RTN_UNICAST,
if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) {
hdr->ndm_type = RTN_UNICAST; // TODO: is loopback RTN_LOCAL?
case RTN_UNICAST:
if ((*rtm)->rtm_type != RTN_UNICAST) {
if (type != RTN_UNICAST)
if (rtm->rtm_type != RTN_UNICAST) {
rtm->rtm_type = RTN_UNICAST;
(filter.rt_type && filter.rt_type != RTN_UNICAST) ||
r->rtm_type = RTN_UNICAST;
return (inet_addr_type(net, addr->ip) == RTN_UNICAST);
if (atype != RTN_LOCAL && atype != RTN_UNICAST)
rtm->rtm_type = RTN_UNICAST;
if (rtm->rtm_table != RT_TABLE_MAIN || rtm->rtm_type != RTN_UNICAST)
req.rt.rtm_type = RTN_UNICAST;
req.rt.rtm_type = RTN_UNICAST;
ndm->ndm_type = RTN_UNICAST;