Home | History | Annotate | Download | only in libpcap

Lines Matching defs:from

17  * products derived from this software without specific prior written
77 int dag_fcs_bits; /* Number of checksum bits from link layer */
90 uint32 totread = 0; /* number of bytes of the payload read from the socket */
104 char tmpstring[PCAP_BUF_SIZE + 1]; /* Needed to convert names and descriptions from 'old' syntax to the 'new' one */
134 /* The user wants to retrieve adapters from a local host */
442 char tmpstring2[PCAP_BUF_SIZE + 1]; /* Needed to convert names and descriptions from 'old' syntax to the 'new' one */
447 /* receive the findalldevs structure from remote host */
1006 struct sockaddr_storage from; /* generic sockaddr_storage variable */
1053 sockctrl = accept(sockmain, (struct sockaddr *) &from, &fromlen);
1067 if (getnameinfo((struct sockaddr *) &from, fromlen, connectinghost, RPCAP_HOSTLIST_SIZE, NULL, 0, NI_NUMERICHOST))
1076 if (sock_check_hostlist((char *)hostlist, RPCAP_HOSTLIST_SEP, &from, errbuf, PCAP_ERRBUF_SIZE) < 0)
1100 if (sock_cmpaddr(&temp->host, &from) == 0)
1127 memcpy(&temp->host, &from, fromlen);