Module Name: src
Committed By: christos
Date: Thu Aug 17 22:10:37 UTC 2023
Modified Files:
src/sys/net: bpf.h
Log Message:
add new for libpcap.
To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/sys/net/bpf.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/net/bpf.h
diff -u src/sys/net/bpf.h:1.80 src/sys/net/bpf.h:1.81
--- src/sys/net/bpf.h:1.80 Mon Jul 31 19:53:38 2023
+++ src/sys/net/bpf.h Thu Aug 17 18:10:37 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: bpf.h,v 1.80 2023/07/31 23:53:38 christos Exp $ */
+/* $NetBSD: bpf.h,v 1.81 2023/08/17 22:10:37 christos Exp $ */
/*
* Copyright (c) 1990, 1991, 1993
@@ -604,6 +604,8 @@ u_int bpf_filter_with_aux_data(const str
#define BPF_TRACK_EVENT_ATTACH 1
#define BPF_TRACK_EVENT_DETACH 2
+void bpf_dump(const struct bpf_program *, int);
+char *bpf_image(const struct bpf_insn *, int);
__END_DECLS