Home | History | Annotate | Download | only in libpcap

Lines Matching defs:mtu

4317 		 * the MTU of the interface; we fetch the MTU in the hopes
4321 * based on the MTU, so that the MTU limits the maximum size
4326 * than MTU, but bounded to 65535 plus the Ethernet overhead,
4331 int mtu;
4334 mtu = iface_get_mtu(handle->fd, handle->opt.device,
4336 if (mtu == -1) {
4346 max_frame_len = MAX(mtu, 65535);
4348 max_frame_len = mtu;
6593 int mtu;
6731 * of the network; we can only get the MTU. The
6732 * MTU may be too small, in which case a packet larger
6737 * the buffer size based on the MTU, we use the
6741 * to the MTU-based size.
6748 mtu = iface_get_mtu(handle->fd, device, handle->errbuf);
6749 if (mtu == -1)
6751 handle->bufsize = MAX_LINKHEADER_SIZE + mtu;
6819 * Query the kernel for the MTU of the given interface.