Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-snoop.c205 int ll_hdrlen; in pcap_open_live() local
258 ll_hdrlen = sizeof(struct ether_header); in pcap_open_live()
293 ll_hdrlen = 13; in pcap_open_live()
296 ll_hdrlen = 0; /* DLT_RAW meaning "no PPP header, just the IP packet"? */ in pcap_open_live()
299 ll_hdrlen = 24; in pcap_open_live()
302 ll_hdrlen = 0; /* Cray UNICOS/mp pseudo link */ in pcap_open_live()
305 ll_hdrlen = 4; in pcap_open_live()
341 if (snaplen > ifr.ifr_mtu + ll_hdrlen) in pcap_open_live()
342 snaplen = ifr.ifr_mtu + ll_hdrlen; in pcap_open_live()
350 snooplen = snaplen - ll_hdrlen; in pcap_open_live()