/* Simply store the filter-code for the pcap_read_dos() callback Some day the filter-code could be handed down to the active device (pkt_rx1.s or 32-bit device interrupt handler).  */
static int pcap_setfilter_dos(pcap_t *p, struct bpf_program *fp)
/* Simply store the filter-code for the pcap_read_dos() callback Some day the filter-code could be handed down to the active device (pkt_rx1.s or 32-bit device interrupt handler).  */
static int pcap_setfilter_dos(pcap_t *p, struct bpf_program *fp)
{
  if (!p)
     return (-1);
  p->fcode = *fp;
  return (0);
}