Searched refs:cred_len (Results 1 – 7 of 7) sorted by relevance
/external/ltp/testcases/kernel/syscalls/getsockopt/ |
D | getsockopt02.c | 57 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/ |
D | platform_channel_utils_posix.cc | 50 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/ |
D | wps_enrollee.c | 701 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()
|
D | wps_attr_parse.h | 94 u16 cred_len[MAX_CRED_COUNT]; member
|
D | wps_attr_parse.c | 514 attr->cred_len[attr->num_cred] = len; in wps_set_attr()
|
D | wps_common.c | 445 wpabuf_set(&msg, attr->cred[i], attr->cred_len[i]); in wps_oob_use_cred()
|
D | wps_validate.c | 1818 wps_validate_credential(attr.cred, attr.cred_len, attr.num_cred, in wps_validate_m8_encr()
|