first step towards full libpcap support