Home
last modified time | relevance | path

Searched refs:ETH_MAX (Results 1 – 4 of 4) sorted by relevance

/external/libpcap/msdos/
Dpkt_rx1.s10 %define ETH_MAX (ETH_MTU+2*6+2) ; =1514
12 %define RX_SIZE (ETH_MAX+6) ; sizeof(RX_ELEMENT) = 1514+6
34 _pktTxBuf resb (ETH_MAX) ; TX buffer
100 cmp cx, ETH_MAX ; size OK ?
Dpktdrvr.c505 if (count_1 > ETH_MAX) in CheckElement()
/external/libpcap/
Dpcap-dos.h25 #define ETH_MAX (ETH_MTU+ETH_HLEN) macro
104 #define RECEIVE_BUF_SIZE (ETH_MAX+20)
129 BYTE data[ETH_MAX+10]; /* add some margin. data[0] should be */
Dpcap-dos.c180 if (pcap->snapshot > ETH_MAX) /* silently accept and truncate large MTUs */ in pcap_activate_dos()
181 pcap->snapshot = ETH_MAX; in pcap_activate_dos()
192 pcap->bufsize = ETH_MAX+100; /* add some margin */ in pcap_activate_dos()
853 static char rxbuf [ETH_MAX+100]; /* rx-buffer with some margin */
1016 pcap_save.snapshot = MTU > 0 ? MTU : ETH_MAX; /* assume 1514 */ in init_watt32()
1362 if (len < ETH_MIN || len > ETH_MAX) in get_rxbuf()