Home | History | Annotate | Download | only in ip

Lines Matching refs:scope

45 	int scope, scopemask;
67 fprintf(stderr, " ip addr {show|flush} [ dev STRING ] [ scope SCOPE-ID ]\n");
71 fprintf(stderr, " [ label STRING ] [ scope SCOPE-ID ]\n");
72 fprintf(stderr, "SCOPE-ID := [ host | link | global | NUMBER ]\n");
480 if ((filter.scope^ifa->ifa_scope)&filter.scopemask)
574 fprintf(fp, "scope %s ", rtnl_rtscope_n2a(ifa->ifa_scope, b1, sizeof(b1)));
738 } else if (strcmp(*argv, "scope") == 0) {
739 unsigned scope = 0;
742 if (rtnl_rtscope_a2n(&scope, *argv)) {
744 invarg("invalid \"scope\"\n", *argv);
745 scope = RT_SCOPE_NOWHERE;
748 filter.scope = scope;
906 if ((filter.scope^ifa->ifa_scope)&filter.scopemask)
1052 } else if (strcmp(*argv, "scope") == 0) {
1053 unsigned scope = 0;
1055 if (rtnl_rtscope_a2n(&scope, *argv))
1056 invarg(*argv, "invalid scope value.");
1057 req.ifa.ifa_scope = scope;