/external/ltp/testcases/kernel/sched/clisrv/ |
D | pthcli.c | 102 struct sockaddr_in serv_addr; in main() local 111 memset((char *)&serv_addr, 0x00, sizeof(serv_addr)); in main() 112 serv_addr.sin_family = AF_INET; in main() 113 serv_addr.sin_addr.s_addr = inet_addr(argv[1]); in main() 114 serv_addr.sin_port = htons(SERV_TCP_PORT); in main() 118 "serv_addr.sin_port = %d\n", __FILE__, serv_addr.sin_family, in main() 119 serv_addr.sin_addr.s_addr, serv_addr.sin_port); in main() 131 if (connect(sockfd, (struct sockaddr *)&serv_addr, sizeof(serv_addr)) < in main()
|
D | pthserv.c | 95 struct sockaddr_in cli_addr, serv_addr; in main() local 109 memset((char *)&serv_addr, 0x00, sizeof(serv_addr)); in main() 110 serv_addr.sin_family = AF_INET; in main() 111 serv_addr.sin_addr.s_addr = htonl(INADDR_ANY); in main() 112 serv_addr.sin_port = htons(SERV_TCP_PORT); in main() 116 "serv_addr.sin_port = %d\n", __FILE__, serv_addr.sin_family, in main() 117 serv_addr.sin_addr.s_addr, serv_addr.sin_port)); in main() 120 if (bind(sockfd, (struct sockaddr *)&serv_addr, sizeof(serv_addr)) < 0) { in main()
|
/external/ltp/testcases/network/nfsv4/locks/ |
D | netsync.c | 151 struct sockaddr_in serv_addr; in setupConnectionClient() local 164 serv_addr.sin_addr = *(struct in_addr *)server->h_addr; in setupConnectionClient() 165 serv_addr.sin_port = htons(PORT); in setupConnectionClient() 166 serv_addr.sin_family = AF_INET; in setupConnectionClient() 167 if (connect(fdServeur, (struct sockaddr *)&serv_addr, sizeof(serv_addr)) in setupConnectionClient()
|
/external/libpcap/ |
D | pcap-sita.c | 67 struct sockaddr_in *serv_addr; /* the address control block for comms to this unit */ member 314 if (u->serv_addr == NULL) { in open_with_IOP() 315 u->serv_addr = malloc(sizeof(struct sockaddr_in)); in open_with_IOP() 318 if (u->serv_addr == NULL) { /* oops, we didn't get the memory requested */ in open_with_IOP() 326 memset((char *)u->serv_addr, 0, sizeof(struct sockaddr_in)); in open_with_IOP() 327 u->serv_addr->sin_family = AF_INET; in open_with_IOP() 328 u->serv_addr->sin_addr.s_addr = inet_addr(ip); in open_with_IOP() 329 u->serv_addr->sin_port = htons(IOP_SNIFFER_PORT); in open_with_IOP() 335 if (connect(sockfd, (struct sockaddr *)u->serv_addr, sizeof(struct sockaddr_in)) < 0) { in open_with_IOP()
|
/external/valgrind/ |
D | glibc-2.2.supp | 355 socketcall.connect(serv_addr)/connect/* 357 socketcall.connect(serv_addr) 362 socketcall.connect(serv_addr)/libc-2.2.4.so/libc-2.2.4.so 364 socketcall.connect(serv_addr)
|
/external/valgrind/coregrind/ |
D | m_libcfile.c | 969 Int my_connect ( Int sockfd, struct vki_sockaddr_in* serv_addr, Int addrlen ); 1167 Int my_connect ( Int sockfd, struct vki_sockaddr_in* serv_addr, Int addrlen ) in my_connect() argument 1175 args[1] = (UWord)serv_addr; in my_connect() 1184 res = VG_(do_syscall3)(__NR_connect, sockfd, (UWord)serv_addr, addrlen); in my_connect() 1190 sockfd, (UWord)serv_addr, addrlen); in my_connect() 1195 res = VG_(do_syscall4)(__NR_connect, sockfd, (UWord)serv_addr, addrlen, in my_connect()
|
/external/openssh/ |
D | sshconnect.c | 332 timeout_connect(int sockfd, const struct sockaddr *serv_addr, in timeout_connect() argument 343 result = connect(sockfd, serv_addr, addrlen); in timeout_connect() 348 rc = connect(sockfd, serv_addr, addrlen); in timeout_connect()
|
/external/ltp/testcases/kernel/syscalls/epoll2/examples/ |
D | epoll-test.c | 203 int eph_connect(struct eph_conn *conn, const struct sockaddr *serv_addr, in eph_connect() argument 207 if (connect(conn->sfd, serv_addr, addrlen) == -1) { in eph_connect()
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-darwin.c | 3672 int, sockfd, struct sockaddr *, serv_addr, int, addrlen); in PRE()
|
D | syswrap-linux.c | 4847 int, sockfd, struct sockaddr *, serv_addr, int, addrlen); in PRE()
|