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
257 ll_hdrlen = sizeof(struct ether_header); in pcap_activate_snoop()
292 ll_hdrlen = 13; in pcap_activate_snoop()
295 ll_hdrlen = 0; /* DLT_RAW meaning "no PPP header, just the IP packet"? */ in pcap_activate_snoop()
298 ll_hdrlen = 24; in pcap_activate_snoop()
301 ll_hdrlen = 0; /* Cray UNICOS/mp pseudo link */ in pcap_activate_snoop()
304 ll_hdrlen = 4; in pcap_activate_snoop()
349 if (p->snapshot > ifr.ifr_mtu + ll_hdrlen) in pcap_activate_snoop()
350 p->snapshot = ifr.ifr_mtu + ll_hdrlen; in pcap_activate_snoop()
358 snooplen = p->snapshot - ll_hdrlen; in pcap_activate_snoop()