]> The Tcpdump Group git mirrors - libpcap/commit
map_packet_type_to_sll_type() isn't used - and won't compile - if you
authorguy <guy>
Thu, 24 Jan 2008 20:20:08 +0000 (20:20 +0000)
committerguy <guy>
Thu, 24 Jan 2008 20:20:08 +0000 (20:20 +0000)
commitc0b1d4703d14850760ff4df0cc1c21d81b2b0f92
tree412f9d49daa1eba70132483b159234f5a6d1a5b5
parent9f8edc61fa08492ac774ae7ba35d27e5aeaa1b8e
map_packet_type_to_sll_type() isn't used - and won't compile - if you
don't have PF_PACKET support; #ifdef it out.

Move the code to compute the buffer size into live_open_new() and
live_open_old(), as it's dependent on the mechanism being used; there's
little code shared between the two variants.
pcap-linux.c