Home | History | Annotate | Download | only in ip

Lines Matching refs:scope

45 	int scope, scopemask;
68 fprintf(stderr, " ip addr {show|flush} [ dev STRING ] [ scope SCOPE-ID ]\n");
72 fprintf(stderr, " [ label STRING ] [ scope SCOPE-ID ]\n");
73 fprintf(stderr, "SCOPE-ID := [ host | link | global | NUMBER ]\n");
537 if ((filter.scope^ifa->ifa_scope)&filter.scopemask)
631 fprintf(fp, "scope %s ", rtnl_rtscope_n2a(ifa->ifa_scope, b1, sizeof(b1)));
797 } else if (strcmp(*argv, "scope") == 0) {
798 unsigned scope = 0;
801 if (rtnl_rtscope_a2n(&scope, *argv)) {
803 invarg("invalid \"scope\"\n", *argv);
804 scope = RT_SCOPE_NOWHERE;
807 filter.scope = scope;
973 if ((filter.scope^ifa->ifa_scope)&filter.scopemask)
1119 } else if (strcmp(*argv, "scope") == 0) {
1120 unsigned scope = 0;
1122 if (rtnl_rtscope_a2n(&scope, *argv))
1123 invarg(*argv, "invalid scope value.");
1124 req.ifa.ifa_scope = scope;