Home | History | Annotate | Download | only in libpcap

Lines Matching refs:maclen

3581 	unsigned int sk_type, tp_reserve, maclen, tp_hdrlen, netoff, macoff;
3678 maclen = (sk_type == SOCK_DGRAM) ? 0 : MAX_LINKHEADER_SIZE;
3679 /* XXX: in the kernel maclen is calculated from
3694 netoff = TPACKET_ALIGN(tp_hdrlen + (maclen < 16 ? 16 : maclen)) + tp_reserve;
3706 macoff = netoff - maclen;