Lines Matching defs:scope
57 int ifindex, scope, scopemask, up, to;
1002 char *family = toybuf, *scope = toybuf+256, *label = toybuf+512,
1018 if ((addrinfo.scope ^ ifa->ifa_scope)&addrinfo.scopemask) return 0;
1045 sprintf(scope, " scope %s ", namefromRPDB(ifa->ifa_scope, RPDB_rtscopes));
1082 printf("%s%s%s%s%s %c", family, brd, peer, scope, label,
1084 else printf("%s%s %c", family, scope, (TT.singleline? '\0' : '\n'));
1113 {"anycast", 6},{"scope", 7}, {"local", 8}, {NULL, -1}};
1196 int scope = idxfromRPDB(*argv, RPDB_rtscopes);
1197 if (scope < 0) error_exit("wrong scope '%s'", *argv);
1198 req.ifadd.ifa_scope = scope;
1279 struct arglist cmd_objectlist[] = {{"to", 0}, {"scope", 1}, {"up", 2},
1291 addrinfo.scope = -1;
1310 int scope = 0;
1320 if ((scope = idxfromRPDB(name, RPDB_rtscopes)) < 0) {
1322 error_exit("wrong scope '%s'", name);
1323 scope = RT_SCOPE_NOWHERE;
1329 addrinfo.scope = scope;
1432 if (addrinfo.scope != -1 && TT.addressfamily && TT.addressfamily ==
1435 if ((addrinfo.scope ^ addressInfo->ifa_scope) & addrinfo.scopemask)
1443 (addrinfo.scope == -1)){