Home
last modified time | relevance | path

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

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