Home
last modified time | relevance | path

Searched refs:cred_len (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/kernel/syscalls/getsockopt/
Dgetsockopt02.c57 socklen_t cred_len = sizeof(cred); in test_function() local
69 SO_PEERCRED, &cred, &cred_len) < 0) { in test_function()
/external/libmojo/mojo/edk/embedder/
Dplatform_channel_utils_posix.cc50 socklen_t cred_len = sizeof(cred); in GetPeerEuid() local
51 if (getsockopt(handle.handle, SOL_SOCKET, SO_PEERCRED, &cred, &cred_len) < in GetPeerEuid()
56 if (static_cast<unsigned>(cred_len) < sizeof(cred)) { in GetPeerEuid()
/external/wpa_supplicant_8/src/wps/
Dwps_enrollee.c701 size_t cred_len, int wps2) in wps_process_cred_e() argument
709 wpabuf_set(&msg, cred, cred_len); in wps_process_cred_e()
752 wps->cred.cred_attr_len = cred_len + 4; in wps_process_cred_e()
763 u16 cred_len[], unsigned int num_cred, int wps2) in wps_process_creds() argument
779 res = wps_process_cred_e(wps, cred[i], cred_len[i], wps2); in wps_process_creds()
1009 wps_process_creds(wps, eattr.cred, eattr.cred_len, in wps_process_m2()
1249 wps_process_creds(wps, eattr.cred, eattr.cred_len, in wps_process_m8()
Dwps_attr_parse.h94 u16 cred_len[MAX_CRED_COUNT]; member
Dwps_attr_parse.c514 attr->cred_len[attr->num_cred] = len; in wps_set_attr()
Dwps_common.c445 wpabuf_set(&msg, attr->cred[i], attr->cred_len[i]); in wps_oob_use_cred()
Dwps_validate.c1818 wps_validate_credential(attr.cred, attr.cred_len, attr.num_cred, in wps_validate_m8_encr()