Home
last modified time | relevance | path

Searched refs:optdata (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetoption.c40 ldap_get_option( LDAP *ld, int option, void *optdata ) in ldap_get_option() argument
51 if (NULL == optdata) in ldap_get_option()
60 *((struct ldap_memalloc_fns *)optdata) = nsldapi_memalloc_fns; in ldap_get_option()
65 rc = nsldapi_get_api_info( (LDAPAPIInfo *)optdata ); in ldap_get_option()
80 *((int *) optdata) = ldap_debug; in ldap_get_option()
102 *((int *) optdata) = LDAP_GET_BITOPT( ld, LDAP_BITOPT_DNS ); in ldap_get_option()
107 *((int *) optdata) = in ldap_get_option()
113 *((int *) optdata) = LDAP_GET_BITOPT( ld, LDAP_BITOPT_SSL ); in ldap_get_option()
117 *((int *) optdata) = LDAP_GET_BITOPT( ld, LDAP_BITOPT_RESTART ); in ldap_get_option()
121 *((int *) optdata) = in ldap_get_option()
[all …]
H A Dsetoption.c41 #define LDAP_SETCLR_BITOPT(ld, bit, optdata) \ argument
42 if (optdata != NULL) { \
51 ldap_set_option(LDAP *ld, int option, const void *optdata) in ldap_set_option() argument
67 nsldapi_memalloc_fns = *((struct ldap_memalloc_fns *)optdata); in ldap_set_option()
90 ldap_debug = *((int *)optdata); in ldap_set_option()
123 LDAP_SETCLR_BITOPT(ld, LDAP_BITOPT_DNS, optdata); in ldap_set_option()
128 LDAP_SETCLR_BITOPT(ld, LDAP_BITOPT_REFERRALS, optdata); in ldap_set_option()
133 LDAP_SETCLR_BITOPT(ld, LDAP_BITOPT_SSL, optdata); in ldap_set_option()
138 LDAP_SETCLR_BITOPT(ld, LDAP_BITOPT_RESTART, optdata); in ldap_set_option()
142 LDAP_SETCLR_BITOPT(ld, LDAP_BITOPT_RECONNECT, optdata); in ldap_set_option()
[all …]
H A Dllib-lldap433 int ldap_set_option (LDAP *ld, int option, const void *optdata);
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ppp.c898 opt_format_vendor(uchar_t *optdata, uint8_t size) in opt_format_vendor() argument
904 GETINT32(oui, optdata); in opt_format_vendor()
927 opt_format_mru(uchar_t *optdata, uint8_t size) in opt_format_mru() argument
931 GETINT16(mru, optdata); in opt_format_mru()
948 opt_format_accm(uchar_t *optdata, uint8_t size) in opt_format_accm() argument
952 GETINT32(accm, optdata); in opt_format_accm()
971 opt_format_authproto(uchar_t *optdata, uint8_t size) in opt_format_authproto() argument
976 GETINT16(proto, optdata); in opt_format_authproto()
991 GETINT8(algo, optdata); in opt_format_authproto()
1029 opt_format_qualproto(uchar_t *optdata, uint8_t size) in opt_format_qualproto() argument
[all …]
/titanic_50/usr/src/cmd/rpcbind/
H A Drpcbind.c901 } optdata; in setopt_int() local
903 optdata.opt.level = level; in setopt_int()
904 optdata.opt.name = name; in setopt_int()
905 optdata.opt.len = sizeof (int); in setopt_int()
907 optdata.value = value; in setopt_int()
910 req.opt.len = sizeof (optdata); in setopt_int()
911 req.opt.buf = (char *)&optdata; in setopt_int()
914 resp.opt.buf = (char *)&optdata; in setopt_int()
915 resp.opt.maxlen = sizeof (optdata); in setopt_int()
/titanic_50/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-io.c318 PRSocketOptionData optdata; in prldap_try_one_address() local
320 optdata.option = PR_SockOpt_Nonblocking; in prldap_try_one_address()
321 optdata.value.non_blocking = PR_TRUE; in prldap_try_one_address()
322 if ( PR_SetSocketOption( prsockp->prsock_prfd, &optdata ) in prldap_try_one_address()
/titanic_50/usr/src/lib/libdtrace/common/
H A Ddt_consume.c2056 dtrace_setoptdata_t optdata; in dt_setopt() local
2058 bzero(&optdata, sizeof (optdata)); in dt_setopt()
2059 (void) dtrace_getopt(dtp, option, &optdata.dtsda_oldval); in dt_setopt()
2062 (void) dtrace_getopt(dtp, option, &optdata.dtsda_newval); in dt_setopt()
2063 optdata.dtsda_probe = data; in dt_setopt()
2064 optdata.dtsda_option = option; in dt_setopt()
2065 optdata.dtsda_handle = dtp; in dt_setopt()
2067 if ((rval = dt_handle_setopt(dtp, &optdata)) != 0) in dt_setopt()
/titanic_50/usr/src/head/
H A Dldap.h479 const void *optdata);
480 int LDAP_CALL ldap_get_option(LDAP *ld, int option, void *optdata);