Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/netbsd32 Add BIOCSETWF32 (bpf)



details:   https://anonhg.NetBSD.org/src/rev/e60f3fd3042b
branches:  trunk
changeset: 936075:e60f3fd3042b
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Jul 18 12:46:19 2020 +0000

description:
Add BIOCSETWF32 (bpf)

diffstat:

 sys/compat/netbsd32/netbsd32_ioctl.c |  6 ++++--
 sys/compat/netbsd32/netbsd32_ioctl.h |  3 ++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diffs (44 lines):

diff -r eba05195de1e -r e60f3fd3042b sys/compat/netbsd32/netbsd32_ioctl.c
--- a/sys/compat/netbsd32/netbsd32_ioctl.c      Sat Jul 18 03:00:37 2020 +0000
+++ b/sys/compat/netbsd32/netbsd32_ioctl.c      Sat Jul 18 12:46:19 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_ioctl.c,v 1.112 2020/03/16 01:37:51 christos Exp $    */
+/*     $NetBSD: netbsd32_ioctl.c,v 1.113 2020/07/18 12:46:19 jmcneill Exp $    */
 
 /*
  * Copyright (c) 1998, 2001 Matthew R. Green
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_ioctl.c,v 1.112 2020/03/16 01:37:51 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_ioctl.c,v 1.113 2020/07/18 12:46:19 jmcneill Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ntp.h"
@@ -1425,6 +1425,8 @@
 
        case BIOCSETF32:
                IOCTL_STRUCT_CONV_TO(BIOCSETF, bpf_program);
+       case BIOCSETWF32:
+               IOCTL_STRUCT_CONV_TO(BIOCSETWF, bpf_program);
        case BIOCSTCPF32:
                IOCTL_STRUCT_CONV_TO(BIOCSTCPF, bpf_program);
        case BIOCSUDPF32:
diff -r eba05195de1e -r e60f3fd3042b sys/compat/netbsd32/netbsd32_ioctl.h
--- a/sys/compat/netbsd32/netbsd32_ioctl.h      Sat Jul 18 03:00:37 2020 +0000
+++ b/sys/compat/netbsd32/netbsd32_ioctl.h      Sat Jul 18 12:46:19 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_ioctl.h,v 1.70 2019/11/18 04:17:08 rin Exp $  */
+/*     $NetBSD: netbsd32_ioctl.h,v 1.71 2020/07/18 12:46:19 jmcneill Exp $     */
 
 /*
  * Copyright (c) 1998, 2001 Matthew R. Green
@@ -120,6 +120,7 @@
 #define BIOCSUDPF32    _IOW('B',115, struct netbsd32_bpf_program)
 #define BIOCGDLTLIST32 _IOWR('B',119, struct netbsd32_bpf_dltlist)
 #define BIOCSRTIMEOUT32        _IOW('B',122, struct netbsd32_timeval)
+#define BIOCSETWF32    _IOW('B',127, struct netbsd32_bpf_program)
 
 
 struct netbsd32_wsdisplay_addscreendata {



Home | Main Index | Thread Index | Old Index