Lines Matching defs:key
295 " connect-wifi [-e <essid>] [-i <bssid>] [-k <key>,...] "
489 {"key", required_argument, 0, 'k' },
1788 int key = 0;
1895 /* get key value or the aggregation name (required last argument) */
1899 if (!str2int(argv[optind], &key)) {
1908 (void) snprintf(name, MAXLINKNAMELEN, "aggr%d", key);
1929 status = dladm_aggr_create(handle, name, key, ndev + nlink, port,
1971 * arg is either the key or the aggr name. Validate it and convert it to
1978 int key = 0;
1982 if (!str2int(arg, &key))
1985 if (aggr == NULL && key == 0)
1995 status = dladm_key2linkid(handle, key, linkidp, flags);
2025 /* get key value or the aggregation name (required last argument) */
2089 /* get key value or the aggregation name (required last argument) */
2181 /* get key value or the aggregation name (required last argument) */
2285 /* get key value or the aggregation name (required last argument) */
2313 * get the key or the name of the aggregation (optional last argument)
3539 int key;
3628 /* get aggregation key or aggrname (optional last argument) */
3630 if (!str2int(argv[optind], &key)) {
3634 status = dladm_key2linkid(handle, (uint16_t)key,
6311 die("invalid key(s) '%s'", optarg);
6338 die("key required for security mode '%s'",
7042 case 5: /* ASCII key sizes */
7047 case 10: /* Hex key sizes, not preceded by 0x */
7051 case 12: /* Hex key sizes, preceded by 0x */