fix build issue
filter raw socket input packets
bugfix: proper handling of rcv error