@zigc/lib 0.17.0-dev.607 → 0.17.0-dev.644
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiler/Maker/PkgConfig.zig +15 -7
- package/compiler/Maker/Step/Compile.zig +7 -9
- package/compiler/Maker/Step/Fmt.zig +1 -1
- package/compiler/Maker/Step/Run.zig +59 -41
- package/compiler/Maker/Step/TranslateC.zig +6 -5
- package/compiler/Maker/Step.zig +47 -16
- package/compiler/Maker.zig +54 -44
- package/libc/include/aarch64-netbsd-none/aarch64/armreg.h +259 -22
- package/libc/include/aarch64-netbsd-none/aarch64/byte_swap.h +3 -2
- package/libc/include/aarch64-netbsd-none/aarch64/cpu.h +26 -1
- package/libc/include/aarch64-netbsd-none/aarch64/lwp_private.h +3 -0
- package/libc/include/aarch64-netbsd-none/aarch64/pmap.h +7 -33
- package/libc/include/aarch64-netbsd-none/aarch64/sljit_machdep.h +1 -1
- package/libc/include/aarch64-netbsd-none/aarch64/vmparam.h +4 -4
- package/libc/include/aarch64-netbsd-none/machine/armreg.h +259 -22
- package/libc/include/aarch64-netbsd-none/machine/byte_swap.h +3 -2
- package/libc/include/aarch64-netbsd-none/machine/cpu.h +26 -1
- package/libc/include/aarch64-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/aarch64-netbsd-none/machine/pmap.h +7 -33
- package/libc/include/aarch64-netbsd-none/machine/sljit_machdep.h +1 -1
- package/libc/include/aarch64-netbsd-none/machine/vmparam.h +4 -4
- package/libc/include/arm-netbsd-eabi/float.h +2 -1
- package/libc/include/arm-netbsd-eabi/machine/asm.h +48 -19
- package/libc/include/arm-netbsd-eabi/machine/byte_swap.h +121 -0
- package/libc/include/arm-netbsd-eabi/machine/cpu.h +1 -3
- package/libc/include/arm-netbsd-eabi/machine/float.h +2 -1
- package/libc/include/arm-netbsd-eabi/machine/lwp_private.h +81 -0
- package/libc/include/arm-netbsd-eabi/machine/mcontext.h +5 -51
- package/libc/include/arm-netbsd-eabi/machine/mutex.h +1 -1
- package/libc/include/arm-netbsd-eabi/machine/proc.h +2 -2
- package/libc/include/arm-netbsd-eabi/machine/profile.h +28 -96
- package/libc/include/arm-netbsd-eabi/machine/setjmp.h +7 -6
- package/libc/include/arm-netbsd-eabi/machine/sysarch.h +85 -0
- package/libc/include/generic-netbsd/altq/altq.h +2 -2
- package/libc/include/generic-netbsd/altq/altq_afmap.h +2 -1
- package/libc/include/generic-netbsd/altq/altq_classq.h +8 -6
- package/libc/include/generic-netbsd/altq/altq_jobs.h +37 -37
- package/libc/include/generic-netbsd/altq/altq_rmclass.h +8 -8
- package/libc/include/generic-netbsd/altq/altq_var.h +2 -2
- package/libc/include/generic-netbsd/arm/arm32/pmap.h +8 -32
- package/libc/include/generic-netbsd/arm/arm32/vmparam.h +5 -5
- package/libc/include/generic-netbsd/arm/asm.h +48 -19
- package/libc/include/generic-netbsd/arm/byte_swap.h +2 -2
- package/libc/include/generic-netbsd/arm/cpu.h +1 -3
- package/libc/include/generic-netbsd/arm/cputypes.h +12 -1
- package/libc/include/generic-netbsd/arm/float.h +2 -1
- package/libc/include/generic-netbsd/arm/lwp_private.h +81 -0
- package/libc/include/generic-netbsd/arm/mcontext.h +5 -51
- package/libc/include/generic-netbsd/arm/mutex.h +1 -1
- package/libc/include/generic-netbsd/arm/proc.h +2 -2
- package/libc/include/generic-netbsd/arm/profile.h +28 -96
- package/libc/include/generic-netbsd/arm/setjmp.h +7 -6
- package/libc/include/generic-netbsd/arpa/nameser.h +3 -3
- package/libc/include/generic-netbsd/arpa/nameser_compat.h +3 -3
- package/libc/include/generic-netbsd/assert.h +12 -22
- package/libc/include/generic-netbsd/bitstring.h +5 -5
- package/libc/include/generic-netbsd/cdbw.h +2 -2
- package/libc/include/generic-netbsd/crypto/cryptodev.h +99 -92
- package/libc/include/generic-netbsd/dev/i2c/emcfaninfo.h +234 -0
- package/libc/include/generic-netbsd/dev/i2c/emcfanreg.h +127 -0
- package/libc/include/generic-netbsd/dev/i2o/i2o.h +3 -366
- package/libc/include/generic-netbsd/dev/ic/hd44780var.h +3 -1
- package/libc/include/generic-netbsd/dev/ic/scmdreg.h +2 -2
- package/libc/include/generic-netbsd/dev/ic/stireg.h +777 -0
- package/libc/include/generic-netbsd/dev/ic/summitreg.h +214 -0
- package/libc/include/generic-netbsd/dev/iscsi/iscsi.h +1 -1
- package/libc/include/generic-netbsd/dev/pci/amrreg.h +2 -2
- package/libc/include/generic-netbsd/dev/pci/mlyreg.h +2 -2
- package/libc/include/generic-netbsd/dev/pci/pcidevs.h +177 -22
- package/libc/include/generic-netbsd/dev/pci/pcidevs_data.h +14971 -14588
- package/libc/include/generic-netbsd/dev/pci/pcireg.h +14 -14
- package/libc/include/generic-netbsd/dev/pckbc/pckbdreg.h +2 -1
- package/libc/include/generic-netbsd/dev/pcmcia/if_rayreg.h +2 -2
- package/libc/include/generic-netbsd/dev/raidframe/raidframeio.h +1 -1
- package/libc/include/generic-netbsd/dev/scsipi/scsi_disk.h +42 -7
- package/libc/include/generic-netbsd/dev/scsipi/scsi_spc.h +2 -2
- package/libc/include/generic-netbsd/dev/scsipi/scsipi_all.h +83 -2
- package/libc/include/generic-netbsd/dev/scsipi/scsipiconf.h +3 -1
- package/libc/include/generic-netbsd/dev/tc/sfbreg.h +3 -3
- package/libc/include/generic-netbsd/dev/tc/sticio.h +2 -2
- package/libc/include/generic-netbsd/dev/usb/umcpmio_hid_reports.h +499 -0
- package/libc/include/generic-netbsd/dev/usb/umcpmio_io.h +45 -0
- package/libc/include/generic-netbsd/dev/usb/usb.h +44 -6
- package/libc/include/generic-netbsd/dev/vndvar.h +2 -2
- package/libc/include/generic-netbsd/dev/wscons/wsconsio.h +19 -1
- package/libc/include/generic-netbsd/dev/wscons/wsksymdef.h +2 -2
- package/libc/include/generic-netbsd/dirent.h +1 -1
- package/libc/include/generic-netbsd/dlfcn.h +4 -2
- package/libc/include/generic-netbsd/elf.h +32 -20
- package/libc/include/generic-netbsd/elfdefinitions.h +1 -1
- package/libc/include/generic-netbsd/evbarm/intr.h +1 -1
- package/libc/include/generic-netbsd/evbmips/lwp_private.h +3 -0
- package/libc/include/generic-netbsd/execinfo.h +4 -2
- package/libc/include/generic-netbsd/fcntl.h +26 -2
- package/libc/include/generic-netbsd/float.h +58 -2
- package/libc/include/generic-netbsd/fmtmsg.h +2 -2
- package/libc/include/generic-netbsd/fs/hfs/libhfs.h +1 -1
- package/libc/include/generic-netbsd/fs/nilfs/nilfs_fs.h +2 -2
- package/libc/include/generic-netbsd/gelf.h +2 -2
- package/libc/include/generic-netbsd/i386/asm.h +12 -4
- package/libc/include/generic-netbsd/i386/byte_swap.h +2 -2
- package/libc/include/generic-netbsd/i386/cpu.h +15 -4
- package/libc/include/generic-netbsd/i386/elf_machdep.h +2 -1
- package/libc/include/generic-netbsd/i386/lwp_private.h +3 -0
- package/libc/include/generic-netbsd/i386/mcontext.h +6 -24
- package/libc/include/generic-netbsd/i386/param.h +9 -1
- package/libc/include/generic-netbsd/i386/pcb.h +6 -2
- package/libc/include/generic-netbsd/i386/ptrace.h +2 -2
- package/libc/include/generic-netbsd/i386/types.h +2 -1
- package/libc/include/generic-netbsd/i386/wchar_limits.h +1 -1
- package/libc/include/generic-netbsd/isofs/cd9660/cd9660_extern.h +6 -1
- package/libc/include/generic-netbsd/isofs/cd9660/cd9660_mount.h +7 -1
- package/libc/include/generic-netbsd/langinfo.h +2 -1
- package/libc/include/generic-netbsd/lauxlib.h +1 -1
- package/libc/include/generic-netbsd/libelf.h +6 -15
- package/libc/include/generic-netbsd/limits.h +1 -1
- package/libc/include/generic-netbsd/lua.h +1 -1
- package/libc/include/generic-netbsd/luaconf.h +1 -1
- package/libc/include/generic-netbsd/lualib.h +1 -1
- package/libc/include/generic-netbsd/lwp.h +1 -1
- package/libc/include/generic-netbsd/machine/ansi.h +2 -2
- package/libc/include/generic-netbsd/machine/aout_machdep.h +39 -2
- package/libc/include/generic-netbsd/machine/arm32/pmap.h +8 -32
- package/libc/include/generic-netbsd/machine/arm32/vmparam.h +5 -5
- package/libc/include/generic-netbsd/machine/asm.h +271 -2
- package/libc/include/generic-netbsd/machine/bswap.h +9 -1
- package/libc/include/generic-netbsd/machine/byte_swap.h +42 -64
- package/libc/include/generic-netbsd/machine/cdefs.h +7 -2
- package/libc/include/generic-netbsd/machine/cpu.h +207 -30
- package/libc/include/generic-netbsd/machine/cputypes.h +12 -1
- package/libc/include/generic-netbsd/machine/disklabel.h +41 -42
- package/libc/include/generic-netbsd/machine/elf_machdep.h +143 -2
- package/libc/include/generic-netbsd/machine/endian.h +1 -1
- package/libc/include/generic-netbsd/machine/fenv.h +35 -2
- package/libc/include/generic-netbsd/machine/float.h +58 -2
- package/libc/include/generic-netbsd/machine/frame.h +129 -2
- package/libc/include/generic-netbsd/machine/ieee.h +3 -2
- package/libc/include/generic-netbsd/machine/ieeefp.h +43 -2
- package/libc/include/generic-netbsd/machine/int_const.h +32 -2
- package/libc/include/generic-netbsd/machine/int_fmtio.h +380 -2
- package/libc/include/generic-netbsd/machine/int_limits.h +2 -2
- package/libc/include/generic-netbsd/machine/int_mwgwtypes.h +2 -2
- package/libc/include/generic-netbsd/machine/int_types.h +2 -2
- package/libc/include/generic-netbsd/machine/kcore.h +39 -2
- package/libc/include/generic-netbsd/machine/limits.h +2 -2
- package/libc/include/generic-netbsd/machine/lock.h +2 -2
- package/libc/include/generic-netbsd/machine/lwp_private.h +83 -0
- package/libc/include/generic-netbsd/machine/math.h +3 -2
- package/libc/include/generic-netbsd/machine/mcontext.h +149 -2
- package/libc/include/generic-netbsd/machine/mutex.h +127 -2
- package/libc/include/generic-netbsd/machine/param.h +90 -23
- package/libc/include/generic-netbsd/machine/pcb.h +54 -2
- package/libc/include/generic-netbsd/machine/pmap.h +262 -2
- package/libc/include/generic-netbsd/machine/proc.h +75 -2
- package/libc/include/generic-netbsd/machine/profile.h +116 -2
- package/libc/include/generic-netbsd/machine/psl.h +2 -2
- package/libc/include/generic-netbsd/machine/pte.h +346 -2
- package/libc/include/generic-netbsd/machine/ptrace.h +62 -2
- package/libc/include/generic-netbsd/machine/reg.h +124 -2
- package/libc/include/generic-netbsd/machine/reloc.h +2 -2
- package/libc/include/generic-netbsd/machine/setjmp.h +69 -2
- package/libc/include/generic-netbsd/machine/signal.h +39 -2
- package/libc/include/generic-netbsd/machine/sljit_machdep.h +1 -1
- package/libc/include/generic-netbsd/machine/sysarch.h +2 -84
- package/libc/include/generic-netbsd/machine/sysreg.h +354 -0
- package/libc/include/generic-netbsd/machine/trap.h +2 -2
- package/libc/include/generic-netbsd/machine/types.h +118 -6
- package/libc/include/generic-netbsd/machine/vmparam.h +235 -2
- package/libc/include/generic-netbsd/machine/wchar_limits.h +2 -2
- package/libc/include/generic-netbsd/math.h +19 -6
- package/libc/include/generic-netbsd/md2.h +6 -3
- package/libc/include/generic-netbsd/mips/asm.h +69 -17
- package/libc/include/generic-netbsd/mips/bswap.h +3 -1
- package/libc/include/generic-netbsd/mips/cpu.h +7 -7
- package/libc/include/generic-netbsd/mips/elf_machdep.h +2 -1
- package/libc/include/generic-netbsd/mips/fenv.h +2 -1
- package/libc/include/generic-netbsd/mips/float.h +3 -2
- package/libc/include/generic-netbsd/mips/frame.h +3 -2
- package/libc/include/generic-netbsd/mips/limits.h +4 -13
- package/libc/include/generic-netbsd/mips/lwp_private.h +87 -0
- package/libc/include/generic-netbsd/mips/mcontext.h +2 -53
- package/libc/include/generic-netbsd/mips/mips3_pte.h +2 -2
- package/libc/include/generic-netbsd/mips/mips_param.h +16 -2
- package/libc/include/generic-netbsd/mips/mutex.h +1 -1
- package/libc/include/generic-netbsd/mips/types.h +1 -1
- package/libc/include/generic-netbsd/mips/vmparam.h +1 -1
- package/libc/include/generic-netbsd/miscfs/kernfs/kernfs.h +2 -2
- package/libc/include/generic-netbsd/miscfs/procfs/procfs.h +33 -2
- package/libc/include/generic-netbsd/miscfs/specfs/specdev.h +1 -2
- package/libc/include/generic-netbsd/monetary.h +2 -1
- package/libc/include/generic-netbsd/net/agr/if_agrioctl.h +2 -2
- package/libc/include/generic-netbsd/net/bpf.h +11 -4
- package/libc/include/generic-netbsd/net/bpfdesc.h +1 -1
- package/libc/include/generic-netbsd/net/dlt.h +222 -48
- package/libc/include/generic-netbsd/net/if.h +20 -5
- package/libc/include/generic-netbsd/net/if_bridgevar.h +2 -3
- package/libc/include/generic-netbsd/net/if_ether.h +4 -3
- package/libc/include/generic-netbsd/net/if_lagg.h +2 -2
- package/libc/include/generic-netbsd/net/if_media.h +2 -2
- package/libc/include/generic-netbsd/net/if_ppp.h +1 -3
- package/libc/include/generic-netbsd/net/if_stats.h +19 -5
- package/libc/include/generic-netbsd/net/net_stats.h +13 -6
- package/libc/include/generic-netbsd/net/npf.h +33 -5
- package/libc/include/generic-netbsd/net/pfkeyv2.h +1 -1
- package/libc/include/generic-netbsd/net/route.h +4 -4
- package/libc/include/generic-netbsd/net80211/ieee80211_node.h +3 -2
- package/libc/include/generic-netbsd/net80211/ieee80211_var.h +2 -2
- package/libc/include/generic-netbsd/netbt/hci.h +3 -3
- package/libc/include/generic-netbsd/netdb.h +2 -2
- package/libc/include/generic-netbsd/netinet/icmp6.h +6 -2
- package/libc/include/generic-netbsd/netinet/in.h +17 -17
- package/libc/include/generic-netbsd/netinet/in_var.h +5 -9
- package/libc/include/generic-netbsd/netinet/ip_mroute.h +24 -28
- package/libc/include/generic-netbsd/netinet/ip_var.h +2 -2
- package/libc/include/generic-netbsd/netinet/sctp.h +4 -4
- package/libc/include/generic-netbsd/netinet/tcp_var.h +2 -2
- package/libc/include/generic-netbsd/netinet/tcp_vtw.h +2 -2
- package/libc/include/generic-netbsd/netinet6/in6_var.h +7 -33
- package/libc/include/generic-netbsd/netinet6/ip6_var.h +2 -2
- package/libc/include/generic-netbsd/nfs/krpc.h +9 -4
- package/libc/include/generic-netbsd/nfs/nfs.h +5 -3
- package/libc/include/generic-netbsd/nfs/nfsdiskless.h +37 -20
- package/libc/include/generic-netbsd/nfs/nfsm_subs.h +4 -7
- package/libc/include/generic-netbsd/nfs/nfsmount.h +3 -4
- package/libc/include/generic-netbsd/nfs/nfsnode.h +9 -6
- package/libc/include/generic-netbsd/nfs/nfsproto.h +5 -2
- package/libc/include/generic-netbsd/nfs/nfsrtt.h +8 -4
- package/libc/include/generic-netbsd/nfs/nfsrvcache.h +9 -3
- package/libc/include/generic-netbsd/nfs/rpcv2.h +5 -3
- package/libc/include/generic-netbsd/nfs/xdr_subs.h +6 -5
- package/libc/include/generic-netbsd/nl_types.h +3 -1
- package/libc/include/generic-netbsd/ntfs/ntfs_inode.h +2 -2
- package/libc/include/generic-netbsd/poll.h +8 -2
- package/libc/include/generic-netbsd/prop/prop_object.h +48 -3
- package/libc/include/generic-netbsd/protocols/talkd.h +2 -2
- package/libc/include/generic-netbsd/pthread.h +51 -12
- package/libc/include/generic-netbsd/regex.h +2 -1
- package/libc/include/generic-netbsd/riscv/ansi.h +3 -0
- package/libc/include/generic-netbsd/riscv/aout_machdep.h +40 -0
- package/libc/include/generic-netbsd/riscv/asm.h +272 -0
- package/libc/include/generic-netbsd/riscv/bswap.h +11 -0
- package/libc/include/generic-netbsd/riscv/byte_swap.h +99 -0
- package/libc/include/generic-netbsd/riscv/cdefs.h +8 -0
- package/libc/include/generic-netbsd/riscv/cpu.h +242 -0
- package/libc/include/generic-netbsd/riscv/disklabel.h +68 -0
- package/libc/include/generic-netbsd/riscv/elf_machdep.h +144 -0
- package/libc/include/generic-netbsd/riscv/endian.h +3 -0
- package/libc/include/generic-netbsd/riscv/endian_machdep.h +3 -0
- package/libc/include/generic-netbsd/riscv/fenv.h +36 -0
- package/libc/include/generic-netbsd/riscv/float.h +59 -0
- package/libc/include/generic-netbsd/riscv/ieee.h +4 -0
- package/libc/include/generic-netbsd/riscv/ieeefp.h +44 -0
- package/libc/include/generic-netbsd/riscv/int_const.h +33 -0
- package/libc/include/generic-netbsd/riscv/int_fmtio.h +381 -0
- package/libc/include/generic-netbsd/riscv/int_limits.h +3 -0
- package/libc/include/generic-netbsd/riscv/int_mwgwtypes.h +3 -0
- package/libc/include/generic-netbsd/riscv/int_types.h +3 -0
- package/libc/include/generic-netbsd/riscv/kcore.h +40 -0
- package/libc/include/generic-netbsd/riscv/limits.h +3 -0
- package/libc/include/generic-netbsd/riscv/lock.h +3 -0
- package/libc/include/generic-netbsd/riscv/lwp_private.h +83 -0
- package/libc/include/generic-netbsd/riscv/math.h +4 -0
- package/libc/include/generic-netbsd/riscv/mcontext.h +150 -0
- package/libc/include/generic-netbsd/riscv/mutex.h +128 -0
- package/libc/include/generic-netbsd/riscv/param.h +110 -0
- package/libc/include/generic-netbsd/riscv/pcb.h +55 -0
- package/libc/include/generic-netbsd/riscv/pmap.h +263 -0
- package/libc/include/generic-netbsd/riscv/proc.h +76 -0
- package/libc/include/generic-netbsd/riscv/profile.h +117 -0
- package/libc/include/generic-netbsd/riscv/pte.h +347 -0
- package/libc/include/generic-netbsd/riscv/ptrace.h +63 -0
- package/libc/include/generic-netbsd/riscv/reg.h +125 -0
- package/libc/include/generic-netbsd/riscv/rwlock.h +1 -0
- package/libc/include/generic-netbsd/riscv/setjmp.h +70 -0
- package/libc/include/generic-netbsd/riscv/signal.h +40 -0
- package/libc/include/generic-netbsd/riscv/sysarch.h +3 -0
- package/libc/include/generic-netbsd/riscv/sysreg.h +354 -0
- package/libc/include/generic-netbsd/riscv/types.h +123 -0
- package/libc/include/generic-netbsd/riscv/vmparam.h +236 -0
- package/libc/include/generic-netbsd/riscv/wchar_limits.h +13 -0
- package/libc/include/generic-netbsd/rmd160.h +3 -3
- package/libc/include/generic-netbsd/rpc/xdr.h +3 -3
- package/libc/include/generic-netbsd/rpcsvc/yp_prot.h +3 -2
- package/libc/include/generic-netbsd/rump/rump_namei.h +2 -2
- package/libc/include/generic-netbsd/rump/rump_syscalls.h +4 -4
- package/libc/include/generic-netbsd/rump/rumpuser.h +6 -1
- package/libc/include/generic-netbsd/rump/rumpvnode_if.h +2 -2
- package/libc/include/generic-netbsd/sha1.h +3 -3
- package/libc/include/generic-netbsd/sha2.h +8 -1
- package/libc/include/generic-netbsd/signal.h +4 -4
- package/libc/include/generic-netbsd/sparc/asm.h +10 -1
- package/libc/include/generic-netbsd/sparc/bswap.h +9 -1
- package/libc/include/generic-netbsd/sparc/cgtworeg.h +2 -2
- package/libc/include/generic-netbsd/sparc/cpu.h +1 -1
- package/libc/include/generic-netbsd/sparc/float.h +3 -1
- package/libc/include/generic-netbsd/sparc/limits.h +4 -6
- package/libc/include/generic-netbsd/sparc/lwp_private.h +51 -0
- package/libc/include/generic-netbsd/sparc/mcontext.h +4 -22
- package/libc/include/generic-netbsd/sparc/mutex.h +1 -1
- package/libc/include/generic-netbsd/sparc/param.h +4 -2
- package/libc/include/generic-netbsd/sparc/pmap.h +2 -2
- package/libc/include/generic-netbsd/sparc/psl.h +6 -3
- package/libc/include/generic-netbsd/sparc/types.h +2 -2
- package/libc/include/generic-netbsd/sparc64/bswap.h +9 -1
- package/libc/include/generic-netbsd/sparc64/cpu.h +2 -2
- package/libc/include/generic-netbsd/sparc64/ctlreg.h +8 -7
- package/libc/include/generic-netbsd/sparc64/intr.h +1 -1
- package/libc/include/generic-netbsd/sparc64/lwp_private.h +3 -0
- package/libc/include/generic-netbsd/sparc64/mcontext.h +4 -4
- package/libc/include/generic-netbsd/sparc64/mutex.h +1 -1
- package/libc/include/generic-netbsd/sparc64/param.h +8 -2
- package/libc/include/generic-netbsd/sparc64/psl.h +7 -2
- package/libc/include/generic-netbsd/sparc64/pte.h +2 -2
- package/libc/include/generic-netbsd/sparc64/vmparam.h +1 -1
- package/libc/include/generic-netbsd/ssp/ssp.h +16 -6
- package/libc/include/generic-netbsd/stdalign.h +3 -3
- package/libc/include/generic-netbsd/stdarg.h +2 -2
- package/libc/include/generic-netbsd/stddef.h +90 -12
- package/libc/include/generic-netbsd/stdlib.h +11 -2
- package/libc/include/generic-netbsd/stdnoreturn.h +2 -2
- package/libc/include/generic-netbsd/string.h +66 -39
- package/libc/include/generic-netbsd/strings.h +17 -3
- package/libc/include/generic-netbsd/sys/atomic.h +10 -5
- package/libc/include/generic-netbsd/sys/bitops.h +2 -2
- package/libc/include/generic-netbsd/sys/bootblock.h +13 -2
- package/libc/include/generic-netbsd/sys/bswap.h +46 -20
- package/libc/include/generic-netbsd/sys/buf.h +3 -3
- package/libc/include/generic-netbsd/sys/cdefs.h +44 -6
- package/libc/include/generic-netbsd/sys/cdefs_aout.h +8 -1
- package/libc/include/generic-netbsd/sys/cdefs_elf.h +9 -2
- package/libc/include/generic-netbsd/sys/chio.h +2 -2
- package/libc/include/generic-netbsd/sys/clock.h +5 -1
- package/libc/include/generic-netbsd/sys/common_limits.h +3 -1
- package/libc/include/generic-netbsd/sys/condvar.h +1 -1
- package/libc/include/generic-netbsd/sys/conf.h +4 -3
- package/libc/include/generic-netbsd/sys/container_of.h +75 -0
- package/libc/include/generic-netbsd/sys/device.h +20 -13
- package/libc/include/generic-netbsd/sys/disk.h +8 -1
- package/libc/include/generic-netbsd/sys/disklabel.h +2 -2
- package/libc/include/generic-netbsd/sys/disklabel_gpt.h +7 -1
- package/libc/include/generic-netbsd/sys/efiio.h +1 -1
- package/libc/include/generic-netbsd/sys/elfdefinitions.h +2368 -1591
- package/libc/include/generic-netbsd/sys/endian.h +17 -17
- package/libc/include/generic-netbsd/sys/evcnt.h +15 -2
- package/libc/include/generic-netbsd/sys/event.h +3 -2
- package/libc/include/generic-netbsd/sys/exec.h +2 -2
- package/libc/include/generic-netbsd/sys/exec_elf.h +32 -20
- package/libc/include/generic-netbsd/sys/fcntl.h +26 -2
- package/libc/include/generic-netbsd/sys/fd_set.h +3 -3
- package/libc/include/generic-netbsd/sys/featuretest.h +24 -6
- package/libc/include/generic-netbsd/sys/file.h +18 -6
- package/libc/include/generic-netbsd/sys/filedesc.h +8 -4
- package/libc/include/generic-netbsd/sys/futex.h +11 -11
- package/libc/include/generic-netbsd/sys/ieee754.h +2 -2
- package/libc/include/generic-netbsd/sys/ipc.h +2 -2
- package/libc/include/generic-netbsd/sys/ipmi.h +4 -2
- package/libc/include/generic-netbsd/sys/ksem.h +1 -1
- package/libc/include/generic-netbsd/sys/ktrace.h +6 -4
- package/libc/include/generic-netbsd/sys/lock.h +2 -2
- package/libc/include/generic-netbsd/sys/lua.h +1 -1
- package/libc/include/generic-netbsd/sys/lwp.h +25 -92
- package/libc/include/generic-netbsd/sys/mbuf.h +15 -13
- package/libc/include/generic-netbsd/sys/mman.h +11 -3
- package/libc/include/generic-netbsd/sys/mount.h +1 -2
- package/libc/include/generic-netbsd/sys/msg.h +3 -3
- package/libc/include/generic-netbsd/sys/mutex.h +1 -3
- package/libc/include/generic-netbsd/sys/namei.h +32 -17
- package/libc/include/generic-netbsd/sys/param.h +11 -8
- package/libc/include/generic-netbsd/sys/pipe.h +10 -11
- package/libc/include/generic-netbsd/sys/poll.h +8 -2
- package/libc/include/generic-netbsd/sys/proc.h +15 -15
- package/libc/include/generic-netbsd/sys/ptrace.h +24 -7
- package/libc/include/generic-netbsd/sys/ptree.h +2 -1
- package/libc/include/generic-netbsd/sys/queue.h +37 -37
- package/libc/include/generic-netbsd/sys/rbtree.h +23 -9
- package/libc/include/generic-netbsd/sys/resourcevar.h +2 -2
- package/libc/include/generic-netbsd/sys/rmd160.h +3 -3
- package/libc/include/generic-netbsd/sys/rndio.h +1 -1
- package/libc/include/generic-netbsd/sys/rwlock.h +1 -2
- package/libc/include/generic-netbsd/sys/sched.h +1 -1
- package/libc/include/generic-netbsd/sys/sdt.h +181 -111
- package/libc/include/generic-netbsd/sys/sem.h +7 -2
- package/libc/include/generic-netbsd/sys/sha1.h +3 -3
- package/libc/include/generic-netbsd/sys/sha2.h +8 -1
- package/libc/include/generic-netbsd/sys/shm.h +2 -2
- package/libc/include/generic-netbsd/sys/siginfo.h +5 -5
- package/libc/include/generic-netbsd/sys/signal.h +1 -1
- package/libc/include/generic-netbsd/sys/sigtypes.h +4 -4
- package/libc/include/generic-netbsd/sys/sleepq.h +14 -27
- package/libc/include/generic-netbsd/sys/socket.h +3 -1
- package/libc/include/generic-netbsd/sys/socketvar.h +4 -4
- package/libc/include/generic-netbsd/sys/stat.h +5 -5
- package/libc/include/generic-netbsd/sys/stdalign.h +55 -0
- package/libc/include/generic-netbsd/sys/stdarg.h +2 -2
- package/libc/include/generic-netbsd/sys/stddef.h +156 -0
- package/libc/include/generic-netbsd/sys/swap.h +2 -2
- package/libc/include/generic-netbsd/sys/syncobj.h +9 -6
- package/libc/include/generic-netbsd/sys/syscall.h +29 -8
- package/libc/include/generic-netbsd/sys/syscallargs.h +89 -12
- package/libc/include/generic-netbsd/sys/sysctl.h +94 -86
- package/libc/include/generic-netbsd/sys/syslimits.h +8 -1
- package/libc/include/generic-netbsd/sys/syslog.h +6 -7
- package/libc/include/generic-netbsd/sys/time.h +10 -8
- package/libc/include/generic-netbsd/sys/tree.h +13 -13
- package/libc/include/generic-netbsd/sys/tty.h +2 -2
- package/libc/include/generic-netbsd/sys/ttycom.h +7 -1
- package/libc/include/generic-netbsd/sys/types.h +1 -1
- package/libc/include/generic-netbsd/sys/ucontext.h +46 -49
- package/libc/include/generic-netbsd/sys/un.h +12 -4
- package/libc/include/generic-netbsd/sys/unistd.h +103 -102
- package/libc/include/generic-netbsd/sys/unpcb.h +2 -2
- package/libc/include/generic-netbsd/sys/vmmeter.h +1 -39
- package/libc/include/generic-netbsd/sys/vnode_if.h +2 -2
- package/libc/include/generic-netbsd/sys/vnode_impl.h +6 -3
- package/libc/include/generic-netbsd/sys/wapbl_replay.h +2 -2
- package/libc/include/generic-netbsd/sys/wchan.h +37 -0
- package/libc/include/generic-netbsd/syslog.h +6 -7
- package/libc/include/generic-netbsd/time.h +44 -8
- package/libc/include/generic-netbsd/tzfile.h +11 -6
- package/libc/include/generic-netbsd/uchar.h +1 -1
- package/libc/include/generic-netbsd/ucontext.h +2 -1
- package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs.h +31 -16
- package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs_dir.h +1 -1
- package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs_extents.h +5 -5
- package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs_extern.h +4 -4
- package/libc/include/generic-netbsd/ufs/ffs/ffs_extern.h +1 -1
- package/libc/include/generic-netbsd/ufs/ffs/fs.h +3 -3
- package/libc/include/generic-netbsd/ufs/ufs/quota2.h +2 -2
- package/libc/include/generic-netbsd/unistd.h +11 -5
- package/libc/include/generic-netbsd/unwind.h +1 -1
- package/libc/include/generic-netbsd/util.h +15 -1
- package/libc/include/generic-netbsd/uvm/uvm.h +1 -5
- package/libc/include/generic-netbsd/uvm/uvm_extern.h +3 -4
- package/libc/include/generic-netbsd/uvm/uvm_object.h +2 -2
- package/libc/include/generic-netbsd/uvm/uvm_param.h +1 -1
- package/libc/include/generic-netbsd/uvm/uvm_swap.h +14 -3
- package/libc/include/generic-netbsd/wchar.h +7 -2
- package/libc/include/generic-netbsd/x86/bootinfo.h +4 -1
- package/libc/include/generic-netbsd/x86/cpu.h +18 -1
- package/libc/include/generic-netbsd/x86/cpu_extended_state.h +3 -1
- package/libc/include/generic-netbsd/x86/cpuvar.h +4 -1
- package/libc/include/generic-netbsd/x86/float.h +24 -1
- package/libc/include/generic-netbsd/x86/ieee.h +11 -7
- package/libc/include/generic-netbsd/x86/lwp_private.h +56 -0
- package/libc/include/generic-netbsd/x86/mutex.h +1 -1
- package/libc/include/generic-netbsd/x86/specialreg.h +111 -23
- package/libc/include/m68k-netbsd-none/m68k/asm.h +11 -2
- package/libc/include/m68k-netbsd-none/m68k/bus_dma.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/byte_swap.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/cacheops_30.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/cacheops_40.h +3 -1
- package/libc/include/m68k-netbsd-none/m68k/cacheops_60.h +5 -3
- package/libc/include/m68k-netbsd-none/m68k/cpu.h +86 -59
- package/libc/include/m68k-netbsd-none/m68k/cpuframe.h +5 -5
- package/libc/include/m68k-netbsd-none/m68k/fenv.h +6 -4
- package/libc/include/m68k-netbsd-none/m68k/float.h +26 -1
- package/libc/include/m68k-netbsd-none/m68k/frame.h +31 -19
- package/libc/include/m68k-netbsd-none/m68k/ieee.h +13 -8
- package/libc/include/m68k-netbsd-none/m68k/ieeefp.h +3 -3
- package/libc/include/m68k-netbsd-none/m68k/int_limits.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/intr.h +211 -0
- package/libc/include/m68k-netbsd-none/m68k/kcore.h +31 -31
- package/libc/include/m68k-netbsd-none/m68k/lwp_private.h +64 -0
- package/libc/include/m68k-netbsd-none/m68k/m68k.h +3 -7
- package/libc/include/m68k-netbsd-none/m68k/mcontext.h +5 -36
- package/libc/include/m68k-netbsd-none/m68k/mmu_30.h +105 -0
- package/libc/include/m68k-netbsd-none/m68k/mmu_40.h +232 -0
- package/libc/include/m68k-netbsd-none/m68k/mmu_51.h +273 -0
- package/libc/include/m68k-netbsd-none/m68k/mutex.h +1 -1
- package/libc/include/m68k-netbsd-none/m68k/pcb.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/pmap_motorola.h +32 -23
- package/libc/include/m68k-netbsd-none/m68k/psl.h +26 -7
- package/libc/include/m68k-netbsd-none/m68k/pte_motorola.h +37 -26
- package/libc/include/m68k-netbsd-none/m68k/trap.h +7 -7
- package/libc/include/m68k-netbsd-none/mac68k/cpu.h +1 -57
- package/libc/include/m68k-netbsd-none/mac68k/intr.h +3 -2
- package/libc/include/m68k-netbsd-none/mac68k/lwp_private.h +3 -0
- package/libc/include/m68k-netbsd-none/mac68k/pmap.h +20 -2
- package/libc/include/m68k-netbsd-none/mac68k/z8530var.h +2 -2
- package/libc/include/m68k-netbsd-none/machine/cpu.h +1 -57
- package/libc/include/m68k-netbsd-none/machine/intr.h +3 -2
- package/libc/include/m68k-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/m68k-netbsd-none/machine/pmap.h +20 -2
- package/libc/include/m68k-netbsd-none/machine/z8530var.h +2 -2
- package/libc/include/mips-netbsd-eabi/machine/lwp_private.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/evbppc/lwp_private.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/float.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/ansi.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/aout_machdep.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/asm.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/cdefs.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/cpu.h +65 -0
- package/libc/include/powerpc-netbsd-eabi/machine/disklabel.h +69 -0
- package/libc/include/powerpc-netbsd-eabi/machine/elf_machdep.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/endian.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/fenv.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/float.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/frame.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/ieee.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/ieeefp.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_const.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_fmtio.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_limits.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_mwgwtypes.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_types.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/kcore.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/limits.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/lock.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/lwp_private.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/math.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/mcontext.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/mutex.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/param.h +43 -0
- package/libc/include/powerpc-netbsd-eabi/machine/pcb.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/pmap.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/proc.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/profile.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/psl.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/pte.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/ptrace.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/reg.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/reloc.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/setjmp.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/signal.h +3 -0
- package/libc/include/{mips-netbsd-eabi → powerpc-netbsd-eabi}/machine/sljit_machdep.h +1 -1
- package/libc/include/powerpc-netbsd-eabi/machine/trap.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/types.h +11 -0
- package/libc/include/powerpc-netbsd-eabi/machine/vmparam.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/wchar_limits.h +3 -0
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/asm.h +12 -2
- package/libc/include/powerpc-netbsd-eabi/powerpc/bswap.h +14 -0
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/cpu.h +3 -3
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/fenv.h +2 -1
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/pmap.h +3 -3
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ieee.h +7 -2
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/limits.h +4 -13
- package/libc/include/powerpc-netbsd-eabi/powerpc/lwp_private.h +79 -0
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/mcontext.h +6 -50
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/mutex.h +1 -1
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/hid.h +2 -2
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/pmap.h +2 -2
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/pmap.h +1 -1
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/psl.h +2 -2
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/vmparam.h +1 -1
- package/libc/include/riscv32-netbsd-none/machine/bswap.h +11 -0
- package/libc/include/riscv32-netbsd-none/machine/endian_machdep.h +3 -0
- package/libc/include/riscv32-netbsd-none/machine/rwlock.h +1 -0
- package/libc/include/riscv32-netbsd-none/machine/wchar_limits.h +4 -0
- package/libc/include/riscv64-netbsd-none/machine/bswap.h +11 -0
- package/libc/include/riscv64-netbsd-none/machine/endian_machdep.h +3 -0
- package/libc/include/riscv64-netbsd-none/machine/rwlock.h +1 -0
- package/libc/include/riscv64-netbsd-none/machine/wchar_limits.h +4 -0
- package/libc/include/sparc-netbsd-none/float.h +3 -1
- package/libc/include/sparc-netbsd-none/machine/asm.h +10 -1
- package/libc/include/sparc-netbsd-none/machine/cgtworeg.h +2 -2
- package/libc/include/sparc-netbsd-none/machine/cpu.h +1 -1
- package/libc/include/sparc-netbsd-none/machine/float.h +3 -1
- package/libc/include/sparc-netbsd-none/machine/limits.h +4 -6
- package/libc/include/sparc-netbsd-none/machine/lwp_private.h +51 -0
- package/libc/include/sparc-netbsd-none/machine/mcontext.h +4 -22
- package/libc/include/sparc-netbsd-none/machine/mutex.h +1 -1
- package/libc/include/sparc-netbsd-none/machine/param.h +4 -2
- package/libc/include/sparc-netbsd-none/machine/pmap.h +2 -2
- package/libc/include/sparc-netbsd-none/machine/psl.h +6 -3
- package/libc/include/sparc-netbsd-none/machine/sxreg.h +5 -1
- package/libc/include/sparc-netbsd-none/machine/types.h +2 -2
- package/libc/include/sparc-netbsd-none/sparc/sxreg.h +5 -1
- package/libc/include/sparc64-netbsd-none/machine/cpu.h +2 -2
- package/libc/include/sparc64-netbsd-none/machine/ctlreg.h +8 -7
- package/libc/include/sparc64-netbsd-none/machine/intr.h +1 -1
- package/libc/include/sparc64-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/sparc64-netbsd-none/machine/mcontext.h +4 -4
- package/libc/include/sparc64-netbsd-none/machine/mutex.h +1 -1
- package/libc/include/sparc64-netbsd-none/machine/param.h +8 -2
- package/libc/include/sparc64-netbsd-none/machine/psl.h +7 -2
- package/libc/include/sparc64-netbsd-none/machine/pte.h +2 -2
- package/libc/include/sparc64-netbsd-none/machine/vmparam.h +1 -1
- package/libc/include/x86-netbsd-none/machine/asm.h +12 -4
- package/libc/include/x86-netbsd-none/machine/byte_swap.h +2 -2
- package/libc/include/x86-netbsd-none/machine/cpu.h +15 -4
- package/libc/include/x86-netbsd-none/machine/elf_machdep.h +2 -1
- package/libc/include/x86-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/x86-netbsd-none/machine/mcontext.h +6 -24
- package/libc/include/x86-netbsd-none/machine/param.h +9 -1
- package/libc/include/x86-netbsd-none/machine/pcb.h +6 -2
- package/libc/include/x86-netbsd-none/machine/ptrace.h +2 -2
- package/libc/include/x86-netbsd-none/machine/types.h +2 -1
- package/libc/include/x86_64-netbsd-none/amd64/asm.h +11 -3
- package/libc/include/x86_64-netbsd-none/amd64/byte_swap.h +2 -2
- package/libc/include/x86_64-netbsd-none/amd64/cpu.h +13 -3
- package/libc/include/x86_64-netbsd-none/amd64/frame.h +2 -2
- package/libc/include/x86_64-netbsd-none/amd64/lwp_private.h +3 -0
- package/libc/include/x86_64-netbsd-none/amd64/mcontext.h +5 -23
- package/libc/include/x86_64-netbsd-none/amd64/param.h +23 -4
- package/libc/include/x86_64-netbsd-none/amd64/pcb.h +14 -3
- package/libc/include/x86_64-netbsd-none/amd64/ptrace.h +2 -2
- package/libc/include/x86_64-netbsd-none/amd64/types.h +2 -1
- package/libc/include/x86_64-netbsd-none/machine/asm.h +11 -3
- package/libc/include/x86_64-netbsd-none/machine/byte_swap.h +2 -2
- package/libc/include/x86_64-netbsd-none/machine/cpu.h +13 -3
- package/libc/include/x86_64-netbsd-none/machine/frame.h +2 -2
- package/libc/include/x86_64-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/x86_64-netbsd-none/machine/mcontext.h +5 -23
- package/libc/include/x86_64-netbsd-none/machine/param.h +23 -4
- package/libc/include/x86_64-netbsd-none/machine/pcb.h +14 -3
- package/libc/include/x86_64-netbsd-none/machine/ptrace.h +2 -2
- package/libc/include/x86_64-netbsd-none/machine/types.h +2 -1
- package/libc/netbsd/abilists +0 -0
- package/libc/netbsd/lib/csu/arch/riscv/crt0.S +62 -0
- package/libc/netbsd/lib/csu/common/crt0-common.c +32 -7
- package/libc/netbsd/lib/csu/common/csu-common.h +2 -0
- package/package.json +1 -1
- package/std/Build/Cache/Path.zig +27 -28
- package/std/Build/Cache.zig +1 -0
- package/std/Build/Configuration.zig +69 -29
- package/std/Build/Step/Compile.zig +2 -8
- package/std/Build/Step/ObjCopy.zig +2 -2
- package/std/Build/Step/Options.zig +2 -2
- package/std/Build/Step/Run.zig +0 -33
- package/std/Build.zig +34 -4
- package/std/Io/Kqueue.zig +1 -1
- package/std/Io/Threaded.zig +1 -1
- package/std/Io/Uring.zig +3 -1
- package/std/Target.zig +3 -1
- package/std/debug/Pdb.zig +61 -34
- package/std/debug/SelfInfo/Elf.zig +12 -9
- package/std/debug/SelfInfo/Windows.zig +3 -5
- package/std/debug/cpu_context.zig +62 -14
- package/std/zig/target.zig +2 -1
- package/std/zig.zig +12 -0
- package/libc/include/arm-netbsd-eabi/machine/frame.h +0 -130
- package/libc/include/generic-netbsd/powerpc/bswap.h +0 -8
- package/libc/include/mips-netbsd-eabi/machine/psl.h +0 -3
- package/libc/include/mips-netbsd-eabi/machine/reloc.h +0 -3
- package/libc/include/mips-netbsd-eabi/machine/trap.h +0 -3
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ansi.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/aout_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/asm.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/bswap.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/cdefs.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/cpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/disklabel.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/elf_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/endian.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/endian_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/fenv.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/float.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/fpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/frame.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ieee.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ieeefp.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_const.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_fmtio.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_limits.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_mwgwtypes.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_types.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/intr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/kcore.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/limits.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/lock.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/math.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/mcontext.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/mutex.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/param.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/pcb.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/pmap.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/proc.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/profile.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/psl.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/pte.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ptrace.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/reg.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/reloc.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/rwlock.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/setjmp.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/signal.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/sljit_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/trap.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/types.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/vmparam.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/wchar_limits.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/machine/fpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/machine/intr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ansi.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/aout_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/cdefs.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/elf_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/endian.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/endian_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/float.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/fpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/frame.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/cpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/spr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/tlb.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ieeefp.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_const.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_fmtio.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_limits.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_mwgwtypes.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_types.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/kcore.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/lock.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/math.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/bat.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/hid_601.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/pte.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/spr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/sr_601.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/vmparam.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/param.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/pcb.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/proc.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/profile.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/pte.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ptrace.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/reg.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/reloc.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/rwlock.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/setjmp.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/signal.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/sljit_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/spr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/trap.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/types.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/wchar_limits.h +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: if_stats.h,v 1.
|
|
1
|
+
/* $NetBSD: if_stats.h,v 1.6 2024/07/01 13:13:37 riastradh Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 2020 The NetBSD Foundation, Inc.
|
|
@@ -55,42 +55,52 @@ typedef enum {
|
|
|
55
55
|
|
|
56
56
|
#ifdef _KERNEL
|
|
57
57
|
|
|
58
|
+
#include <sys/sdt.h>
|
|
59
|
+
|
|
60
|
+
SDT_PROBE_DECLARE(sdt, net, interface, stat);
|
|
61
|
+
|
|
58
62
|
#define IF_STAT_GETREF(ifp) _NET_STAT_GETREF((ifp)->if_stats)
|
|
59
63
|
#define IF_STAT_PUTREF(ifp) _NET_STAT_PUTREF((ifp)->if_stats)
|
|
60
64
|
|
|
61
65
|
static inline void
|
|
62
66
|
if_statinc(ifnet_t *ifp, if_stat_t x)
|
|
63
67
|
{
|
|
68
|
+
SDT_PROBE3(sdt, net, interface, stat, ifp, x, +1);
|
|
64
69
|
_NET_STATINC((ifp)->if_stats, x);
|
|
65
70
|
}
|
|
66
71
|
|
|
67
72
|
static inline void
|
|
68
|
-
if_statinc_ref(net_stat_ref_t nsr, if_stat_t x)
|
|
73
|
+
if_statinc_ref(ifnet_t *ifp, net_stat_ref_t nsr, if_stat_t x)
|
|
69
74
|
{
|
|
75
|
+
SDT_PROBE3(sdt, net, interface, stat, ifp, x, +1);
|
|
70
76
|
_NET_STATINC_REF(nsr, x);
|
|
71
77
|
}
|
|
72
78
|
|
|
73
79
|
static inline void
|
|
74
80
|
if_statdec(ifnet_t *ifp, if_stat_t x)
|
|
75
81
|
{
|
|
82
|
+
SDT_PROBE3(sdt, net, interface, stat, ifp, x, -1);
|
|
76
83
|
_NET_STATDEC((ifp)->if_stats, x);
|
|
77
84
|
}
|
|
78
85
|
|
|
79
86
|
static inline void
|
|
80
|
-
if_statdec_ref(net_stat_ref_t nsr, if_stat_t x)
|
|
87
|
+
if_statdec_ref(ifnet_t *ifp, net_stat_ref_t nsr, if_stat_t x)
|
|
81
88
|
{
|
|
89
|
+
SDT_PROBE3(sdt, net, interface, stat, ifp, x, -1);
|
|
82
90
|
_NET_STATDEC_REF(nsr, x);
|
|
83
91
|
}
|
|
84
92
|
|
|
85
93
|
static inline void
|
|
86
94
|
if_statadd(ifnet_t *ifp, if_stat_t x, uint64_t v)
|
|
87
95
|
{
|
|
96
|
+
SDT_PROBE3(sdt, net, interface, stat, ifp, x, v);
|
|
88
97
|
_NET_STATADD((ifp)->if_stats, x, v);
|
|
89
98
|
}
|
|
90
99
|
|
|
91
100
|
static inline void
|
|
92
|
-
if_statadd_ref(net_stat_ref_t nsr, if_stat_t x, uint64_t v)
|
|
101
|
+
if_statadd_ref(ifnet_t *ifp, net_stat_ref_t nsr, if_stat_t x, uint64_t v)
|
|
93
102
|
{
|
|
103
|
+
SDT_PROBE3(sdt, net, interface, stat, ifp, x, v);
|
|
94
104
|
_NET_STATADD_REF(nsr, x, v);
|
|
95
105
|
}
|
|
96
106
|
|
|
@@ -98,6 +108,8 @@ static inline void
|
|
|
98
108
|
if_statadd2(ifnet_t *ifp, if_stat_t x1, uint64_t v1, if_stat_t x2, uint64_t v2)
|
|
99
109
|
{
|
|
100
110
|
net_stat_ref_t _nsr_ = IF_STAT_GETREF(ifp);
|
|
111
|
+
SDT_PROBE3(sdt, net, interface, stat, ifp, x1, v1);
|
|
112
|
+
SDT_PROBE3(sdt, net, interface, stat, ifp, x2, v2);
|
|
101
113
|
_NET_STATADD_REF(_nsr_, x1, v1);
|
|
102
114
|
_NET_STATADD_REF(_nsr_, x2, v2);
|
|
103
115
|
IF_STAT_PUTREF(ifp);
|
|
@@ -106,12 +118,14 @@ if_statadd2(ifnet_t *ifp, if_stat_t x1, uint64_t v1, if_stat_t x2, uint64_t v2)
|
|
|
106
118
|
static inline void
|
|
107
119
|
if_statsub(ifnet_t *ifp, if_stat_t x, uint64_t v)
|
|
108
120
|
{
|
|
121
|
+
SDT_PROBE3(sdt, net, interface, stat, ifp, x, -v);
|
|
109
122
|
_NET_STATSUB((ifp)->if_stats, x, v);
|
|
110
123
|
}
|
|
111
124
|
|
|
112
125
|
static inline void
|
|
113
|
-
if_statsub_ref(net_stat_ref_t nsr, if_stat_t x, uint64_t v)
|
|
126
|
+
if_statsub_ref(ifnet_t *ifp, net_stat_ref_t nsr, if_stat_t x, uint64_t v)
|
|
114
127
|
{
|
|
128
|
+
SDT_PROBE3(sdt, net, interface, stat, ifp, x, -v);
|
|
115
129
|
_NET_STATSUB_REF(nsr, x, v);
|
|
116
130
|
}
|
|
117
131
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: net_stats.h,v 1.
|
|
1
|
+
/* $NetBSD: net_stats.h,v 1.6 2024/06/29 13:01:30 riastradh Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 2008, 2020 The NetBSD Foundation, Inc.
|
|
@@ -35,14 +35,21 @@
|
|
|
35
35
|
#ifdef _KERNEL
|
|
36
36
|
#include <sys/percpu.h>
|
|
37
37
|
|
|
38
|
-
typedef
|
|
38
|
+
typedef struct net_stat_ref {
|
|
39
|
+
/*
|
|
40
|
+
* Flexible array member annoyingly requires some other
|
|
41
|
+
* non-flexible array member.
|
|
42
|
+
*/
|
|
43
|
+
uint64_t nsr_stat[1];
|
|
44
|
+
uint64_t nsr_stats[];
|
|
45
|
+
} *net_stat_ref_t;
|
|
39
46
|
|
|
40
47
|
#define _NET_STAT_GETREF(stat) ((net_stat_ref_t)percpu_getref((stat)))
|
|
41
48
|
#define _NET_STAT_PUTREF(stat) percpu_putref((stat))
|
|
42
49
|
|
|
43
50
|
#define _NET_STATINC_REF(r, x) \
|
|
44
51
|
do { \
|
|
45
|
-
uint64_t *_stat_ = (r);
|
|
52
|
+
uint64_t *_stat_ = (r)->nsr_stat; \
|
|
46
53
|
_stat_[x]++; \
|
|
47
54
|
} while (/*CONSTCOND*/0)
|
|
48
55
|
|
|
@@ -55,7 +62,7 @@ do { \
|
|
|
55
62
|
|
|
56
63
|
#define _NET_STATDEC_REF(r, x) \
|
|
57
64
|
do { \
|
|
58
|
-
uint64_t *_stat_ = (r);
|
|
65
|
+
uint64_t *_stat_ = (r)->nsr_stat; \
|
|
59
66
|
_stat_[x]--; \
|
|
60
67
|
} while (/*CONSTCOND*/0)
|
|
61
68
|
|
|
@@ -68,7 +75,7 @@ do { \
|
|
|
68
75
|
|
|
69
76
|
#define _NET_STATADD_REF(r, x, v) \
|
|
70
77
|
do { \
|
|
71
|
-
uint64_t *_stat_ = (r);
|
|
78
|
+
uint64_t *_stat_ = (r)->nsr_stat; \
|
|
72
79
|
_stat_[x] += (v); \
|
|
73
80
|
} while (/*CONSTCOND*/0)
|
|
74
81
|
|
|
@@ -81,7 +88,7 @@ do { \
|
|
|
81
88
|
|
|
82
89
|
#define _NET_STATSUB_REF(r, x, v) \
|
|
83
90
|
do { \
|
|
84
|
-
uint64_t *_stat_ = (r);
|
|
91
|
+
uint64_t *_stat_ = (r)->nsr_stat; \
|
|
85
92
|
_stat_[x] -= (v); \
|
|
86
93
|
} while (/*CONSTCOND*/0)
|
|
87
94
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*-
|
|
2
|
-
* Copyright (c) 2009-
|
|
2
|
+
* Copyright (c) 2009-2025 The NetBSD Foundation, Inc.
|
|
3
3
|
* All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* This material is based upon work partially supported by The
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
#include <sys/ioctl.h>
|
|
46
46
|
#include <netinet/in_systm.h>
|
|
47
47
|
#include <netinet/in.h>
|
|
48
|
+
#include <net/if_ether.h>
|
|
48
49
|
#endif
|
|
49
50
|
|
|
50
51
|
struct npf;
|
|
@@ -59,6 +60,15 @@ typedef union {
|
|
|
59
60
|
uint32_t word32[4];
|
|
60
61
|
} npf_addr_t;
|
|
61
62
|
|
|
63
|
+
/*
|
|
64
|
+
* use a single type for both user id and group id
|
|
65
|
+
*/
|
|
66
|
+
struct r_id {
|
|
67
|
+
uint32_t id[2];
|
|
68
|
+
uint8_t op;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
typedef struct r_id rid_t;
|
|
62
72
|
typedef uint8_t npf_netmask_t;
|
|
63
73
|
|
|
64
74
|
#define NPF_MAX_NETMASK (128)
|
|
@@ -142,6 +152,7 @@ int nbuf_find_tag(nbuf_t *, uint32_t *);
|
|
|
142
152
|
#define NPC_ALG_EXEC 0x100 /* ALG execution. */
|
|
143
153
|
|
|
144
154
|
#define NPC_FMTERR 0x200 /* Format error. */
|
|
155
|
+
#define NPC_LAYER2 0x400 /* ether header */
|
|
145
156
|
|
|
146
157
|
#define NPC_IP46 (NPC_IP4|NPC_IP6)
|
|
147
158
|
|
|
@@ -153,6 +164,9 @@ typedef struct {
|
|
|
153
164
|
uint32_t npc_info;
|
|
154
165
|
nbuf_t * npc_nbuf;
|
|
155
166
|
|
|
167
|
+
struct ether_header ether;
|
|
168
|
+
uint8_t ether_type;
|
|
169
|
+
|
|
156
170
|
/*
|
|
157
171
|
* Pointers to the IP source and destination addresses,
|
|
158
172
|
* and the address length (4 for IPv4 or 16 for IPv6).
|
|
@@ -214,6 +228,8 @@ bool npf_autounload_p(void);
|
|
|
214
228
|
#define NPF_RULE_RETICMP 0x00000020
|
|
215
229
|
#define NPF_RULE_DYNAMIC 0x00000040
|
|
216
230
|
#define NPF_RULE_GSTATEFUL 0x00000080
|
|
231
|
+
#define NPF_RULE_LAYER_3 0x00000100
|
|
232
|
+
#define NPF_RULE_LAYER_2 0x00000200
|
|
217
233
|
|
|
218
234
|
#define NPF_DYNAMIC_GROUP (NPF_RULE_GROUP | NPF_RULE_DYNAMIC)
|
|
219
235
|
|
|
@@ -259,10 +275,6 @@ bool npf_autounload_p(void);
|
|
|
259
275
|
|
|
260
276
|
#define NPF_TABLE_MAXNAMELEN 32
|
|
261
277
|
|
|
262
|
-
/* Layers. */
|
|
263
|
-
#define NPF_LAYER_2 2
|
|
264
|
-
#define NPF_LAYER_3 3
|
|
265
|
-
|
|
266
278
|
/*
|
|
267
279
|
* Flags passed via nbuf tags.
|
|
268
280
|
*/
|
|
@@ -368,10 +380,26 @@ typedef enum {
|
|
|
368
380
|
/* nbuf non-contiguous cases. */
|
|
369
381
|
NPF_STAT_NBUF_NONCONTIG,
|
|
370
382
|
NPF_STAT_NBUF_CONTIG_FAIL,
|
|
383
|
+
/* layer 2 statistics */
|
|
384
|
+
NPF_ETHER_STAT_PASS,
|
|
385
|
+
NPF_ETHER_STAT_BLOCK,
|
|
371
386
|
/* Count (last). */
|
|
372
387
|
NPF_STATS_COUNT
|
|
373
388
|
} npf_stats_t;
|
|
374
389
|
|
|
375
390
|
#define NPF_STATS_SIZE (sizeof(uint64_t) * NPF_STATS_COUNT)
|
|
376
391
|
|
|
392
|
+
/* unary and binary operators */
|
|
393
|
+
enum {
|
|
394
|
+
NPF_OP_NONE,
|
|
395
|
+
NPF_OP_EQ,
|
|
396
|
+
NPF_OP_NE,
|
|
397
|
+
NPF_OP_LE,
|
|
398
|
+
NPF_OP_LT,
|
|
399
|
+
NPF_OP_GE,
|
|
400
|
+
NPF_OP_GT,
|
|
401
|
+
NPF_OP_XRG,
|
|
402
|
+
NPF_OP_IRG
|
|
403
|
+
};
|
|
404
|
+
|
|
377
405
|
#endif /* _NPF_NET_H_ */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: route.h,v 1.
|
|
1
|
+
/* $NetBSD: route.h,v 1.134 2023/06/16 02:48:07 rin Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 1980, 1986, 1993
|
|
@@ -525,14 +525,14 @@ void rtcache_unref(struct rtentry *, struct route *);
|
|
|
525
525
|
percpu_t *
|
|
526
526
|
rtcache_percpu_alloc(void);
|
|
527
527
|
|
|
528
|
-
static
|
|
528
|
+
static __inline struct route *
|
|
529
529
|
rtcache_percpu_getref(percpu_t *pc)
|
|
530
530
|
{
|
|
531
531
|
|
|
532
532
|
return *(struct route **)percpu_getref(pc);
|
|
533
533
|
}
|
|
534
534
|
|
|
535
|
-
static
|
|
535
|
+
static __inline void
|
|
536
536
|
rtcache_percpu_putref(percpu_t *pc)
|
|
537
537
|
{
|
|
538
538
|
|
|
@@ -579,7 +579,7 @@ struct rtentry *
|
|
|
579
579
|
int (*)(struct rtentry *, void *), void *);
|
|
580
580
|
void rtbl_init(void);
|
|
581
581
|
|
|
582
|
-
void
|
|
582
|
+
void sysctl_net_route_setup(struct sysctllog **, int, const char *);
|
|
583
583
|
|
|
584
584
|
#endif /* _KERNEL */
|
|
585
585
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: ieee80211_node.h,v 1.
|
|
1
|
+
/* $NetBSD: ieee80211_node.h,v 1.32 2023/08/01 07:04:16 mrg Exp $ */
|
|
2
2
|
/*-
|
|
3
3
|
* Copyright (c) 2001 Atsushi Onoe
|
|
4
4
|
* Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
|
|
@@ -283,7 +283,8 @@ void ieee80211_dump_node(struct ieee80211_node_table *,
|
|
|
283
283
|
void ieee80211_dump_nodes(struct ieee80211_node_table *);
|
|
284
284
|
|
|
285
285
|
struct ieee80211_node *ieee80211_fakeup_adhoc_node(
|
|
286
|
-
struct ieee80211_node_table *,
|
|
286
|
+
struct ieee80211_node_table *,
|
|
287
|
+
const u_int8_t macaddr[IEEE80211_ADDR_LEN]);
|
|
287
288
|
void ieee80211_node_join(struct ieee80211com *, struct ieee80211_node *,int);
|
|
288
289
|
void ieee80211_node_leave(struct ieee80211com *, struct ieee80211_node *);
|
|
289
290
|
u_int8_t ieee80211_getrssi(struct ieee80211com *ic);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: ieee80211_var.h,v 1.
|
|
1
|
+
/* $NetBSD: ieee80211_var.h,v 1.35 2023/06/24 05:12:03 msaitoh Exp $ */
|
|
2
2
|
/*-
|
|
3
3
|
* Copyright (c) 2001 Atsushi Onoe
|
|
4
4
|
* Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
|
|
@@ -363,7 +363,7 @@ ieee80211_anyhdrspace(struct ieee80211com *ic, const void *data)
|
|
|
363
363
|
|
|
364
364
|
/* Flags set in ic_debug, used to print debug messages */
|
|
365
365
|
#define IEEE80211_MSG_DEBUG 0x40000000 /* IFF_DEBUG equivalent */
|
|
366
|
-
#define IEEE80211_MSG_DUMPPKTS 0x20000000 /* IFF_LINK2
|
|
366
|
+
#define IEEE80211_MSG_DUMPPKTS 0x20000000 /* IFF_LINK2 equivalent */
|
|
367
367
|
#define IEEE80211_MSG_CRYPTO 0x10000000 /* crypto work */
|
|
368
368
|
#define IEEE80211_MSG_INPUT 0x08000000 /* input handling */
|
|
369
369
|
#define IEEE80211_MSG_XRATE 0x04000000 /* rate set handling */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: hci.h,v 1.46
|
|
1
|
+
/* $NetBSD: hci.h,v 1.46.34.1 2025/08/25 16:09:27 martin Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 2005 Iain Hibbert.
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
55
55
|
* SUCH DAMAGE.
|
|
56
56
|
*
|
|
57
|
-
* $Id: hci.h,v 1.46
|
|
57
|
+
* $Id: hci.h,v 1.46.34.1 2025/08/25 16:09:27 martin Exp $
|
|
58
58
|
* $FreeBSD: src/sys/netgraph/bluetooth/include/ng_hci.h,v 1.6 2005/01/07 01:45:43 imp Exp $
|
|
59
59
|
*/
|
|
60
60
|
|
|
@@ -984,7 +984,7 @@ typedef struct {
|
|
|
984
984
|
/* No return parameter(s) */
|
|
985
985
|
|
|
986
986
|
#define HCI_OCF_SNIFF_SUBRATING 0x0011
|
|
987
|
-
#define HCI_CMD_SNIFF_SUBRATING
|
|
987
|
+
#define HCI_CMD_SNIFF_SUBRATING 0x0811
|
|
988
988
|
typedef struct {
|
|
989
989
|
uint16_t con_handle; /* connection handle */
|
|
990
990
|
uint16_t max_latency;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: netdb.h,v 1.
|
|
1
|
+
/* $NetBSD: netdb.h,v 1.72 2024/02/16 11:13:59 jkoshy Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* ++Copyright++ 1980, 1983, 1988, 1993
|
|
@@ -296,7 +296,7 @@ struct addrinfo {
|
|
|
296
296
|
#define NI_NAMEREQD 0x00000004
|
|
297
297
|
#define NI_NUMERICSERV 0x00000008
|
|
298
298
|
#define NI_DGRAM 0x00000010
|
|
299
|
-
#define NI_WITHSCOPEID 0x00000020
|
|
299
|
+
#define NI_WITHSCOPEID 0x00000020 /* Obsolete. */
|
|
300
300
|
#define NI_NUMERICSCOPE 0x00000040
|
|
301
301
|
|
|
302
302
|
/*%
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: icmp6.h,v 1.
|
|
1
|
+
/* $NetBSD: icmp6.h,v 1.61 2024/12/06 18:36:09 riastradh Exp $ */
|
|
2
2
|
/* $KAME: icmp6.h,v 1.84 2003/04/23 10:26:51 itojun Exp $ */
|
|
3
3
|
|
|
4
4
|
|
|
@@ -65,6 +65,10 @@
|
|
|
65
65
|
#ifndef _NETINET_ICMP6_H_
|
|
66
66
|
#define _NETINET_ICMP6_H_
|
|
67
67
|
|
|
68
|
+
#include <sys/types.h>
|
|
69
|
+
|
|
70
|
+
#include <netinet/in.h>
|
|
71
|
+
|
|
68
72
|
#define ICMPV6_PLD_MAXLEN 1232 /* IPV6_MMTU - sizeof(struct ip6_hdr)
|
|
69
73
|
- sizeof(struct icmp6_hdr) */
|
|
70
74
|
|
|
@@ -757,7 +761,7 @@ static const char * const icmp6_code_timxceed[] = {
|
|
|
757
761
|
|
|
758
762
|
static const char * const icmp6_code_paramprob[] = {
|
|
759
763
|
"hdr_field", "nxthdr_type", "option", NULL
|
|
760
|
-
};
|
|
764
|
+
};
|
|
761
765
|
|
|
762
766
|
/* not all informational icmps that have codes have a names array */
|
|
763
767
|
#endif
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: in.h,v 1.
|
|
1
|
+
/* $NetBSD: in.h,v 1.115 2023/06/16 03:02:30 rin Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 1982, 1986, 1990, 1993
|
|
@@ -107,7 +107,7 @@ typedef __sa_family_t sa_family_t;
|
|
|
107
107
|
#define IPPROTO_CARP 112 /* Common Address Resolution Protocol */
|
|
108
108
|
#define IPPROTO_L2TP 115 /* L2TPv3 */
|
|
109
109
|
#define IPPROTO_SCTP 132 /* SCTP */
|
|
110
|
-
#define IPPROTO_PFSYNC
|
|
110
|
+
#define IPPROTO_PFSYNC 240 /* PFSYNC */
|
|
111
111
|
#define IPPROTO_RAW 255 /* raw IP packet */
|
|
112
112
|
#define IPPROTO_MAX 256
|
|
113
113
|
|
|
@@ -353,22 +353,22 @@ struct ip_mreq {
|
|
|
353
353
|
#define IPCTL_ALLOWSRCRT 7 /* allow/drop all source-routed pkts */
|
|
354
354
|
#define IPCTL_SUBNETSARELOCAL 8 /* treat subnets as local addresses */
|
|
355
355
|
#define IPCTL_MTUDISC 9 /* allow path MTU discovery */
|
|
356
|
-
#define IPCTL_ANONPORTMIN
|
|
357
|
-
#define IPCTL_ANONPORTMAX
|
|
358
|
-
#define IPCTL_MTUDISCTIMEOUT
|
|
359
|
-
#define IPCTL_MAXFLOWS
|
|
360
|
-
#define IPCTL_HOSTZEROBROADCAST
|
|
361
|
-
#define IPCTL_GIF_TTL
|
|
362
|
-
#define IPCTL_LOWPORTMIN
|
|
363
|
-
#define IPCTL_LOWPORTMAX
|
|
364
|
-
#define IPCTL_MAXFRAGPACKETS
|
|
365
|
-
#define IPCTL_GRE_TTL
|
|
366
|
-
#define IPCTL_CHECKINTERFACE
|
|
367
|
-
#define IPCTL_IFQ
|
|
368
|
-
#define IPCTL_RANDOMID
|
|
369
|
-
#define IPCTL_LOOPBACKCKSUM
|
|
356
|
+
#define IPCTL_ANONPORTMIN 10 /* minimum ephemeral port */
|
|
357
|
+
#define IPCTL_ANONPORTMAX 11 /* maximum ephemeral port */
|
|
358
|
+
#define IPCTL_MTUDISCTIMEOUT 12 /* allow path MTU discovery */
|
|
359
|
+
#define IPCTL_MAXFLOWS 13 /* maximum ip flows allowed */
|
|
360
|
+
#define IPCTL_HOSTZEROBROADCAST 14 /* is host zero a broadcast addr? */
|
|
361
|
+
#define IPCTL_GIF_TTL 15 /* default TTL for gif encap packet */
|
|
362
|
+
#define IPCTL_LOWPORTMIN 16 /* minimum reserved port */
|
|
363
|
+
#define IPCTL_LOWPORTMAX 17 /* maximum reserved port */
|
|
364
|
+
#define IPCTL_MAXFRAGPACKETS 18 /* max packets reassembly queue */
|
|
365
|
+
#define IPCTL_GRE_TTL 19 /* default TTL for gre encap packet */
|
|
366
|
+
#define IPCTL_CHECKINTERFACE 20 /* drop pkts in from 'wrong' iface */
|
|
367
|
+
#define IPCTL_IFQ 21 /* IP packet input queue */
|
|
368
|
+
#define IPCTL_RANDOMID 22 /* use random IP ids (if configured) */
|
|
369
|
+
#define IPCTL_LOOPBACKCKSUM 23 /* do IP checksum on loopback */
|
|
370
370
|
#define IPCTL_STATS 24 /* IP statistics */
|
|
371
|
-
#define IPCTL_DAD_COUNT
|
|
371
|
+
#define IPCTL_DAD_COUNT 25 /* DAD packets to send */
|
|
372
372
|
|
|
373
373
|
#endif /* _NETBSD_SOURCE */
|
|
374
374
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: in_var.h,v 1.
|
|
1
|
+
/* $NetBSD: in_var.h,v 1.105 2025/06/11 02:44:13 ozaki-r Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
|
@@ -327,11 +327,7 @@ in_get_ia_from_ifp(struct ifnet *ifp)
|
|
|
327
327
|
{
|
|
328
328
|
struct ifaddr *ifa;
|
|
329
329
|
|
|
330
|
-
|
|
331
|
-
if (ifa->ifa_addr->sa_family == AF_INET)
|
|
332
|
-
break;
|
|
333
|
-
}
|
|
334
|
-
|
|
330
|
+
ifa = if_first_addr(ifp, AF_INET);
|
|
335
331
|
return ifatoia(ifa);
|
|
336
332
|
}
|
|
337
333
|
|
|
@@ -467,7 +463,7 @@ ip_randomid(void)
|
|
|
467
463
|
* => Return the first ID.
|
|
468
464
|
*/
|
|
469
465
|
static __inline uint16_t
|
|
470
|
-
ip_newid_range(
|
|
466
|
+
ip_newid_range(u_int num)
|
|
471
467
|
{
|
|
472
468
|
uint16_t id;
|
|
473
469
|
|
|
@@ -486,10 +482,10 @@ ip_newid_range(const struct in_ifaddr *ia, u_int num)
|
|
|
486
482
|
}
|
|
487
483
|
|
|
488
484
|
static __inline uint16_t
|
|
489
|
-
ip_newid(
|
|
485
|
+
ip_newid(void)
|
|
490
486
|
{
|
|
491
487
|
|
|
492
|
-
return ip_newid_range(
|
|
488
|
+
return ip_newid_range(1);
|
|
493
489
|
}
|
|
494
490
|
|
|
495
491
|
#ifdef SYSCTLFN_PROTO
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: ip_mroute.h,v 1.
|
|
1
|
+
/* $NetBSD: ip_mroute.h,v 1.36 2025/07/28 21:25:00 kim Exp $ */
|
|
2
2
|
|
|
3
3
|
#ifndef _NETINET_IP_MROUTE_H_
|
|
4
4
|
#define _NETINET_IP_MROUTE_H_
|
|
@@ -21,10 +21,6 @@
|
|
|
21
21
|
#include <sys/queue.h>
|
|
22
22
|
#include <sys/callout.h>
|
|
23
23
|
|
|
24
|
-
#ifdef _KERNEL
|
|
25
|
-
struct sockopt; /* from <sys/socketvar.h> */
|
|
26
|
-
#endif
|
|
27
|
-
|
|
28
24
|
/*
|
|
29
25
|
* Multicast Routing set/getsockopt commands.
|
|
30
26
|
*/
|
|
@@ -42,7 +38,6 @@ struct sockopt; /* from <sys/socketvar.h> */
|
|
|
42
38
|
#define MRT_ADD_BW_UPCALL 111 /* create bandwidth monitor */
|
|
43
39
|
#define MRT_DEL_BW_UPCALL 112 /* delete bandwidth monitor */
|
|
44
40
|
|
|
45
|
-
|
|
46
41
|
/*
|
|
47
42
|
* Types and macros for handling bitmaps with one bit per virtual interface.
|
|
48
43
|
*/
|
|
@@ -101,6 +96,7 @@ struct mfcctl2 {
|
|
|
101
96
|
u_int8_t mfcc_flags[MAXVIFS]; /* the MRT_MFC_FLAGS_* flags */
|
|
102
97
|
struct in_addr mfcc_rp; /* the RP address */
|
|
103
98
|
};
|
|
99
|
+
|
|
104
100
|
/*
|
|
105
101
|
* The advanced-API flags.
|
|
106
102
|
*
|
|
@@ -196,7 +192,6 @@ struct sioc_vif_req {
|
|
|
196
192
|
u_long obytes; /* output byte count on vif */
|
|
197
193
|
};
|
|
198
194
|
|
|
199
|
-
|
|
200
195
|
/*
|
|
201
196
|
* The kernel's multicast routing statistics.
|
|
202
197
|
*/
|
|
@@ -216,6 +211,26 @@ struct mrtstat {
|
|
|
216
211
|
u_long mrts_upq_sockfull; /* upcalls dropped - socket full */
|
|
217
212
|
};
|
|
218
213
|
|
|
214
|
+
/*
|
|
215
|
+
* Structure used to communicate from kernel to multicast router.
|
|
216
|
+
* (Note the convenient similarity to an IP packet.)
|
|
217
|
+
*/
|
|
218
|
+
struct igmpmsg {
|
|
219
|
+
u_int32_t unused1;
|
|
220
|
+
u_int32_t unused2;
|
|
221
|
+
u_int8_t im_msgtype; /* what type of message */
|
|
222
|
+
#define IGMPMSG_NOCACHE 1 /* no MFC in the kernel */
|
|
223
|
+
#define IGMPMSG_WRONGVIF 2 /* packet came from wrong interface */
|
|
224
|
+
#define IGMPMSG_WHOLEPKT 3 /* PIM pkt for user level encap. */
|
|
225
|
+
#define IGMPMSG_BW_UPCALL 4 /* BW monitoring upcall */
|
|
226
|
+
u_int8_t im_mbz; /* must be zero */
|
|
227
|
+
u_int8_t im_vif; /* vif rec'd on */
|
|
228
|
+
u_int8_t unused3;
|
|
229
|
+
struct in_addr im_src, im_dst;
|
|
230
|
+
};
|
|
231
|
+
#ifdef __CTASSERT
|
|
232
|
+
__CTASSERT(sizeof(struct igmpmsg) == 20);
|
|
233
|
+
#endif
|
|
219
234
|
|
|
220
235
|
#ifdef _KERNEL
|
|
221
236
|
|
|
@@ -267,27 +282,6 @@ struct mfc {
|
|
|
267
282
|
struct bw_meter *mfc_bw_meter; /* list of bandwidth meters */
|
|
268
283
|
};
|
|
269
284
|
|
|
270
|
-
/*
|
|
271
|
-
* Structure used to communicate from kernel to multicast router.
|
|
272
|
-
* (Note the convenient similarity to an IP packet.)
|
|
273
|
-
*/
|
|
274
|
-
struct igmpmsg {
|
|
275
|
-
u_int32_t unused1;
|
|
276
|
-
u_int32_t unused2;
|
|
277
|
-
u_int8_t im_msgtype; /* what type of message */
|
|
278
|
-
#define IGMPMSG_NOCACHE 1 /* no MFC in the kernel */
|
|
279
|
-
#define IGMPMSG_WRONGVIF 2 /* packet came from wrong interface */
|
|
280
|
-
#define IGMPMSG_WHOLEPKT 3 /* PIM pkt for user level encap. */
|
|
281
|
-
#define IGMPMSG_BW_UPCALL 4 /* BW monitoring upcall */
|
|
282
|
-
u_int8_t im_mbz; /* must be zero */
|
|
283
|
-
u_int8_t im_vif; /* vif rec'd on */
|
|
284
|
-
u_int8_t unused3;
|
|
285
|
-
struct in_addr im_src, im_dst;
|
|
286
|
-
};
|
|
287
|
-
#ifdef __CTASSERT
|
|
288
|
-
__CTASSERT(sizeof(struct igmpmsg) == 20);
|
|
289
|
-
#endif
|
|
290
|
-
|
|
291
285
|
/*
|
|
292
286
|
* Argument structure used for pkt info. while upcall is made.
|
|
293
287
|
*/
|
|
@@ -335,6 +329,8 @@ struct bw_meter {
|
|
|
335
329
|
struct timeval bm_start_time; /* abs. time */
|
|
336
330
|
};
|
|
337
331
|
|
|
332
|
+
struct sockopt; /* from <sys/socketvar.h> */
|
|
333
|
+
|
|
338
334
|
int ip_mrouter_set(struct socket *, struct sockopt *);
|
|
339
335
|
int ip_mrouter_get(struct socket *, struct sockopt *);
|
|
340
336
|
int mrt_ioctl(struct socket *, u_long, void *);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: ip_var.h,v 1.
|
|
1
|
+
/* $NetBSD: ip_var.h,v 1.135 2025/06/27 21:36:23 andvar Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 1982, 1986, 1993
|
|
@@ -130,7 +130,7 @@ struct ip_pktopts {
|
|
|
130
130
|
#define IP_STAT_FORWARD 9 /* packets forwarded */
|
|
131
131
|
#define IP_STAT_FASTFORWARD 10 /* packets fast forwarded */
|
|
132
132
|
#define IP_STAT_CANTFORWARD 11 /* packets rcvd for unreachable dest */
|
|
133
|
-
#define IP_STAT_REDIRECTSENT 12 /* packets
|
|
133
|
+
#define IP_STAT_REDIRECTSENT 12 /* packets forwarded on same net */
|
|
134
134
|
#define IP_STAT_NOPROTO 13 /* unknown or unsupported protocol */
|
|
135
135
|
#define IP_STAT_DELIVERED 14 /* datagrams delivered to upper level */
|
|
136
136
|
#define IP_STAT_LOCALOUT 15 /* total ip packets generated here */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* $KAME: sctp.h,v 1.18 2005/03/06 16:04:16 itojun Exp $ */
|
|
2
|
-
/* $NetBSD: sctp.h,v 1.
|
|
2
|
+
/* $NetBSD: sctp.h,v 1.7 2025/02/28 09:07:12 andvar Exp $ */
|
|
3
3
|
|
|
4
4
|
#ifndef _NETINET_SCTP_H_
|
|
5
5
|
#define _NETINET_SCTP_H_
|
|
@@ -146,8 +146,8 @@ struct sctp_paramhdr {
|
|
|
146
146
|
#define SCTP_PEER_PUBLIC_KEY 0x00000100 /* get the peers public key */
|
|
147
147
|
#define SCTP_MY_PUBLIC_KEY 0x00000101 /* get/set my endpoints public key */
|
|
148
148
|
#define SCTP_SET_AUTH_SECRET 0x00000102 /* get/set my shared secret */
|
|
149
|
-
#define SCTP_SET_AUTH_CHUNKS 0x00000103/* specify what chunks you want
|
|
150
|
-
|
|
149
|
+
#define SCTP_SET_AUTH_CHUNKS 0x00000103 /* specify what chunks you want
|
|
150
|
+
* the system may have additional requirements
|
|
151
151
|
* as well. I.e. probably ASCONF/ASCONF-ACK no matter
|
|
152
152
|
* if you want it or not.
|
|
153
153
|
*/
|
|
@@ -285,7 +285,7 @@ struct sctp_error_unrecognized_chunk {
|
|
|
285
285
|
|
|
286
286
|
#define SCTP_SAT_NETWORK_MIN 400 /* min ms for RTT to set satellite time */
|
|
287
287
|
#define SCTP_SAT_NETWORK_BURST_INCR 2 /* how many times to multiply maxburst in sat */
|
|
288
|
-
/* Data
|
|
288
|
+
/* Data Chunk Specific Flags */
|
|
289
289
|
#define SCTP_DATA_FRAG_MASK 0x03
|
|
290
290
|
#define SCTP_DATA_MIDDLE_FRAG 0x00
|
|
291
291
|
#define SCTP_DATA_LAST_FRAG 0x01
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: tcp_var.h,v 1.
|
|
1
|
+
/* $NetBSD: tcp_var.h,v 1.199 2024/12/03 20:02:30 andvar Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
|
@@ -619,7 +619,7 @@ struct tcp_opt_info {
|
|
|
619
619
|
shortage */
|
|
620
620
|
#define TCP_STAT_PMTUBLACKHOLE 17 /* PMTUD blackhole detected */
|
|
621
621
|
#define TCP_STAT_SNDTOTAL 18 /* total packets sent */
|
|
622
|
-
#define TCP_STAT_SNDPACK 19 /* data
|
|
622
|
+
#define TCP_STAT_SNDPACK 19 /* data packets sent */
|
|
623
623
|
#define TCP_STAT_SNDBYTE 20 /* data bytes sent */
|
|
624
624
|
#define TCP_STAT_SNDREXMITPACK 21 /* data packets retransmitted */
|
|
625
625
|
#define TCP_STAT_SNDREXMITBYTE 22 /* data bytes retransmitted */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: tcp_vtw.h,v 1.
|
|
1
|
+
/* $NetBSD: tcp_vtw.h,v 1.11 2024/10/07 23:17:00 jakllsch Exp $ */
|
|
2
2
|
/*
|
|
3
3
|
* Copyright (c) 2011 The NetBSD Foundation, Inc.
|
|
4
4
|
* All rights reserved.
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
*/
|
|
152
152
|
struct fatp_mi;
|
|
153
153
|
|
|
154
|
-
#if CACHE_LINE_SIZE
|
|
154
|
+
#if CACHE_LINE_SIZE >= 128
|
|
155
155
|
typedef uint64_t fatp_word_t;
|
|
156
156
|
#else
|
|
157
157
|
typedef uint32_t fatp_word_t;
|