Home
last modified time | relevance | path

Searched refs:gbuf (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dndd.c54 static char gbuf[65536]; /* need large buffer to retrieve all names */ variable
431 (void) snprintf(gbuf, sizeof (gbuf), "%s%c%s%c", cp, '\0', in main()
433 if (!do_getset(fd, cmd, gbuf, sizeof (gbuf))) in main()
437 (void) memset(gbuf, '\0', sizeof (gbuf)); in main()
438 (void) strlcpy(gbuf, cp, sizeof (gbuf)); in main()
439 if (!do_getset(fd, cmd, gbuf, sizeof (gbuf))) in main()
552 (void) memset(gbuf, '\0', sizeof (gbuf)); in getset_interactive()
553 len = get_value("name to get/set ? ", gbuf, sizeof (gbuf)); in getset_interactive()
554 if (len == 1 || (gbuf[0] == 'q' && gbuf[1] == '\0')) in getset_interactive()
556 for (cp = gbuf; cp < &gbuf[len]; cp++) { in getset_interactive()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/wificonfig/
H A Dwificonfig.c165 static wldp_t *gbuf = NULL; variable
1180 (void) memset(gbuf, 0, MAX_BUF_LEN); in call_ioctl()
1184 gbuf->wldp_length = buf_len + WIFI_BUF_OFFSET; in call_ioctl()
1185 stri.ic_len = gbuf->wldp_length; in call_ioctl()
1188 gbuf->wldp_length = sizeof (wldp_t); in call_ioctl()
1189 stri.ic_len = gbuf->wldp_length; in call_ioctl()
1196 gbuf->wldp_type = NET_802_11; in call_ioctl()
1197 gbuf->wldp_id = params; in call_ioctl()
1201 stri.ic_dp = (char *)gbuf; in call_ioctl()
1204 gbuf->wldp_result = 0xffff; in call_ioctl()
[all …]
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dtsol_sgetzcent.c68 char gbuf[1024]; in str_to_mlp() local
95 else if (getprotobyname_r(fieldp, &proto, gbuf, in str_to_mlp()
96 sizeof (gbuf)) != NULL) in str_to_mlp()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlwlan.c143 dladm_wlan_wlresult2status(wldp_t *gbuf) in dladm_wlan_wlresult2status() argument
145 switch (gbuf->wldp_result) { in dladm_wlan_wlresult2status()
1094 wldp_t *gbuf, uint_t id, size_t len, uint_t cmd, size_t cmdlen) in i_dladm_wlan_legacy_ioctl() argument
1123 gbuf->wldp_type = NET_802_11; in i_dladm_wlan_legacy_ioctl()
1124 gbuf->wldp_id = id; in i_dladm_wlan_legacy_ioctl()
1125 gbuf->wldp_length = len; in i_dladm_wlan_legacy_ioctl()
1128 stri.ic_dp = (char *)gbuf; in i_dladm_wlan_legacy_ioctl()
1139 status = dladm_wlan_wlresult2status(gbuf); in i_dladm_wlan_legacy_ioctl()
1155 wldp_t *gbuf; in do_cmd_ioctl() local
1158 if ((gbuf = malloc(MAX_BUF_LEN)) == NULL) in do_cmd_ioctl()
[all …]
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_prop.c1651 char *gbuf, uint_t *gbufsize, const void *object) in i_ipadm_get_persist_propval() argument
1670 nbytes = snprintf(gbuf, *gbufsize, "%s", rvalp->ir_pval); in i_ipadm_get_persist_propval()