Searched refs:sin4 (Results 1 – 6 of 6) sorted by relevance
/third_party/ltp/testcases/network/lib6/ |
D | asapi_01.c | 348 struct sockaddr_in sin4; in isocketpair() local 353 memset(&sin4, 0, sizeof(sin4)); in isocketpair() 355 SAFE_BIND(NULL, listen_fd, (struct sockaddr *)&sin4, sizeof(sin4)); in isocketpair() 359 namelen = sizeof(sin4); in isocketpair() 360 SAFE_GETSOCKNAME(NULL, listen_fd, (struct sockaddr *)&sin4, &namelen); in isocketpair() 367 sin4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in isocketpair() 369 SAFE_CONNECT(NULL, fd[0], (struct sockaddr *)&sin4, sizeof(sin4)); in isocketpair()
|
/third_party/ltp/testcases/kernel/syscalls/connect/ |
D | connect01.c | 62 struct sockaddr_in sin1, sin2, sin3, sin4; variable 108 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&sin4, 109 sizeof(sin4), -1, EAFNOSUPPORT, setup1, cleanup1, 195 sin4.sin_family = 47; /* bogus address family */ in setup() 196 sin4.sin_port = 0; in setup() 197 sin4.sin_addr.s_addr = htonl(0x0AFFFEFD); in setup()
|
/third_party/libwebsockets/lib/core-net/ |
D | network.c | 162 struct sockaddr_in sin4; in lws_get_peer_addresses() local 175 len = sizeof(sin4); in lws_get_peer_addresses() 176 p = &sin4; in lws_get_peer_addresses()
|
/third_party/ltp/testcases/kernel/syscalls/recv/ |
D | recv01.c | 63 struct sockaddr_in sin1, sin2, sin3, sin4; variable
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/ |
D | sctp_pcb.c | 2403 struct sockaddr_in sin4; local 2410 memset(&sin4, 0, sizeof(sin4)); 2412 sin4.sin_len = sizeof(sin4); 2414 sin4.sin_family = AF_INET; 2415 sin4.sin_port = sh->src_port; 2450 memcpy(&sin4.sin_addr, &p4->addr, sizeof(p4->addr)); 2453 (struct sockaddr *)&sin4, netp, dst, NULL);
|
D | sctp_output.c | 5719 struct sockaddr_in sin4, *sa4; local 5729 memset(&sin4, 0, sizeof(sin4)); 5730 sin4.sin_family = AF_INET; 5732 sin4.sin_len = sizeof(sin4); 5841 sin4.sin_addr.s_addr = p4->addr; 5842 sa_touse = (struct sockaddr *)&sin4; 5885 sin4.sin_addr.s_addr) {
|