Home
last modified time | relevance | path

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

/titanic_41/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 …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/wificonfig/
H A Dwificonfig.c163 static wldp_t *gbuf = NULL; variable
1178 (void) memset(gbuf, 0, MAX_BUF_LEN); in call_ioctl()
1182 gbuf->wldp_length = buf_len + WIFI_BUF_OFFSET; in call_ioctl()
1183 stri.ic_len = gbuf->wldp_length; in call_ioctl()
1186 gbuf->wldp_length = sizeof (wldp_t); in call_ioctl()
1187 stri.ic_len = gbuf->wldp_length; in call_ioctl()
1194 gbuf->wldp_type = NET_802_11; in call_ioctl()
1195 gbuf->wldp_id = params; in call_ioctl()
1199 stri.ic_dp = (char *)gbuf; in call_ioctl()
1202 gbuf->wldp_result = 0xffff; in call_ioctl()
[all …]
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dsftp-common.c198 char buf[1024], mode[11+1], tbuf[12+1], ubuf[11+1], gbuf[11+1]; in ls_file() local
210 snprintf(gbuf, sizeof gbuf, "%u", (u_int)st->st_gid); in ls_file()
211 group = gbuf; in ls_file()
/titanic_41/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()
/titanic_41/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()
1093 wldp_t *gbuf, uint_t id, size_t len, uint_t cmd, size_t cmdlen) in i_dladm_wlan_legacy_ioctl() argument
1122 gbuf->wldp_type = NET_802_11; in i_dladm_wlan_legacy_ioctl()
1123 gbuf->wldp_id = id; in i_dladm_wlan_legacy_ioctl()
1124 gbuf->wldp_length = len; in i_dladm_wlan_legacy_ioctl()
1127 stri.ic_dp = (char *)gbuf; in i_dladm_wlan_legacy_ioctl()
1138 status = dladm_wlan_wlresult2status(gbuf); in i_dladm_wlan_legacy_ioctl()
1154 wldp_t *gbuf; in do_cmd_ioctl() local
1157 if ((gbuf = malloc(MAX_BUF_LEN)) == NULL) in do_cmd_ioctl()
[all …]
/titanic_41/usr/src/lib/libipadm/common/
H A Dipadm_prop.c1630 char *gbuf, uint_t *gbufsize, const void *object) in i_ipadm_get_persist_propval() argument
1649 nbytes = snprintf(gbuf, *gbufsize, "%s", rvalp->ir_pval); in i_ipadm_get_persist_propval()