/* * Copyright (C) 2002 Jeff Dike (jdike@karaya.com) * Licensed under the GPL */#include<net_user.h>structpcap_data{char*host_if;intpromisc;intoptimize;char*filter;void*compiled;void*pcap;void*dev;};externconststructnet_user_infopcap_user_info;externintpcap_user_read(intfd,void*buf,intlen,structpcap_data*pri);