Home
last modified time | relevance | path

Searched refs:PCAP_BUF_SIZE (Results 1 – 6 of 6) sorted by relevance

/external/libpcap/
Dpcap-new.c72 char name[PCAP_BUF_SIZE], path[PCAP_BUF_SIZE], filename[PCAP_BUF_SIZE]; in pcap_findalldevs_ex()
74 …char tmpstring[PCAP_BUF_SIZE + 1]; /* Needed to convert names and descriptions from 'old' syntax … in pcap_findalldevs_ex()
82 if (strlen(source) > PCAP_BUF_SIZE) in pcap_findalldevs_ex()
107 tmpstring[PCAP_BUF_SIZE] = 0; in pcap_findalldevs_ex()
355 char name[PCAP_BUF_SIZE]; in pcap_open()
360 if (strlen(source) > PCAP_BUF_SIZE) in pcap_open()
Dpcap.c1808 strlcpy(source, PCAP_SRC_FILE_STRING, PCAP_BUF_SIZE);
1810 strlcat(source, name, PCAP_BUF_SIZE);
1819 strlcpy(source, PCAP_SRC_IF_STRING, PCAP_BUF_SIZE);
1827 strlcat(source, "[", PCAP_BUF_SIZE);
1828 strlcat(source, host, PCAP_BUF_SIZE);
1829 strlcat(source, "]", PCAP_BUF_SIZE);
1831 strlcat(source, host, PCAP_BUF_SIZE);
1834 strlcat(source, ":", PCAP_BUF_SIZE);
1835 strlcat(source, port, PCAP_BUF_SIZE);
1838 strlcat(source, "/", PCAP_BUF_SIZE);
[all …]
Dpcap-rpcap.c1016 …char portdata[PCAP_BUF_SIZE]; /* temp variable needed to keep the network port for the data conne… in pcap_startcapture_remote()
1213 pcap_snprintf(portdata, PCAP_BUF_SIZE, "%d", ntohs(startcapreply.portdata)); in pcap_startcapture_remote()
2107 char host[PCAP_BUF_SIZE], ctrlport[PCAP_BUF_SIZE], iface[PCAP_BUF_SIZE]; in pcap_open_rpcap()
2356 char host[PCAP_BUF_SIZE], port[PCAP_BUF_SIZE]; in pcap_findalldevs_ex_remote()
2357 …char tmpstring[PCAP_BUF_SIZE + 1]; /* Needed to convert names and descriptions from 'old' syntax … in pcap_findalldevs_ex_remote()
2455 …char tmpstring2[PCAP_BUF_SIZE + 1]; /* Needed to convert names and descriptions from 'old' syntax… in pcap_findalldevs_ex_remote()
2459 tmpstring2[PCAP_BUF_SIZE] = 0; in pcap_findalldevs_ex_remote()
/external/libpcap/pcap/
Dpcap.h624 #define PCAP_BUF_SIZE 1024 macro
/external/libpcap/rpcapd/
Ddaemon.c147 char source[PCAP_BUF_SIZE+1]; // keeps the string that contains the interface to open in daemon_serviceloop()
1549 char portdata[PCAP_BUF_SIZE]; // temp variable needed to derive the data port in daemon_msg_startcap_req()
1550 char peerhost[PCAP_BUF_SIZE]; // temp variable needed to derive the host name of our peer in daemon_msg_startcap_req()
/external/scapy/scapy/modules/
Dwinpcapy.py592 PCAP_BUF_SIZE = 1024 variable