summaryrefslogtreecommitdiff
path: root/device/net_io.h
diff options
context:
space:
mode:
Diffstat (limited to 'device/net_io.h')
-rw-r--r--device/net_io.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/device/net_io.h b/device/net_io.h
index 5baf0678..9468e34b 100644
--- a/device/net_io.h
+++ b/device/net_io.h
@@ -109,6 +109,14 @@ net_do_filter(
unsigned int data_count,
const char * header); /* CSPF */
+io_return_t
+net_set_filter(
+ struct ifnet *ifp,
+ ipc_port_t rcv_port,
+ int priority,
+ filter_t *filter,
+ unsigned int filter_count);
+
extern int
bpf_do_filter(
net_rcv_port_t infp,
@@ -149,4 +157,6 @@ int bpf_match (
net_hash_entry_t **hash_headpp,
net_hash_entry_t *entpp);
+boolean_t ethernet_priority(const ipc_kmsg_t kmsg);
+
#endif /* _DEVICE_NET_IO_H_ */