Searched refs:auth_cnt (Results 1 – 5 of 5) sorted by relevance
/titanic_44/usr/src/cmd/auths/ |
H A D | auths.c | 48 int auth_cnt; member 114 if (cbs.auth_cnt == 0) in show_auths() 127 for (i = 0; i < cbs.auth_cnt - 1; i++) in show_auths() 131 (void) printf("%s\n", cbs.auths[cbs.auth_cnt - 1]); in show_auths() 146 if (cbs->auth_cnt >= cbs->auth_max) { in add_auth() 158 cbs->auths[cbs->auth_cnt] = strdup(authname); in add_auth() 159 cbs->auth_cnt++; in add_auth() 169 for (i = 0; i < cbs->auth_cnt; i++) in free_auths() 206 qsort(cbs->auths, cbs->auth_cnt, sizeof (cbs->auths[0]), mstrptr); in simplify() 214 for (i = 0, rem = 0; i < cbs->auth_cnt - rem - 1; ) { in simplify() [all …]
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_slp.c | 1141 int i, auth_cnt; in v2_srv_rply() local 1156 GETBYTE(auth_cnt); in v2_srv_rply() 1157 for (i = 0; i < auth_cnt; auth_cnt++) in v2_srv_rply() 1176 int i, auth_cnt; in v2_srv_reg() local 1183 GETBYTE(auth_cnt); in v2_srv_reg() 1184 for (i = 0; i < auth_cnt; i++) in v2_srv_reg() 1190 GETBYTE(auth_cnt); in v2_srv_reg() 1191 for (i = 0; i < auth_cnt; i++) in v2_srv_reg() 1201 GETBYTE(auth_cnt); in v2_srv_reg() 1202 for (i = 0; i < auth_cnt; i++) in v2_srv_reg() [all …]
|
/titanic_44/usr/src/lib/libslp/clib/ |
H A D | SAAdvert.c | 47 int auth_cnt; in slp_unpackSAAdvert() local 80 if ((err = slp_get_byte(reply, len, &off, &auth_cnt)) != SLP_OK) { in slp_unpackSAAdvert() 83 if (slp_get_security_on() || auth_cnt > 0) { in slp_unpackSAAdvert() 87 auth_cnt, in slp_unpackSAAdvert()
|
H A D | DAAdvert.c | 47 int auth_cnt; in slp_unpackDAAdvert() local 107 if ((err = slp_get_byte(reply, len, &off, &auth_cnt)) != SLP_OK) { in slp_unpackDAAdvert() 110 if (slp_get_security_on() || auth_cnt > 0) { in slp_unpackDAAdvert() 114 auth_cnt, in slp_unpackDAAdvert()
|
H A D | SLPFindAttrs.c | 114 int auth_cnt; in slp_UnpackAttrReply() local 151 if (slp_get_byte(reply, len, &off, &auth_cnt) != SLP_OK) { in slp_UnpackAttrReply() 156 if ((!hp->internal_call && slp_get_security_on()) || auth_cnt > 0) { in slp_UnpackAttrReply() 166 auth_cnt, in slp_UnpackAttrReply()
|