github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/openbsd/dev_pf.txt (about)

     1  # Copyright 2020 syzkaller project authors. All rights reserved.
     2  # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
     3  
     4  include <sys/types.h>
     5  include <sys/time.h>
     6  include <sys/fcntl.h>
     7  include <sys/ioctl.h>
     8  include <net/if.h>
     9  
    10  include <net/pfvar.h>
    11  
    12  # The following ioctl commands are restricted in neutralize(), see init.go.
    13  _ = DIOCCLRSTATES, DIOCKILLSTATES
    14  
    15  openat$pf(fd const[AT_FDCWD], file ptr[in, string["/dev/pf"]], flags flags[open_flags], mode const[0]) fd