[package] authors = ["Aleksandr Morozov "] name = "freebsd-kpi-r14-0" version = "0.2.0" edition = "2021" description="FreeBSD 14.0-RELEASE Kernel Programming Interface" repository = "https://repo.4neko.org/4NEKO/freebsd-kpi-rs/src/branch/releng/14.0" keywords = ["FreeBSD", "kpi"] categories = ["api-bindings", "no-std", "os"] license-file = "LICENSE.txt" [profile.dev] panic = "abort" [profile.release] panic = "abort" [lib] test = false bench = false crate-type = ["rlib"] [build-dependencies] toml = "0.8.6" # the [env] is in .cargo/config.toml [features] default = ["DEFAULT_KERNEL", "BUILD_CONFIG_KERNEL"] # KPI_PLATFORM_CFG_PATH i.e /usr/src/sys/amd64/conf/GENERIC BUILD_CONFIG_KERNEL = [] #TEST_K = ["KERNEL", "SCHED_ULE", "NUMA", "PREEMPTION", "VIMAGE", "INET", "INET6", "IPSEC_SUPPORT", "ROUTE_MPATH", "TCP_OFFLOAD", "TCP_BLACKBOX", "TCP_HHOOK", "TCP_RFC7413", "SCTP_SUPPORT", "KERN_TLS", "FFS", "SOFTUPDATES", "UFS_ACL", "UFS_DIRHASH", "UFS_GJOURNAL", "QUOTA", "MD_ROOT", "NFSCL", "NFSD", "NFSLOCKD", "NFS_ROOT", "MSDOSFS", "CD9660", "PROCFS", "PSEUDOFS", "TMPFS", "GEOM_RAID", "GEOM_LABEL", "EFIRT", "COMPAT_FREEBSD32", "COMPAT_FREEBSD4", "COMPAT_FREEBSD5", "COMPAT_FREEBSD6", "COMPAT_FREEBSD7", "COMPAT_FREEBSD9", "COMPAT_FREEBSD10", "COMPAT_FREEBSD11", "COMPAT_FREEBSD12", "KTRACE", "STACK", "SYSVSHM", "SYSVMSG", "SYSVSEM", "_KPOSIX_PRIORITY_SCHEDULING", "KBD_INSTALL_CDEV", "HWPMC_HOOKS", "AUDIT", "CAPABILITY_MODE", "CAPABILITIES", "MAC", "KDTRACE_FRAME", "KDTRACE_HOOKS", "DDB_CTF", "INCLUDE_CONFIG_FILE", "RACCT", "RACCT_DEFAULT_TO_DISABLED", "RCTL", "KDB", "KDB_TRACE", "EKCD", "GZIO", "ZSTDIO", "DEBUGNET", "NETDUMP", "NETGDB", "SMP", "EARLY_AP_STARTUP", "cpufreq", "acpi", "smbios", "IOMMU", "pci", "PCI_HP", "PCI_IOV", "COMPAT_LINUXKPI", "PPS_SYNC", "fdc", "ahci", "ata", "mvs", "siis", "ahc", "ahd", "esp", "hptiop", "isp", "mpt", "mps", "mpr", "sym", "isci", "ocs_fc", "pvscsi", "scbus", "ch", "da", "sa", "cd", "pass", "ses", "amr", "arcmsr", "ciss", "iir", "ips", "mly", "twa", "smartpqi", "tws", "aac", "aacp", "aacraid", "ida", "mfi", "mlx", "mrsas", "pmspcv", "twe", "nvme", "nvd", "vmd", "atkbdc", "atkbd", "psm", "kbdmux", "vga", "VESA", "splash", "sc", "SC_PIXEL_MODE", "vt", "vt_vga", "vt_efifb", "vt_vbefb", "agp", "cbb", "pccard", "cardbus", "uart", "ppc", "ppbus", "lpt", "ppi", "puc", "iflib", "em", "igc", "ix", "ixv", "ixl", "iavf", "ice", "vmx", "axp", "bxe", "le", "ti", "mlx5", "mlxfw", "mlx5en", "miibus", "ae", "age", "alc", "ale", "bce", "bfe", "bge", "cas", "dc", "et", "fxp", "gem", "jme", "lge", "msk", "nfe", "nge", "re", "rl", "sge", "sis", "sk", "ste", "stge", "vge", "vr", "xl", "wlan", "IEEE80211_DEBUG", "IEEE80211_SUPPORT_MESH", "wlan_wep", "wlan_ccmp", "wlan_tkip", "wlan_amrr", "an", "ath", "ath_pci", "ath_hal", "AH_AR5416_INTERRUPT_MITIGATION", "ATH_ENABLE_11N", "ath_rate_sample", "ipw", "iwi", "iwn", "malo", "mwl", "ral", "wpi", "crypto", "aesni", "loop", "padlock_rng", "rdrand_rng", "ether", "vlan", "tuntap", "md", "gif", "firmware", "xz", "bpf", "USB_DEBUG", "uhci", "ohci", "ehci", "xhci", "usb", "ukbd", "umass", "sound", "snd_cmi", "snd_csa", "snd_emu10kx", "snd_es137x", "snd_hda", "snd_ich", "snd_via8233", "mmc", "mmcsd", "sdhci", "rtsx", "virtio", "virtio_pci", "vtnet", "virtio_blk", "virtio_scsi", "virtio_balloon", "kvm_clock", "hyperv", "XENHVM", "xenpci", "netmap", "EVDEV_SUPPORT", "evdev", "uinput", "HID_DEBUG", "hid", "IICHID_SAMPLING"] DEFAULT_KERNEL = ["KERNEL", "KDTRACE_HOOKS", "MAC", "__ELF_WORD_SIZE_64", "CTASSERT", "SFBUF", "DEVICE_POLLING", "VIMAGE", "INET", "INET6", "SMP", "_RLIMIT_IDENT", "RACCT", "_KERNEL", "__CHAR_UNSIGNED__", "MALLOC_DECLARE", "_WANT_FILE", "SYSCTL_DECL", "SDT_PROVIDER_DECLARE", "_WANT_PRISON"] _BUILDING = [] KERNEL = ["_KERNEL"] _KERNEL = [] TESTENABLE = [] _WANT_FREEBSD_BITSET = [] __CHAR_UNSIGNED__ = [] # Is SMP or single core SMP = [] DB_CALL = [] _LP64 = ["__LP64__"] EARLY_AP_STARTUP = [] # todo! LOCK_DEBUG LOCK_DEBUG = [] MALLOC_DECLARE = [] KLD_MODULE = ["LOCK_DEBUG"] KLD_TIED = [] WITNESS = ["LOCK_DEBUG"] INVARIANTS = ["LOCK_DEBUG"] INVARIANT_SUPPORT = [] DEBUG_VFS_LOCKS = [] LOCK_PROFILING = ["LOCK_DEBUG"] KTR = ["LOCK_DEBUG"] MAC = [] # MAC Framework _RLIMIT_IDENT = [] RACCT = [] INET = [] INET6 = [] QUEUE_MACRO_DEBUG_TRACE = [] EPOCH_TRACE = [] LOCORE = [] DDB = [] _ACL_PRIVATE = [] SX_NOINLINE = [] _WANT_FILE = [] _WANT_INPCB = [] _WANT_PRISON = [] _WANT_TCPCB = [] _WANT_SYSVMSG_INTERNALS = [] _WANT_SYSVIPC_INTERNALS = [] _WANT_SYSVSEM_INTERNALS = [] _WANT_SYSVSHM_INTERNALS = [] _WANT_SEMUN_OLD = [] _WANT_SEMUN = [] _KVM_VNODE = [] _WANT_KW_EXITCODE = [] KDTRACE_HOOKS = [] SFBUF_PROCESS_PAGE = [] notyet = [] TCPPCAP = [] TCP_HHOOK = [] VNET_DEBUG = [] TCPTIMERS = [] SCTP_MAX_OVERHEAD = [] #standalone _STANDALONE = [] STATS = [] NETFLIX_EXP_DETECTION = [] #FreeBSD 11 _WANT_FREEBSD11_STATFS = [] _WANT_FREEBSD11_KEVENT = [] #-- WITH_PIPES = [] _WANT_MNTOPTNAMES = [] _WANT_ALL_LIO_OPCODES = [] _WANT_LWPINFO32 = [] _WANT_VMMETER = [] WANT_FUNCTIONS = [] __LP64__ = [] QUOTA = [] EXPERIMENTAL = [] NAME_LOOKUPS_04 = [] IF_SETSIZE = [] CTASSERT = [] SOFTUPDATES = [] DIAGNOSTIC = [] SCTP_MCORE_INPUT = [] BURN_BRIDGES = [] SCTP_DETAILED_STR_STATS = [] SCTP_ASOCLOG_OF_TSNS = [] SCTP_FS_SPEC_LOG = [] SCTP_USE_PERCPU_STAT = [] SCTP_PACKET_LOGGING = [] SCTP_TRACK_FREED_ASOCS = [] SCTP_DEBUG = [] SAN_RUNTIME = [] KASAN = [] KCSAN = [] ATOMIC_SAN_PREFIX = [] WITH_MONITOR = [] CONFIG_NET_NS = [] IPSTEALTH = [] ALTQ3_CLFIER_COMPAT = [] BUF_TRACKING = [] FULL_BUF_TRACKING = [] DSCP_EF = [] DOMAINSET_SETSIZE = [] USE_CPU_NANOSECONDS = [] SYSCTL_DECL = [] HD_COLUMN_MASK = [] SDT_PROVIDER_DECLARE = [] COMPAT_43 = [] COMPAT_FREEBSD4 = [] COMPAT_FREEBSD5 = [] COMPAT_FREEBSD6 = [] COMPAT_FREEBSD7 = [] _WANT_FREEBSD11_DIRENT = [] __STAT_TIME_T_EXT = [] _MKNOD_DECLARED = [] __GNUCLIKE_ASM = [] RATELIMIT = [] DEVICE_POLLING = [] SOCKBUF_DEBUG = [] QUEUE_MACRO_DEBUG_TRASH = [] ACCEPT_FILTER_MOD = [] MAXMEMDOM_LESS_256 = [] # MAXMEMDOM env var WITHOUT_NETDUMP = [] _WANT_SOCKET = [] _WANT_VNET = [] _WANT_UNPCB = [] NO_SYSCTL_DESCR = [] VIMAGE = [] RN_DEBUG = [] DEBUGNET = [] MBUF_PROFILING = [] _SYS_TIMESPEC_H_ = [] SFBUF = [] SFBUF_CPUSET = [] EARLY_PRINTF = [] UNR64_LOCKED = [] SCHED_4BSD = [] SCHED_STATS = [] IMPL_DEBUG_MESSAGES_MACRO = [] COMPAT_FREEBSD32 = [] __ELF_WORD_SIZE_64 = ["__ELF_WORD_SIZE"] __ELF_WORD_SIZE_32 = ["__ELF_WORD_SIZE"] __ELF_WORD_SIZE = [] DEBUG_LOCKS = [] test_enable = [] #defs _PTHREAD_T_DECLARED = [] # _pthreadtypes #userland USERLAND = ["__Userspace__"] __Userspace__ = [] [dependencies] bitfield = { version = "0.14.0", default-features = false } paste = { version = "1.0", default-features = false } #static_assertions = "1.1.0" [dependencies.memoffset] version = "0.9.0" default-features = false features = ["unstable_const"]