Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-snoop.c209 int ll_hdrlen; in pcap_activate_snoop() local
264 ll_hdrlen = sizeof(struct ether_header); in pcap_activate_snoop()
299 ll_hdrlen = 13; in pcap_activate_snoop()
302 ll_hdrlen = 0; /* DLT_RAW meaning "no PPP header, just the IP packet"? */ in pcap_activate_snoop()
305 ll_hdrlen = 24; in pcap_activate_snoop()
308 ll_hdrlen = 0; /* Cray UNICOS/mp pseudo link */ in pcap_activate_snoop()
311 ll_hdrlen = 4; in pcap_activate_snoop()
367 if (p->snapshot > ifr.ifr_mtu + ll_hdrlen) in pcap_activate_snoop()
368 p->snapshot = ifr.ifr_mtu + ll_hdrlen; in pcap_activate_snoop()
376 snooplen = p->snapshot - ll_hdrlen; in pcap_activate_snoop()