Searched refs:tp_reserve (Results 1 - 1 of 1) sorted by relevance

/freebsd-9.3-release/contrib/libpcap/
H A Dpcap-linux.c3279 unsigned int sk_type, tp_reserve, maclen, tp_hdrlen, netoff, macoff; local
3348 len = sizeof(tp_reserve);
3349 if (getsockopt(handle->fd, SOL_PACKET, PACKET_RESERVE, &tp_reserve, &len) < 0) {
3360 tp_reserve = 0; /* older kernel, reserve not supported */
3363 tp_reserve = 0; /* older kernel, reserve not supported */
3381 netoff = TPACKET_ALIGN(tp_hdrlen + (maclen < 16 ? 16 : maclen)) + tp_reserve;
3382 /* NOTE: AFAICS tp_reserve may break the TPACKET_ALIGN of

Completed in 66 milliseconds