Home
last modified time | relevance | path

Searched refs:BpfStats (Results 1 – 25 of 87) sorted by relevance

1234

/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/EmulatorPkg/Unix/Host/
H A DBerkeleyPacketFilter.c900 struct bpf_stat BpfStats; in EmuSnpReceive() local
910 ZeroMem (&BpfStats, sizeof( BpfStats)); in EmuSnpReceive()
912 if (ioctl (Private->BpfFd, BIOCGSTATS, &BpfStats) == 0) { in EmuSnpReceive()
913 Private->ReceivedPackets += BpfStats.bs_recv; in EmuSnpReceive()
914 if (BpfStats.bs_drop > Private->DroppedPackets) { in EmuSnpReceive()
917 BpfStats.bs_recv, in EmuSnpReceive()
918 BpfStats.bs_drop - Private->DroppedPackets in EmuSnpReceive()
920 Private->DroppedPackets = BpfStats.bs_drop; in EmuSnpReceive()
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/EmulatorPkg/Unix/Host/
H A DBerkeleyPacketFilter.c903 struct bpf_stat BpfStats; in EmuSnpReceive() local
913 ZeroMem (&BpfStats, sizeof( BpfStats)); in EmuSnpReceive()
915 if (ioctl (Private->BpfFd, BIOCGSTATS, &BpfStats) == 0) { in EmuSnpReceive()
916 Private->ReceivedPackets += BpfStats.bs_recv; in EmuSnpReceive()
917 if (BpfStats.bs_drop > Private->DroppedPackets) { in EmuSnpReceive()
920 BpfStats.bs_recv, in EmuSnpReceive()
921 BpfStats.bs_drop - Private->DroppedPackets in EmuSnpReceive()
923 Private->DroppedPackets = BpfStats.bs_drop; in EmuSnpReceive()
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/EmulatorPkg/Unix/Host/
H A DBerkeleyPacketFilter.c900 struct bpf_stat BpfStats; in EmuSnpReceive() local
910 ZeroMem (&BpfStats, sizeof( BpfStats)); in EmuSnpReceive()
912 if (ioctl (Private->BpfFd, BIOCGSTATS, &BpfStats) == 0) { in EmuSnpReceive()
913 Private->ReceivedPackets += BpfStats.bs_recv; in EmuSnpReceive()
914 if (BpfStats.bs_drop > Private->DroppedPackets) { in EmuSnpReceive()
917 BpfStats.bs_recv, in EmuSnpReceive()
918 BpfStats.bs_drop - Private->DroppedPackets in EmuSnpReceive()
920 Private->DroppedPackets = BpfStats.bs_drop; in EmuSnpReceive()
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/EmulatorPkg/Unix/Host/
H A DBerkeleyPacketFilter.c900 struct bpf_stat BpfStats; in EmuSnpReceive() local
910 ZeroMem (&BpfStats, sizeof( BpfStats)); in EmuSnpReceive()
912 if (ioctl (Private->BpfFd, BIOCGSTATS, &BpfStats) == 0) { in EmuSnpReceive()
913 Private->ReceivedPackets += BpfStats.bs_recv; in EmuSnpReceive()
914 if (BpfStats.bs_drop > Private->DroppedPackets) { in EmuSnpReceive()
917 BpfStats.bs_recv, in EmuSnpReceive()
918 BpfStats.bs_drop - Private->DroppedPackets in EmuSnpReceive()
920 Private->DroppedPackets = BpfStats.bs_drop; in EmuSnpReceive()
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/EmulatorPkg/Unix/Host/
H A DBerkeleyPacketFilter.c900 struct bpf_stat BpfStats; in EmuSnpReceive() local
910 ZeroMem (&BpfStats, sizeof( BpfStats)); in EmuSnpReceive()
912 if (ioctl (Private->BpfFd, BIOCGSTATS, &BpfStats) == 0) { in EmuSnpReceive()
913 Private->ReceivedPackets += BpfStats.bs_recv; in EmuSnpReceive()
914 if (BpfStats.bs_drop > Private->DroppedPackets) { in EmuSnpReceive()
917 BpfStats.bs_recv, in EmuSnpReceive()
918 BpfStats.bs_drop - Private->DroppedPackets in EmuSnpReceive()
920 Private->DroppedPackets = BpfStats.bs_drop; in EmuSnpReceive()
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/EmulatorPkg/Unix/Host/
H A DBerkeleyPacketFilter.c903 struct bpf_stat BpfStats; in EmuSnpReceive() local
913 ZeroMem (&BpfStats, sizeof( BpfStats)); in EmuSnpReceive()
915 if (ioctl (Private->BpfFd, BIOCGSTATS, &BpfStats) == 0) { in EmuSnpReceive()
916 Private->ReceivedPackets += BpfStats.bs_recv; in EmuSnpReceive()
917 if (BpfStats.bs_drop > Private->DroppedPackets) { in EmuSnpReceive()
920 BpfStats.bs_recv, in EmuSnpReceive()
921 BpfStats.bs_drop - Private->DroppedPackets in EmuSnpReceive()
923 Private->DroppedPackets = BpfStats.bs_drop; in EmuSnpReceive()
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/EmulatorPkg/Unix/Host/
H A DBerkeleyPacketFilter.c900 struct bpf_stat BpfStats; in EmuSnpReceive() local
910 ZeroMem (&BpfStats, sizeof( BpfStats)); in EmuSnpReceive()
912 if (ioctl (Private->BpfFd, BIOCGSTATS, &BpfStats) == 0) { in EmuSnpReceive()
913 Private->ReceivedPackets += BpfStats.bs_recv; in EmuSnpReceive()
914 if (BpfStats.bs_drop > Private->DroppedPackets) { in EmuSnpReceive()
917 BpfStats.bs_recv, in EmuSnpReceive()
918 BpfStats.bs_drop - Private->DroppedPackets in EmuSnpReceive()
920 Private->DroppedPackets = BpfStats.bs_drop; in EmuSnpReceive()
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/EmulatorPkg/Unix/Host/
H A DBerkeleyPacketFilter.c909 struct bpf_stat BpfStats; in EmuSnpReceive() local
919 ZeroMem (&BpfStats, sizeof( BpfStats)); in EmuSnpReceive()
921 if (ioctl (Private->BpfFd, BIOCGSTATS, &BpfStats) == 0) { in EmuSnpReceive()
922 Private->ReceivedPackets += BpfStats.bs_recv; in EmuSnpReceive()
923 if (BpfStats.bs_drop > Private->DroppedPackets) { in EmuSnpReceive()
926 BpfStats.bs_recv, in EmuSnpReceive()
927 BpfStats.bs_drop - Private->DroppedPackets in EmuSnpReceive()
929 Private->DroppedPackets = BpfStats.bs_drop; in EmuSnpReceive()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/EmulatorPkg/Unix/Host/
H A DBerkeleyPacketFilter.c903 struct bpf_stat BpfStats; in EmuSnpReceive() local
913 ZeroMem (&BpfStats, sizeof( BpfStats)); in EmuSnpReceive()
915 if (ioctl (Private->BpfFd, BIOCGSTATS, &BpfStats) == 0) { in EmuSnpReceive()
916 Private->ReceivedPackets += BpfStats.bs_recv; in EmuSnpReceive()
917 if (BpfStats.bs_drop > Private->DroppedPackets) { in EmuSnpReceive()
920 BpfStats.bs_recv, in EmuSnpReceive()
921 BpfStats.bs_drop - Private->DroppedPackets in EmuSnpReceive()
923 Private->DroppedPackets = BpfStats.bs_drop; in EmuSnpReceive()
/dports/sysutils/edk2/edk2-edk2-stable202102/EmulatorPkg/Unix/Host/
H A DBerkeleyPacketFilter.c900 struct bpf_stat BpfStats; in EmuSnpReceive() local
910 ZeroMem (&BpfStats, sizeof( BpfStats)); in EmuSnpReceive()
912 if (ioctl (Private->BpfFd, BIOCGSTATS, &BpfStats) == 0) { in EmuSnpReceive()
913 Private->ReceivedPackets += BpfStats.bs_recv; in EmuSnpReceive()
914 if (BpfStats.bs_drop > Private->DroppedPackets) { in EmuSnpReceive()
917 BpfStats.bs_recv, in EmuSnpReceive()
918 BpfStats.bs_drop - Private->DroppedPackets in EmuSnpReceive()
920 Private->DroppedPackets = BpfStats.bs_drop; in EmuSnpReceive()
/dports/lang/go-devel/go-dragonfly-amd64-bootstrap/src/syscall/
H A Dbpf_darwin.go125 func BpfStats(fd int) (*BpfStat, error) { func
/dports/lang/go-devel/go-becaeea1199b875bc24800fa88f2f4fea119bf78/src/syscall/
H A Dbpf_darwin.go125 func BpfStats(fd int) (*BpfStat, error) { func
/dports/lang/gcc11/gcc-11.2.0/libgo/go/syscall/
H A Dbpf_darwin.go125 func BpfStats(fd int) (*BpfStat, error) { func
/dports/lang/gcc12-devel/gcc-12-20211205/libgo/go/syscall/
H A Dbpf_darwin.go125 func BpfStats(fd int) (*BpfStat, error) { func
H A Dbpf_bsd.go128 func BpfStats(fd int) (*BpfStat, error) { func
/dports/lang/gcc10/gcc-10.3.0/libgo/go/syscall/
H A Dbpf_darwin.go125 func BpfStats(fd int) (*BpfStat, error) { func
/dports/lang/gcc11-devel/gcc-11-20211009/libgo/go/syscall/
H A Dbpf_darwin.go125 func BpfStats(fd int) (*BpfStat, error) { func
/dports/devel/avr-gcc/gcc-10.2.0/libgo/go/syscall/
H A Dbpf_darwin.go125 func BpfStats(fd int) (*BpfStat, error) { func
/dports/lang/gcc9-devel/gcc-9-20211007/libgo/go/syscall/
H A Dbpf_darwin.go125 func BpfStats(fd int) (*BpfStat, error) { func
/dports/lang/gcc10-devel/gcc-10-20211008/libgo/go/syscall/
H A Dbpf_darwin.go125 func BpfStats(fd int) (*BpfStat, error) { func
/dports/lang/gcc9/gcc-9.4.0/libgo/go/syscall/
H A Dbpf_darwin.go125 func BpfStats(fd int) (*BpfStat, error) { func
/dports/misc/cxx_atomics_pic/gcc-11.2.0/libgo/go/syscall/
H A Dbpf_darwin.go125 func BpfStats(fd int) (*BpfStat, error) { func
/dports/lang/gcc9-aux/gcc-9.1.0/libgo/go/syscall/
H A Dbpf_darwin.go125 func BpfStats(fd int) (*BpfStat, error) { func
/dports/lang/gcc6-aux/gcc-6-20180516/libgo/go/syscall/
H A Dbpf_bsd.go114 func BpfStats(fd int) (*BpfStat, error) { func
/dports/lang/gcc8/gcc-8.5.0/libgo/go/syscall/
H A Dbpf_bsd.go127 func BpfStats(fd int) (*BpfStat, error) { func

1234