Home
last modified time | relevance | path

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

/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/
Dserver.cpp60 sockaddr_in servAddr, clientAddr; in main() local
62 bzero(&servAddr, sizeof(servAddr)); in main()
63 servAddr.sin_family = PF_INET; in main()
64 servAddr.sin_family = INADDR_ANY; in main()
65 servAddr.sin_port = htons(Port); in main()
76 if (bind(sockfd, reinterpret_cast<sockaddr*>(&servAddr), in main()
77 sizeof(servAddr)) < 0) { in main()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
Dtoy.cpp1231 sockaddr_in servAddr; in connect() local
1232 bzero(&servAddr, sizeof(servAddr)); in connect()
1233 servAddr.sin_family = PF_INET; in connect()
1234 bcopy(server->h_addr, &servAddr.sin_addr.s_addr, server->h_length); in connect()
1235 servAddr.sin_port = htons(Port); in connect()
1236 if (connect(sockfd, reinterpret_cast<sockaddr*>(&servAddr), in connect()
1237 sizeof(servAddr)) < 0) { in connect()
/external/mdnsresponder/mDNSCore/
DuDNS.c785 …essage(m, &m->omsg, responsePtr, mDNSInterface_Any, q->LocalSocket, &q->servAddr, q->servPort, mDN… in sendChallengeResponse()
871 q->qname.c, DNSTypeName(q->qtype), q->state, srcaddr, &q->servAddr, in uDNS_recvLLQResponse()
890 if (!mDNSAddressIsOnes(&q->servAddr) && !mDNSIPPortIsZero(m->LLQNAT.ExternalPort) && in uDNS_recvLLQResponse()
935 if (q->state < LLQ_Established && mDNSSameAddress(srcaddr, &q->servAddr)) in uDNS_recvLLQResponse()
1313 q->servAddr = zeroAddr; in startLLQHandshake()
1342 …q->tcp = MakeTCPConn(m, mDNSNULL, mDNSNULL, kTCPSocketFlags_UseTLS, &q->servAddr, q->servPort, &q-… in startLLQHandshake()
1358 …&q->servAddr, mDNSVal16(q->servPort), mDNSAddrIsRFC1918(&q->servAddr) ? " (RFC 1918)" … in startLLQHandshake()
1382 …mDNSSendDNSMessage(m, &m->omsg, end, mDNSInterface_Any, q->LocalSocket, &q->servAddr, q->servPort,… in startLLQHandshake()
3590 …llq.err = q->tcp ? GetLLQEventPort(m, &q->servAddr) : LLQErr_NoError; // If using TCP tell se… in sendLLQRefresh()
3613 …q->tcp = MakeTCPConn(m, &m->omsg, end, kTCPSocketFlags_UseTLS, &q->servAddr, q->servPort, &q->nta-… in sendLLQRefresh()
[all …]
DmDNSEmbeddedAPI.h1558 …mDNSAddr servAddr; // Address and port learned from _dns-llq, _dns-llq-tls or _dns-… member
DmDNS.c7663 q->servAddr = question->servAddr; in UpdateQuestionDuplicates()
8410 question->servAddr = zeroAddr; in mDNS_StartQuery_internal()