Home
last modified time | relevance | path

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

/external/ltp/utils/sctp/func_tests/
Dtest_1_to_1_socket_bind_listen.c91 struct sockaddr_in bind_addr; in main() local
134 bind_addr.sin_family = AF_INET; in main()
135 bind_addr.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main()
136 bind_addr.sin_port = htons(SCTP_TESTPORT_1); in main()
138 error = bind(sk, (struct sockaddr *) &bind_addr, sizeof(bind_addr)-2); in main()
151 error = bind(fd, (struct sockaddr *) &bind_addr, sizeof(bind_addr)); in main()
164 bind_addr.sin_addr.s_addr = inet_addr(SCTP_INV_LOOPBACK); in main()
165 error = bind(sk, (struct sockaddr *) &bind_addr, sizeof(bind_addr)); in main()
174 bind_addr.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main()
176 test_bind(sk, (struct sockaddr *) &bind_addr, sizeof(bind_addr)); in main()
[all …]
/external/webrtc/webrtc/base/
Dphysicalsocketserver.h130 int Bind(const SocketAddress& bind_addr) override;
Dphysicalsocketserver.cc165 int PhysicalSocket::Bind(const SocketAddress& bind_addr) { in Bind() argument
167 size_t len = bind_addr.ToSockAddrStorage(&addr_storage); in Bind()