Searched refs:servaddr (Results 1 – 2 of 2) sorted by relevance
453 struct sockaddr_in cliaddr, servaddr; in ext_parser_accept() local469 bzero(&servaddr, sizeof(servaddr)); in ext_parser_accept()470 servaddr.sin_family = AF_INET; in ext_parser_accept()471 servaddr.sin_addr.s_addr = htonl(INADDR_ANY); in ext_parser_accept()472 servaddr.sin_port = htons(port); in ext_parser_accept()474 srvlen = sizeof(servaddr); in ext_parser_accept()484 result = bind(s_listen, (struct sockaddr *) &servaddr, srvlen); in ext_parser_accept()
789 struct sockaddr_in servaddr; in clang_codeCompleteAt_Impl() local790 bzero(&servaddr, sizeof(servaddr)); in clang_codeCompleteAt_Impl()791 servaddr.sin_family = AF_INET; in clang_codeCompleteAt_Impl()792 servaddr.sin_port = htons(UDP_CODE_COMPLETION_LOGGER_PORT); in clang_codeCompleteAt_Impl()794 &servaddr.sin_addr) <= 0) in clang_codeCompleteAt_Impl()802 (struct sockaddr *)&servaddr, sizeof(servaddr)); in clang_codeCompleteAt_Impl()