Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/sockets/
Dsockets.c316 socklen_t addrlen_copy; in z_vrfy_zsock_accept() local
319 K_OOPS(addrlen && k_usermode_from_copy(&addrlen_copy, addrlen, in z_vrfy_zsock_accept()
321 K_OOPS(addr && K_SYSCALL_MEMORY_WRITE(addr, addrlen ? addrlen_copy : 0)); in z_vrfy_zsock_accept()
324 addrlen ? &addrlen_copy : NULL); in z_vrfy_zsock_accept()
326 K_OOPS(ret >= 0 && addrlen && k_usermode_to_copy(addrlen, &addrlen_copy, in z_vrfy_zsock_accept()
499 socklen_t addrlen_copy; in z_vrfy_zsock_recvfrom() local
508 K_OOPS(k_usermode_from_copy(&addrlen_copy, addrlen, in z_vrfy_zsock_recvfrom()
511 K_OOPS(src_addr && K_SYSCALL_MEMORY_WRITE(src_addr, addrlen_copy)); in z_vrfy_zsock_recvfrom()
515 addrlen ? &addrlen_copy : NULL); in z_vrfy_zsock_recvfrom()
518 K_OOPS(k_usermode_to_copy(addrlen, &addrlen_copy, in z_vrfy_zsock_recvfrom()
[all …]