Searched defs:chap (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dchap.c2 * chap.c - Challenge Handshake Authentication Protocol.
39 #define RCSID "$Id: chap.c,v 1.24 1999/11/15 01:51:50 paulus Exp $"
52 #include "chap.h"
66 { "chap-restart", o_int, &chap[0].timeouttime,
68 { "chap-max-challenge", o_int, &chap[0].max_transmits,
70 { "chap-interval", o_int, &chap[0].chal_interval,
111 chap_state chap[NUM_PP variable
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_ioctl.c768 * chap param, or authentication params
773 iscsi_chap_props_t *chap; local
791 /* check chap params */
792 chap = kmem_zalloc(sizeof (iscsi_chap_props_t),
794 if (persistent_chap_get(name, chap)) {
805 sizeof (chap->c_user);
807 chap->c_user, name,
808 sizeof (chap->c_user))
810 bzero(chap->c_user,
814 chap
[all...]
H A Dpersistent.c978 persistent_chap_set(char *node, iscsi_chap_props_t *chap) argument
984 (void *)chap, sizeof (iscsi_chap_props_t));
994 persistent_chap_get(char *node, iscsi_chap_props_t *chap) argument
997 (void *)chap, sizeof (*chap)));
1001 * persistent_chap_next -- copy the next target's chap parameters.
1007 * This function assumes the associated chap parameter lock is held.
1013 persistent_chap_next(void **v, char *node, iscsi_chap_props_t *chap) argument
1018 (void *)chap, sizeof (*chap)));
1205 iscsi_chap_props_t *chap; local
[all...]
H A Discsi_sess.c690 iscsi_chap_props_t *chap = NULL; local
733 chap = (iscsi_chap_props_t *)kmem_zalloc
737 * Initialize the target-side chap name to the session name
738 * if no chap settings have been saved for the current session.
740 if (persistent_chap_get((char *)isp->sess_name, chap)
743 bcopy((char *)isp->sess_name, chap->c_user, name_len);
744 chap->c_user_len = name_len;
746 chap));
747 bzero(chap, sizeof (*chap));
[all...]
H A Discsid.c1993 iscsi_chap_props_t *chap = NULL; local
2038 chap = (iscsi_chap_props_t *)kmem_zalloc(sizeof (*chap),
2040 if (persistent_chap_get((char *)ihp->hba_name, chap) ==
2042 bcopy((char *)ihp->hba_name, chap->c_user,
2044 chap->c_user_len = strlen((char *)ihp->hba_name);
2045 (void) persistent_chap_set((char *)ihp->hba_name, chap);
2047 kmem_free(chap, sizeof (*chap));
H A Discsi.c1477 iscsi_chap_props_t *chap = NULL; local
2343 chap = (iscsi_chap_props_t *)kmem_zalloc(sizeof (*chap),
2345 if (ddi_copyin((caddr_t)arg, chap, sizeof (*chap), mode)) {
2347 kmem_free(chap, sizeof (*chap));
2349 } else if (chap->c_vers != ISCSI_INTERFACE_VERSION) {
2351 kmem_free(chap, sizeof (*chap));
2451 iscsi_chap_props_t *chap = NULL; local
[all...]

Completed in 96 milliseconds