Lines Matching refs:sockaddr
96 static int offload_bind(void *obj, const struct sockaddr *addr, in offload_bind()
109 static int offload_connect(void *obj, const struct sockaddr *addr, in offload_connect()
133 static int offload_accept(void *obj, struct sockaddr *addr, socklen_t *addrlen) in offload_accept()
146 int flags, const struct sockaddr *dest_addr, in offload_sendto()
175 int flags, struct sockaddr *src_addr, in offload_recvfrom()
221 static int offload_getpeername(void *obj, struct sockaddr *addr, in offload_getpeername()
234 static int offload_getsockname(void *obj, struct sockaddr *addr, in offload_getsockname()
508 ret = zsock_bind(test_sock, (struct sockaddr *)&addr, sizeof(addr)); in ZTEST()
524 ret = zsock_connect(test_sock, (struct sockaddr *)&addr, sizeof(addr)); in ZTEST()
556 ret = zsock_accept(test_sock, (struct sockaddr *)&addr, &addrlen); in ZTEST()
574 (struct sockaddr *)&addr, sizeof(addr)); in ZTEST()
658 ret = zsock_getpeername(test_sock, (struct sockaddr *)&addr, &addrlen); in ZTEST()
675 ret = zsock_getsockname(test_sock, (struct sockaddr *)&addr, &addrlen); in ZTEST()
712 (struct sockaddr *)&addr, sizeof(addr)); in ZTEST()
744 (struct sockaddr *)&addr, sizeof(addr)); in ZTEST()
793 ret = zsock_connect(test_sock, (struct sockaddr *)&addr, sizeof(addr)); in ZTEST()
840 (void)zsock_connect(test_sock, (struct sockaddr *)&addr, sizeof(addr)); in ZTEST()