new scap public function: scap_set_net_snaplen, and related code in the driver