Searched refs:portdata (Results 1 - 2 of 2) sorted by relevance

/external/libpcap/
H A Dpcap-rpcap.h201 uint16 portdata; /* Network port on which the client is waiting at (if 'serveropen') */ member in struct:rpcap_startcapreq
209 uint16 portdata; /* Network port on which the server is waiting at (passive mode only) */ member in struct:rpcap_startcapreply
H A Dpcap-rpcap.c909 char portdata[PCAP_BUF_SIZE]; /* temp variable needed to keep the network port for the the data connection */ local
1023 0, portdata, sizeof(portdata), NI_NUMERICSERV))
1054 /* portdata on the openreq is meaningful only if we're in active mode */
1057 sscanf(portdata, "%d", (int *)&(startcapreq->portdata)); /* cast to avoid a compiler warning */
1058 startcapreq->portdata = htons(startcapreq->portdata);
1135 pcap_snprintf(portdata, PCAP_BUF_SIZE, "%d", ntohs(startcapreply.portdata));
[all...]

Completed in 75 milliseconds