Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-new.c77 char name[PCAP_BUF_SIZE], path[PCAP_BUF_SIZE], filename[PCAP_BUF_SIZE]; in pcap_findalldevs_ex()
81 …char tmpstring[PCAP_BUF_SIZE + 1]; /* Needed to convert names and descriptions from 'old' syntax … in pcap_findalldevs_ex()
89 if (strlen(source) > PCAP_BUF_SIZE) in pcap_findalldevs_ex()
114 tmpstring[PCAP_BUF_SIZE] = 0; in pcap_findalldevs_ex()
356 char name[PCAP_BUF_SIZE]; in pcap_open()
371 if (strlen(source) > PCAP_BUF_SIZE) in pcap_open()
Dpcap.c2068 pcap_strlcpy(source, PCAP_SRC_FILE_STRING, PCAP_BUF_SIZE);
2070 pcap_strlcat(source, name, PCAP_BUF_SIZE);
2081 PCAP_BUF_SIZE);
2089 pcap_strlcat(source, "[", PCAP_BUF_SIZE);
2090 pcap_strlcat(source, host, PCAP_BUF_SIZE);
2091 pcap_strlcat(source, "]", PCAP_BUF_SIZE);
2093 pcap_strlcat(source, host, PCAP_BUF_SIZE);
2096 pcap_strlcat(source, ":", PCAP_BUF_SIZE);
2097 pcap_strlcat(source, port, PCAP_BUF_SIZE);
2100 pcap_strlcat(source, "/", PCAP_BUF_SIZE);
[all …]
Dpcap-rpcap.c1063 …char portdata[PCAP_BUF_SIZE]; /* temp variable needed to keep the network port for the data conne… in pcap_startcapture_remote()
1264 snprintf(portdata, PCAP_BUF_SIZE, "%d", ntohs(startcapreply.portdata)); in pcap_startcapture_remote()
2313 char host[PCAP_BUF_SIZE], ctrlport[PCAP_BUF_SIZE], iface[PCAP_BUF_SIZE]; in pcap_open_rpcap()
2491 char host[PCAP_BUF_SIZE], port[PCAP_BUF_SIZE]; in pcap_findalldevs_ex_remote()
2492 …char tmpstring[PCAP_BUF_SIZE + 1]; /* Needed to convert names and descriptions from 'old' syntax … in pcap_findalldevs_ex_remote()
2532 …char tmpstring2[PCAP_BUF_SIZE + 1]; /* Needed to convert names and descriptions from 'old' syntax… in pcap_findalldevs_ex_remote()
2535 tmpstring2[PCAP_BUF_SIZE] = 0; in pcap_findalldevs_ex_remote()
/external/libpcap/pcap/
Dpcap.h869 #define PCAP_BUF_SIZE 1024 macro
/external/libpcap/rpcapd/
Ddaemon.c229 char source[PCAP_BUF_SIZE+1]; // keeps the string that contains the interface to open in daemon_serviceloop()
1944 char portdata[PCAP_BUF_SIZE]; // temp variable needed to derive the data port in daemon_msg_startcap_req()
1945 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