Home
last modified time | relevance | path

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

/cts/tests/tests/security/jni/
Dandroid_security_cts_NativeCodeTest.cpp196 struct sockaddr sock_addr; in android_security_cts_NativeCodeTest_doPingPongRootTest() local
198 memset(&sock_addr, 0, sizeof(sock_addr)); in android_security_cts_NativeCodeTest_doPingPongRootTest()
200 sock_addr.sa_family = AF_INET; in android_security_cts_NativeCodeTest_doPingPongRootTest()
203 connect(icmp_sock, &sock_addr, sizeof(sock_addr)); in android_security_cts_NativeCodeTest_doPingPongRootTest()
206 sock_addr.sa_family = AF_UNSPEC; in android_security_cts_NativeCodeTest_doPingPongRootTest()
207 connect(icmp_sock, &sock_addr, sizeof(sock_addr)); in android_security_cts_NativeCodeTest_doPingPongRootTest()
210 sock_addr.sa_family = AF_UNSPEC; in android_security_cts_NativeCodeTest_doPingPongRootTest()
211 connect(icmp_sock, &sock_addr, sizeof(sock_addr)); in android_security_cts_NativeCodeTest_doPingPongRootTest()