All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.bechberger.ebpf.bpf.raw.Lib Maven / Gradle / Ivy

The newest version!
// Generated by jextract

package me.bechberger.ebpf.bpf.raw;

import java.lang.invoke.*;
import java.lang.foreign.*;
import java.nio.ByteOrder;
import java.util.*;
import java.util.function.*;
import java.util.stream.*;

import static java.lang.foreign.ValueLayout.*;
import static java.lang.foreign.MemoryLayout.PathElement.*;

public class Lib extends Lib_1 {

    Lib() {
        // Should not be called directly
    }

    private static class getpgid {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("getpgid");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern __pid_t getpgid(__pid_t __pid)
     * }
     */
    public static FunctionDescriptor getpgid$descriptor() {
        return getpgid.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern __pid_t getpgid(__pid_t __pid)
     * }
     */
    public static MethodHandle getpgid$handle() {
        return getpgid.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern __pid_t getpgid(__pid_t __pid)
     * }
     */
    public static MemorySegment getpgid$address() {
        return getpgid.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern __pid_t getpgid(__pid_t __pid)
     * }
     */
    public static int getpgid(int __pid) {
        var mh$ = getpgid.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("getpgid", __pid);
            }
            return (int)mh$.invokeExact(__pid);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class setpgid {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("setpgid");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int setpgid(__pid_t __pid, __pid_t __pgid)
     * }
     */
    public static FunctionDescriptor setpgid$descriptor() {
        return setpgid.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int setpgid(__pid_t __pid, __pid_t __pgid)
     * }
     */
    public static MethodHandle setpgid$handle() {
        return setpgid.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int setpgid(__pid_t __pid, __pid_t __pgid)
     * }
     */
    public static MemorySegment setpgid$address() {
        return setpgid.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int setpgid(__pid_t __pid, __pid_t __pgid)
     * }
     */
    public static int setpgid(int __pid, int __pgid) {
        var mh$ = setpgid.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("setpgid", __pid, __pgid);
            }
            return (int)mh$.invokeExact(__pid, __pgid);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class setpgrp {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT    );

        public static final MemorySegment ADDR = Lib.findOrThrow("setpgrp");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int setpgrp()
     * }
     */
    public static FunctionDescriptor setpgrp$descriptor() {
        return setpgrp.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int setpgrp()
     * }
     */
    public static MethodHandle setpgrp$handle() {
        return setpgrp.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int setpgrp()
     * }
     */
    public static MemorySegment setpgrp$address() {
        return setpgrp.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int setpgrp()
     * }
     */
    public static int setpgrp() {
        var mh$ = setpgrp.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("setpgrp");
            }
            return (int)mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class setsid {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT    );

        public static final MemorySegment ADDR = Lib.findOrThrow("setsid");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern __pid_t setsid()
     * }
     */
    public static FunctionDescriptor setsid$descriptor() {
        return setsid.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern __pid_t setsid()
     * }
     */
    public static MethodHandle setsid$handle() {
        return setsid.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern __pid_t setsid()
     * }
     */
    public static MemorySegment setsid$address() {
        return setsid.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern __pid_t setsid()
     * }
     */
    public static int setsid() {
        var mh$ = setsid.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("setsid");
            }
            return (int)mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class getsid {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("getsid");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern __pid_t getsid(__pid_t __pid)
     * }
     */
    public static FunctionDescriptor getsid$descriptor() {
        return getsid.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern __pid_t getsid(__pid_t __pid)
     * }
     */
    public static MethodHandle getsid$handle() {
        return getsid.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern __pid_t getsid(__pid_t __pid)
     * }
     */
    public static MemorySegment getsid$address() {
        return getsid.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern __pid_t getsid(__pid_t __pid)
     * }
     */
    public static int getsid(int __pid) {
        var mh$ = getsid.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("getsid", __pid);
            }
            return (int)mh$.invokeExact(__pid);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class getuid {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT    );

        public static final MemorySegment ADDR = Lib.findOrThrow("getuid");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern __uid_t getuid()
     * }
     */
    public static FunctionDescriptor getuid$descriptor() {
        return getuid.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern __uid_t getuid()
     * }
     */
    public static MethodHandle getuid$handle() {
        return getuid.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern __uid_t getuid()
     * }
     */
    public static MemorySegment getuid$address() {
        return getuid.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern __uid_t getuid()
     * }
     */
    public static int getuid() {
        var mh$ = getuid.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("getuid");
            }
            return (int)mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class geteuid {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT    );

        public static final MemorySegment ADDR = Lib.findOrThrow("geteuid");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern __uid_t geteuid()
     * }
     */
    public static FunctionDescriptor geteuid$descriptor() {
        return geteuid.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern __uid_t geteuid()
     * }
     */
    public static MethodHandle geteuid$handle() {
        return geteuid.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern __uid_t geteuid()
     * }
     */
    public static MemorySegment geteuid$address() {
        return geteuid.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern __uid_t geteuid()
     * }
     */
    public static int geteuid() {
        var mh$ = geteuid.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("geteuid");
            }
            return (int)mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class getgid {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT    );

        public static final MemorySegment ADDR = Lib.findOrThrow("getgid");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern __gid_t getgid()
     * }
     */
    public static FunctionDescriptor getgid$descriptor() {
        return getgid.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern __gid_t getgid()
     * }
     */
    public static MethodHandle getgid$handle() {
        return getgid.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern __gid_t getgid()
     * }
     */
    public static MemorySegment getgid$address() {
        return getgid.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern __gid_t getgid()
     * }
     */
    public static int getgid() {
        var mh$ = getgid.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("getgid");
            }
            return (int)mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class getegid {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT    );

        public static final MemorySegment ADDR = Lib.findOrThrow("getegid");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern __gid_t getegid()
     * }
     */
    public static FunctionDescriptor getegid$descriptor() {
        return getegid.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern __gid_t getegid()
     * }
     */
    public static MethodHandle getegid$handle() {
        return getegid.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern __gid_t getegid()
     * }
     */
    public static MemorySegment getegid$address() {
        return getegid.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern __gid_t getegid()
     * }
     */
    public static int getegid() {
        var mh$ = getegid.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("getegid");
            }
            return (int)mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class getgroups {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("getgroups");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int getgroups(int __size, __gid_t __list[])
     * }
     */
    public static FunctionDescriptor getgroups$descriptor() {
        return getgroups.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int getgroups(int __size, __gid_t __list[])
     * }
     */
    public static MethodHandle getgroups$handle() {
        return getgroups.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int getgroups(int __size, __gid_t __list[])
     * }
     */
    public static MemorySegment getgroups$address() {
        return getgroups.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int getgroups(int __size, __gid_t __list[])
     * }
     */
    public static int getgroups(int __size, MemorySegment __list) {
        var mh$ = getgroups.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("getgroups", __size, __list);
            }
            return (int)mh$.invokeExact(__size, __list);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class setuid {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("setuid");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int setuid(__uid_t __uid)
     * }
     */
    public static FunctionDescriptor setuid$descriptor() {
        return setuid.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int setuid(__uid_t __uid)
     * }
     */
    public static MethodHandle setuid$handle() {
        return setuid.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int setuid(__uid_t __uid)
     * }
     */
    public static MemorySegment setuid$address() {
        return setuid.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int setuid(__uid_t __uid)
     * }
     */
    public static int setuid(int __uid) {
        var mh$ = setuid.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("setuid", __uid);
            }
            return (int)mh$.invokeExact(__uid);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class setreuid {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("setreuid");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int setreuid(__uid_t __ruid, __uid_t __euid)
     * }
     */
    public static FunctionDescriptor setreuid$descriptor() {
        return setreuid.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int setreuid(__uid_t __ruid, __uid_t __euid)
     * }
     */
    public static MethodHandle setreuid$handle() {
        return setreuid.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int setreuid(__uid_t __ruid, __uid_t __euid)
     * }
     */
    public static MemorySegment setreuid$address() {
        return setreuid.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int setreuid(__uid_t __ruid, __uid_t __euid)
     * }
     */
    public static int setreuid(int __ruid, int __euid) {
        var mh$ = setreuid.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("setreuid", __ruid, __euid);
            }
            return (int)mh$.invokeExact(__ruid, __euid);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class seteuid {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("seteuid");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int seteuid(__uid_t __uid)
     * }
     */
    public static FunctionDescriptor seteuid$descriptor() {
        return seteuid.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int seteuid(__uid_t __uid)
     * }
     */
    public static MethodHandle seteuid$handle() {
        return seteuid.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int seteuid(__uid_t __uid)
     * }
     */
    public static MemorySegment seteuid$address() {
        return seteuid.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int seteuid(__uid_t __uid)
     * }
     */
    public static int seteuid(int __uid) {
        var mh$ = seteuid.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("seteuid", __uid);
            }
            return (int)mh$.invokeExact(__uid);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class setgid {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("setgid");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int setgid(__gid_t __gid)
     * }
     */
    public static FunctionDescriptor setgid$descriptor() {
        return setgid.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int setgid(__gid_t __gid)
     * }
     */
    public static MethodHandle setgid$handle() {
        return setgid.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int setgid(__gid_t __gid)
     * }
     */
    public static MemorySegment setgid$address() {
        return setgid.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int setgid(__gid_t __gid)
     * }
     */
    public static int setgid(int __gid) {
        var mh$ = setgid.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("setgid", __gid);
            }
            return (int)mh$.invokeExact(__gid);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class setregid {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("setregid");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int setregid(__gid_t __rgid, __gid_t __egid)
     * }
     */
    public static FunctionDescriptor setregid$descriptor() {
        return setregid.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int setregid(__gid_t __rgid, __gid_t __egid)
     * }
     */
    public static MethodHandle setregid$handle() {
        return setregid.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int setregid(__gid_t __rgid, __gid_t __egid)
     * }
     */
    public static MemorySegment setregid$address() {
        return setregid.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int setregid(__gid_t __rgid, __gid_t __egid)
     * }
     */
    public static int setregid(int __rgid, int __egid) {
        var mh$ = setregid.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("setregid", __rgid, __egid);
            }
            return (int)mh$.invokeExact(__rgid, __egid);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class setegid {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("setegid");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int setegid(__gid_t __gid)
     * }
     */
    public static FunctionDescriptor setegid$descriptor() {
        return setegid.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int setegid(__gid_t __gid)
     * }
     */
    public static MethodHandle setegid$handle() {
        return setegid.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int setegid(__gid_t __gid)
     * }
     */
    public static MemorySegment setegid$address() {
        return setegid.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int setegid(__gid_t __gid)
     * }
     */
    public static int setegid(int __gid) {
        var mh$ = setegid.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("setegid", __gid);
            }
            return (int)mh$.invokeExact(__gid);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class fork {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT    );

        public static final MemorySegment ADDR = Lib.findOrThrow("fork");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern __pid_t fork()
     * }
     */
    public static FunctionDescriptor fork$descriptor() {
        return fork.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern __pid_t fork()
     * }
     */
    public static MethodHandle fork$handle() {
        return fork.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern __pid_t fork()
     * }
     */
    public static MemorySegment fork$address() {
        return fork.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern __pid_t fork()
     * }
     */
    public static int fork() {
        var mh$ = fork.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("fork");
            }
            return (int)mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class vfork {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT    );

        public static final MemorySegment ADDR = Lib.findOrThrow("vfork");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int vfork()
     * }
     */
    public static FunctionDescriptor vfork$descriptor() {
        return vfork.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int vfork()
     * }
     */
    public static MethodHandle vfork$handle() {
        return vfork.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int vfork()
     * }
     */
    public static MemorySegment vfork$address() {
        return vfork.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int vfork()
     * }
     */
    public static int vfork() {
        var mh$ = vfork.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("vfork");
            }
            return (int)mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class ttyname {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_POINTER,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("ttyname");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern char *ttyname(int __fd)
     * }
     */
    public static FunctionDescriptor ttyname$descriptor() {
        return ttyname.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern char *ttyname(int __fd)
     * }
     */
    public static MethodHandle ttyname$handle() {
        return ttyname.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern char *ttyname(int __fd)
     * }
     */
    public static MemorySegment ttyname$address() {
        return ttyname.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern char *ttyname(int __fd)
     * }
     */
    public static MemorySegment ttyname(int __fd) {
        var mh$ = ttyname.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("ttyname", __fd);
            }
            return (MemorySegment)mh$.invokeExact(__fd);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class ttyname_r {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_LONG
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("ttyname_r");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int ttyname_r(int __fd, char *__buf, size_t __buflen)
     * }
     */
    public static FunctionDescriptor ttyname_r$descriptor() {
        return ttyname_r.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int ttyname_r(int __fd, char *__buf, size_t __buflen)
     * }
     */
    public static MethodHandle ttyname_r$handle() {
        return ttyname_r.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int ttyname_r(int __fd, char *__buf, size_t __buflen)
     * }
     */
    public static MemorySegment ttyname_r$address() {
        return ttyname_r.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int ttyname_r(int __fd, char *__buf, size_t __buflen)
     * }
     */
    public static int ttyname_r(int __fd, MemorySegment __buf, long __buflen) {
        var mh$ = ttyname_r.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("ttyname_r", __fd, __buf, __buflen);
            }
            return (int)mh$.invokeExact(__fd, __buf, __buflen);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class isatty {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("isatty");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int isatty(int __fd)
     * }
     */
    public static FunctionDescriptor isatty$descriptor() {
        return isatty.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int isatty(int __fd)
     * }
     */
    public static MethodHandle isatty$handle() {
        return isatty.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int isatty(int __fd)
     * }
     */
    public static MemorySegment isatty$address() {
        return isatty.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int isatty(int __fd)
     * }
     */
    public static int isatty(int __fd) {
        var mh$ = isatty.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("isatty", __fd);
            }
            return (int)mh$.invokeExact(__fd);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class ttyslot {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT    );

        public static final MemorySegment ADDR = Lib.findOrThrow("ttyslot");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int ttyslot()
     * }
     */
    public static FunctionDescriptor ttyslot$descriptor() {
        return ttyslot.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int ttyslot()
     * }
     */
    public static MethodHandle ttyslot$handle() {
        return ttyslot.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int ttyslot()
     * }
     */
    public static MemorySegment ttyslot$address() {
        return ttyslot.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int ttyslot()
     * }
     */
    public static int ttyslot() {
        var mh$ = ttyslot.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("ttyslot");
            }
            return (int)mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class link {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("link");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int link(const char *__from, const char *__to)
     * }
     */
    public static FunctionDescriptor link$descriptor() {
        return link.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int link(const char *__from, const char *__to)
     * }
     */
    public static MethodHandle link$handle() {
        return link.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int link(const char *__from, const char *__to)
     * }
     */
    public static MemorySegment link$address() {
        return link.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int link(const char *__from, const char *__to)
     * }
     */
    public static int link(MemorySegment __from, MemorySegment __to) {
        var mh$ = link.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("link", __from, __to);
            }
            return (int)mh$.invokeExact(__from, __to);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class linkat {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("linkat");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int linkat(int __fromfd, const char *__from, int __tofd, const char *__to, int __flags)
     * }
     */
    public static FunctionDescriptor linkat$descriptor() {
        return linkat.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int linkat(int __fromfd, const char *__from, int __tofd, const char *__to, int __flags)
     * }
     */
    public static MethodHandle linkat$handle() {
        return linkat.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int linkat(int __fromfd, const char *__from, int __tofd, const char *__to, int __flags)
     * }
     */
    public static MemorySegment linkat$address() {
        return linkat.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int linkat(int __fromfd, const char *__from, int __tofd, const char *__to, int __flags)
     * }
     */
    public static int linkat(int __fromfd, MemorySegment __from, int __tofd, MemorySegment __to, int __flags) {
        var mh$ = linkat.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("linkat", __fromfd, __from, __tofd, __to, __flags);
            }
            return (int)mh$.invokeExact(__fromfd, __from, __tofd, __to, __flags);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class symlink {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("symlink");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int symlink(const char *__from, const char *__to)
     * }
     */
    public static FunctionDescriptor symlink$descriptor() {
        return symlink.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int symlink(const char *__from, const char *__to)
     * }
     */
    public static MethodHandle symlink$handle() {
        return symlink.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int symlink(const char *__from, const char *__to)
     * }
     */
    public static MemorySegment symlink$address() {
        return symlink.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int symlink(const char *__from, const char *__to)
     * }
     */
    public static int symlink(MemorySegment __from, MemorySegment __to) {
        var mh$ = symlink.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("symlink", __from, __to);
            }
            return (int)mh$.invokeExact(__from, __to);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class readlink {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_LONG,
            Lib.C_POINTER,
            Lib.C_POINTER,
            Lib.C_LONG
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("readlink");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern ssize_t readlink(const char *restrict __path, char *restrict __buf, size_t __len)
     * }
     */
    public static FunctionDescriptor readlink$descriptor() {
        return readlink.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern ssize_t readlink(const char *restrict __path, char *restrict __buf, size_t __len)
     * }
     */
    public static MethodHandle readlink$handle() {
        return readlink.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern ssize_t readlink(const char *restrict __path, char *restrict __buf, size_t __len)
     * }
     */
    public static MemorySegment readlink$address() {
        return readlink.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern ssize_t readlink(const char *restrict __path, char *restrict __buf, size_t __len)
     * }
     */
    public static long readlink(MemorySegment __path, MemorySegment __buf, long __len) {
        var mh$ = readlink.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("readlink", __path, __buf, __len);
            }
            return (long)mh$.invokeExact(__path, __buf, __len);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class symlinkat {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_INT,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("symlinkat");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int symlinkat(const char *__from, int __tofd, const char *__to)
     * }
     */
    public static FunctionDescriptor symlinkat$descriptor() {
        return symlinkat.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int symlinkat(const char *__from, int __tofd, const char *__to)
     * }
     */
    public static MethodHandle symlinkat$handle() {
        return symlinkat.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int symlinkat(const char *__from, int __tofd, const char *__to)
     * }
     */
    public static MemorySegment symlinkat$address() {
        return symlinkat.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int symlinkat(const char *__from, int __tofd, const char *__to)
     * }
     */
    public static int symlinkat(MemorySegment __from, int __tofd, MemorySegment __to) {
        var mh$ = symlinkat.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("symlinkat", __from, __tofd, __to);
            }
            return (int)mh$.invokeExact(__from, __tofd, __to);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class readlinkat {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_LONG,
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_POINTER,
            Lib.C_LONG
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("readlinkat");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern ssize_t readlinkat(int __fd, const char *restrict __path, char *restrict __buf, size_t __len)
     * }
     */
    public static FunctionDescriptor readlinkat$descriptor() {
        return readlinkat.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern ssize_t readlinkat(int __fd, const char *restrict __path, char *restrict __buf, size_t __len)
     * }
     */
    public static MethodHandle readlinkat$handle() {
        return readlinkat.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern ssize_t readlinkat(int __fd, const char *restrict __path, char *restrict __buf, size_t __len)
     * }
     */
    public static MemorySegment readlinkat$address() {
        return readlinkat.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern ssize_t readlinkat(int __fd, const char *restrict __path, char *restrict __buf, size_t __len)
     * }
     */
    public static long readlinkat(int __fd, MemorySegment __path, MemorySegment __buf, long __len) {
        var mh$ = readlinkat.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("readlinkat", __fd, __path, __buf, __len);
            }
            return (long)mh$.invokeExact(__fd, __path, __buf, __len);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class unlink {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("unlink");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int unlink(const char *__name)
     * }
     */
    public static FunctionDescriptor unlink$descriptor() {
        return unlink.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int unlink(const char *__name)
     * }
     */
    public static MethodHandle unlink$handle() {
        return unlink.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int unlink(const char *__name)
     * }
     */
    public static MemorySegment unlink$address() {
        return unlink.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int unlink(const char *__name)
     * }
     */
    public static int unlink(MemorySegment __name) {
        var mh$ = unlink.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("unlink", __name);
            }
            return (int)mh$.invokeExact(__name);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class unlinkat {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("unlinkat");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int unlinkat(int __fd, const char *__name, int __flag)
     * }
     */
    public static FunctionDescriptor unlinkat$descriptor() {
        return unlinkat.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int unlinkat(int __fd, const char *__name, int __flag)
     * }
     */
    public static MethodHandle unlinkat$handle() {
        return unlinkat.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int unlinkat(int __fd, const char *__name, int __flag)
     * }
     */
    public static MemorySegment unlinkat$address() {
        return unlinkat.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int unlinkat(int __fd, const char *__name, int __flag)
     * }
     */
    public static int unlinkat(int __fd, MemorySegment __name, int __flag) {
        var mh$ = unlinkat.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("unlinkat", __fd, __name, __flag);
            }
            return (int)mh$.invokeExact(__fd, __name, __flag);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class rmdir {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("rmdir");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int rmdir(const char *__path)
     * }
     */
    public static FunctionDescriptor rmdir$descriptor() {
        return rmdir.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int rmdir(const char *__path)
     * }
     */
    public static MethodHandle rmdir$handle() {
        return rmdir.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int rmdir(const char *__path)
     * }
     */
    public static MemorySegment rmdir$address() {
        return rmdir.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int rmdir(const char *__path)
     * }
     */
    public static int rmdir(MemorySegment __path) {
        var mh$ = rmdir.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("rmdir", __path);
            }
            return (int)mh$.invokeExact(__path);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class tcgetpgrp {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("tcgetpgrp");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern __pid_t tcgetpgrp(int __fd)
     * }
     */
    public static FunctionDescriptor tcgetpgrp$descriptor() {
        return tcgetpgrp.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern __pid_t tcgetpgrp(int __fd)
     * }
     */
    public static MethodHandle tcgetpgrp$handle() {
        return tcgetpgrp.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern __pid_t tcgetpgrp(int __fd)
     * }
     */
    public static MemorySegment tcgetpgrp$address() {
        return tcgetpgrp.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern __pid_t tcgetpgrp(int __fd)
     * }
     */
    public static int tcgetpgrp(int __fd) {
        var mh$ = tcgetpgrp.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("tcgetpgrp", __fd);
            }
            return (int)mh$.invokeExact(__fd);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class tcsetpgrp {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("tcsetpgrp");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int tcsetpgrp(int __fd, __pid_t __pgrp_id)
     * }
     */
    public static FunctionDescriptor tcsetpgrp$descriptor() {
        return tcsetpgrp.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int tcsetpgrp(int __fd, __pid_t __pgrp_id)
     * }
     */
    public static MethodHandle tcsetpgrp$handle() {
        return tcsetpgrp.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int tcsetpgrp(int __fd, __pid_t __pgrp_id)
     * }
     */
    public static MemorySegment tcsetpgrp$address() {
        return tcsetpgrp.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int tcsetpgrp(int __fd, __pid_t __pgrp_id)
     * }
     */
    public static int tcsetpgrp(int __fd, int __pgrp_id) {
        var mh$ = tcsetpgrp.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("tcsetpgrp", __fd, __pgrp_id);
            }
            return (int)mh$.invokeExact(__fd, __pgrp_id);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class getlogin {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_POINTER    );

        public static final MemorySegment ADDR = Lib.findOrThrow("getlogin");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern char *getlogin()
     * }
     */
    public static FunctionDescriptor getlogin$descriptor() {
        return getlogin.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern char *getlogin()
     * }
     */
    public static MethodHandle getlogin$handle() {
        return getlogin.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern char *getlogin()
     * }
     */
    public static MemorySegment getlogin$address() {
        return getlogin.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern char *getlogin()
     * }
     */
    public static MemorySegment getlogin() {
        var mh$ = getlogin.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("getlogin");
            }
            return (MemorySegment)mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class getlogin_r {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_LONG
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("getlogin_r");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int getlogin_r(char *__name, size_t __name_len)
     * }
     */
    public static FunctionDescriptor getlogin_r$descriptor() {
        return getlogin_r.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int getlogin_r(char *__name, size_t __name_len)
     * }
     */
    public static MethodHandle getlogin_r$handle() {
        return getlogin_r.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int getlogin_r(char *__name, size_t __name_len)
     * }
     */
    public static MemorySegment getlogin_r$address() {
        return getlogin_r.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int getlogin_r(char *__name, size_t __name_len)
     * }
     */
    public static int getlogin_r(MemorySegment __name, long __name_len) {
        var mh$ = getlogin_r.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("getlogin_r", __name, __name_len);
            }
            return (int)mh$.invokeExact(__name, __name_len);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class setlogin {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("setlogin");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int setlogin(const char *__name)
     * }
     */
    public static FunctionDescriptor setlogin$descriptor() {
        return setlogin.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int setlogin(const char *__name)
     * }
     */
    public static MethodHandle setlogin$handle() {
        return setlogin.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int setlogin(const char *__name)
     * }
     */
    public static MemorySegment setlogin$address() {
        return setlogin.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int setlogin(const char *__name)
     * }
     */
    public static int setlogin(MemorySegment __name) {
        var mh$ = setlogin.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("setlogin", __name);
            }
            return (int)mh$.invokeExact(__name);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class optarg$constants {
        public static final AddressLayout LAYOUT = Lib.C_POINTER;
        public static final MemorySegment SEGMENT = Lib.findOrThrow("optarg").reinterpret(LAYOUT.byteSize());
    }

    /**
     * Layout for variable:
     * {@snippet lang=c :
     * extern char *optarg
     * }
     */
    public static AddressLayout optarg$layout() {
        return optarg$constants.LAYOUT;
    }

    /**
     * Segment for variable:
     * {@snippet lang=c :
     * extern char *optarg
     * }
     */
    public static MemorySegment optarg$segment() {
        return optarg$constants.SEGMENT;
    }

    /**
     * Getter for variable:
     * {@snippet lang=c :
     * extern char *optarg
     * }
     */
    public static MemorySegment optarg() {
        return optarg$constants.SEGMENT.get(optarg$constants.LAYOUT, 0L);
    }

    /**
     * Setter for variable:
     * {@snippet lang=c :
     * extern char *optarg
     * }
     */
    public static void optarg(MemorySegment varValue) {
        optarg$constants.SEGMENT.set(optarg$constants.LAYOUT, 0L, varValue);
    }

    private static class optind$constants {
        public static final OfInt LAYOUT = Lib.C_INT;
        public static final MemorySegment SEGMENT = Lib.findOrThrow("optind").reinterpret(LAYOUT.byteSize());
    }

    /**
     * Layout for variable:
     * {@snippet lang=c :
     * extern int optind
     * }
     */
    public static OfInt optind$layout() {
        return optind$constants.LAYOUT;
    }

    /**
     * Segment for variable:
     * {@snippet lang=c :
     * extern int optind
     * }
     */
    public static MemorySegment optind$segment() {
        return optind$constants.SEGMENT;
    }

    /**
     * Getter for variable:
     * {@snippet lang=c :
     * extern int optind
     * }
     */
    public static int optind() {
        return optind$constants.SEGMENT.get(optind$constants.LAYOUT, 0L);
    }

    /**
     * Setter for variable:
     * {@snippet lang=c :
     * extern int optind
     * }
     */
    public static void optind(int varValue) {
        optind$constants.SEGMENT.set(optind$constants.LAYOUT, 0L, varValue);
    }

    private static class opterr$constants {
        public static final OfInt LAYOUT = Lib.C_INT;
        public static final MemorySegment SEGMENT = Lib.findOrThrow("opterr").reinterpret(LAYOUT.byteSize());
    }

    /**
     * Layout for variable:
     * {@snippet lang=c :
     * extern int opterr
     * }
     */
    public static OfInt opterr$layout() {
        return opterr$constants.LAYOUT;
    }

    /**
     * Segment for variable:
     * {@snippet lang=c :
     * extern int opterr
     * }
     */
    public static MemorySegment opterr$segment() {
        return opterr$constants.SEGMENT;
    }

    /**
     * Getter for variable:
     * {@snippet lang=c :
     * extern int opterr
     * }
     */
    public static int opterr() {
        return opterr$constants.SEGMENT.get(opterr$constants.LAYOUT, 0L);
    }

    /**
     * Setter for variable:
     * {@snippet lang=c :
     * extern int opterr
     * }
     */
    public static void opterr(int varValue) {
        opterr$constants.SEGMENT.set(opterr$constants.LAYOUT, 0L, varValue);
    }

    private static class optopt$constants {
        public static final OfInt LAYOUT = Lib.C_INT;
        public static final MemorySegment SEGMENT = Lib.findOrThrow("optopt").reinterpret(LAYOUT.byteSize());
    }

    /**
     * Layout for variable:
     * {@snippet lang=c :
     * extern int optopt
     * }
     */
    public static OfInt optopt$layout() {
        return optopt$constants.LAYOUT;
    }

    /**
     * Segment for variable:
     * {@snippet lang=c :
     * extern int optopt
     * }
     */
    public static MemorySegment optopt$segment() {
        return optopt$constants.SEGMENT;
    }

    /**
     * Getter for variable:
     * {@snippet lang=c :
     * extern int optopt
     * }
     */
    public static int optopt() {
        return optopt$constants.SEGMENT.get(optopt$constants.LAYOUT, 0L);
    }

    /**
     * Setter for variable:
     * {@snippet lang=c :
     * extern int optopt
     * }
     */
    public static void optopt(int varValue) {
        optopt$constants.SEGMENT.set(optopt$constants.LAYOUT, 0L, varValue);
    }

    private static class getopt {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("getopt");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int getopt(int ___argc, char *const *___argv, const char *__shortopts)
     * }
     */
    public static FunctionDescriptor getopt$descriptor() {
        return getopt.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int getopt(int ___argc, char *const *___argv, const char *__shortopts)
     * }
     */
    public static MethodHandle getopt$handle() {
        return getopt.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int getopt(int ___argc, char *const *___argv, const char *__shortopts)
     * }
     */
    public static MemorySegment getopt$address() {
        return getopt.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int getopt(int ___argc, char *const *___argv, const char *__shortopts)
     * }
     */
    public static int getopt(int ___argc, MemorySegment ___argv, MemorySegment __shortopts) {
        var mh$ = getopt.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("getopt", ___argc, ___argv, __shortopts);
            }
            return (int)mh$.invokeExact(___argc, ___argv, __shortopts);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class gethostname {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_LONG
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("gethostname");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int gethostname(char *__name, size_t __len)
     * }
     */
    public static FunctionDescriptor gethostname$descriptor() {
        return gethostname.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int gethostname(char *__name, size_t __len)
     * }
     */
    public static MethodHandle gethostname$handle() {
        return gethostname.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int gethostname(char *__name, size_t __len)
     * }
     */
    public static MemorySegment gethostname$address() {
        return gethostname.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int gethostname(char *__name, size_t __len)
     * }
     */
    public static int gethostname(MemorySegment __name, long __len) {
        var mh$ = gethostname.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("gethostname", __name, __len);
            }
            return (int)mh$.invokeExact(__name, __len);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class sethostname {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_LONG
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("sethostname");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int sethostname(const char *__name, size_t __len)
     * }
     */
    public static FunctionDescriptor sethostname$descriptor() {
        return sethostname.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int sethostname(const char *__name, size_t __len)
     * }
     */
    public static MethodHandle sethostname$handle() {
        return sethostname.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int sethostname(const char *__name, size_t __len)
     * }
     */
    public static MemorySegment sethostname$address() {
        return sethostname.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int sethostname(const char *__name, size_t __len)
     * }
     */
    public static int sethostname(MemorySegment __name, long __len) {
        var mh$ = sethostname.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("sethostname", __name, __len);
            }
            return (int)mh$.invokeExact(__name, __len);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class sethostid {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_LONG
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("sethostid");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int sethostid(long __id)
     * }
     */
    public static FunctionDescriptor sethostid$descriptor() {
        return sethostid.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int sethostid(long __id)
     * }
     */
    public static MethodHandle sethostid$handle() {
        return sethostid.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int sethostid(long __id)
     * }
     */
    public static MemorySegment sethostid$address() {
        return sethostid.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int sethostid(long __id)
     * }
     */
    public static int sethostid(long __id) {
        var mh$ = sethostid.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("sethostid", __id);
            }
            return (int)mh$.invokeExact(__id);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class getdomainname {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_LONG
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("getdomainname");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int getdomainname(char *__name, size_t __len)
     * }
     */
    public static FunctionDescriptor getdomainname$descriptor() {
        return getdomainname.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int getdomainname(char *__name, size_t __len)
     * }
     */
    public static MethodHandle getdomainname$handle() {
        return getdomainname.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int getdomainname(char *__name, size_t __len)
     * }
     */
    public static MemorySegment getdomainname$address() {
        return getdomainname.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int getdomainname(char *__name, size_t __len)
     * }
     */
    public static int getdomainname(MemorySegment __name, long __len) {
        var mh$ = getdomainname.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("getdomainname", __name, __len);
            }
            return (int)mh$.invokeExact(__name, __len);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class setdomainname {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_LONG
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("setdomainname");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int setdomainname(const char *__name, size_t __len)
     * }
     */
    public static FunctionDescriptor setdomainname$descriptor() {
        return setdomainname.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int setdomainname(const char *__name, size_t __len)
     * }
     */
    public static MethodHandle setdomainname$handle() {
        return setdomainname.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int setdomainname(const char *__name, size_t __len)
     * }
     */
    public static MemorySegment setdomainname$address() {
        return setdomainname.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int setdomainname(const char *__name, size_t __len)
     * }
     */
    public static int setdomainname(MemorySegment __name, long __len) {
        var mh$ = setdomainname.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("setdomainname", __name, __len);
            }
            return (int)mh$.invokeExact(__name, __len);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class vhangup {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT    );

        public static final MemorySegment ADDR = Lib.findOrThrow("vhangup");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int vhangup()
     * }
     */
    public static FunctionDescriptor vhangup$descriptor() {
        return vhangup.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int vhangup()
     * }
     */
    public static MethodHandle vhangup$handle() {
        return vhangup.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int vhangup()
     * }
     */
    public static MemorySegment vhangup$address() {
        return vhangup.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int vhangup()
     * }
     */
    public static int vhangup() {
        var mh$ = vhangup.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("vhangup");
            }
            return (int)mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class revoke {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("revoke");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int revoke(const char *__file)
     * }
     */
    public static FunctionDescriptor revoke$descriptor() {
        return revoke.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int revoke(const char *__file)
     * }
     */
    public static MethodHandle revoke$handle() {
        return revoke.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int revoke(const char *__file)
     * }
     */
    public static MemorySegment revoke$address() {
        return revoke.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int revoke(const char *__file)
     * }
     */
    public static int revoke(MemorySegment __file) {
        var mh$ = revoke.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("revoke", __file);
            }
            return (int)mh$.invokeExact(__file);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class profil {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_LONG,
            Lib.C_LONG,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("profil");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int profil(unsigned short *__sample_buffer, size_t __size, size_t __offset, unsigned int __scale)
     * }
     */
    public static FunctionDescriptor profil$descriptor() {
        return profil.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int profil(unsigned short *__sample_buffer, size_t __size, size_t __offset, unsigned int __scale)
     * }
     */
    public static MethodHandle profil$handle() {
        return profil.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int profil(unsigned short *__sample_buffer, size_t __size, size_t __offset, unsigned int __scale)
     * }
     */
    public static MemorySegment profil$address() {
        return profil.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int profil(unsigned short *__sample_buffer, size_t __size, size_t __offset, unsigned int __scale)
     * }
     */
    public static int profil(MemorySegment __sample_buffer, long __size, long __offset, int __scale) {
        var mh$ = profil.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("profil", __sample_buffer, __size, __offset, __scale);
            }
            return (int)mh$.invokeExact(__sample_buffer, __size, __offset, __scale);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class acct {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("acct");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int acct(const char *__name)
     * }
     */
    public static FunctionDescriptor acct$descriptor() {
        return acct.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int acct(const char *__name)
     * }
     */
    public static MethodHandle acct$handle() {
        return acct.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int acct(const char *__name)
     * }
     */
    public static MemorySegment acct$address() {
        return acct.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int acct(const char *__name)
     * }
     */
    public static int acct(MemorySegment __name) {
        var mh$ = acct.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("acct", __name);
            }
            return (int)mh$.invokeExact(__name);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class getusershell {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_POINTER    );

        public static final MemorySegment ADDR = Lib.findOrThrow("getusershell");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern char *getusershell()
     * }
     */
    public static FunctionDescriptor getusershell$descriptor() {
        return getusershell.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern char *getusershell()
     * }
     */
    public static MethodHandle getusershell$handle() {
        return getusershell.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern char *getusershell()
     * }
     */
    public static MemorySegment getusershell$address() {
        return getusershell.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern char *getusershell()
     * }
     */
    public static MemorySegment getusershell() {
        var mh$ = getusershell.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("getusershell");
            }
            return (MemorySegment)mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class endusershell {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(    );

        public static final MemorySegment ADDR = Lib.findOrThrow("endusershell");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern void endusershell()
     * }
     */
    public static FunctionDescriptor endusershell$descriptor() {
        return endusershell.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern void endusershell()
     * }
     */
    public static MethodHandle endusershell$handle() {
        return endusershell.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern void endusershell()
     * }
     */
    public static MemorySegment endusershell$address() {
        return endusershell.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern void endusershell()
     * }
     */
    public static void endusershell() {
        var mh$ = endusershell.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("endusershell");
            }
            mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class setusershell {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(    );

        public static final MemorySegment ADDR = Lib.findOrThrow("setusershell");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern void setusershell()
     * }
     */
    public static FunctionDescriptor setusershell$descriptor() {
        return setusershell.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern void setusershell()
     * }
     */
    public static MethodHandle setusershell$handle() {
        return setusershell.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern void setusershell()
     * }
     */
    public static MemorySegment setusershell$address() {
        return setusershell.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern void setusershell()
     * }
     */
    public static void setusershell() {
        var mh$ = setusershell.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("setusershell");
            }
            mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class daemon {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("daemon");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int daemon(int __nochdir, int __noclose)
     * }
     */
    public static FunctionDescriptor daemon$descriptor() {
        return daemon.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int daemon(int __nochdir, int __noclose)
     * }
     */
    public static MethodHandle daemon$handle() {
        return daemon.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int daemon(int __nochdir, int __noclose)
     * }
     */
    public static MemorySegment daemon$address() {
        return daemon.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int daemon(int __nochdir, int __noclose)
     * }
     */
    public static int daemon(int __nochdir, int __noclose) {
        var mh$ = daemon.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("daemon", __nochdir, __noclose);
            }
            return (int)mh$.invokeExact(__nochdir, __noclose);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class chroot {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("chroot");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int chroot(const char *__path)
     * }
     */
    public static FunctionDescriptor chroot$descriptor() {
        return chroot.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int chroot(const char *__path)
     * }
     */
    public static MethodHandle chroot$handle() {
        return chroot.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int chroot(const char *__path)
     * }
     */
    public static MemorySegment chroot$address() {
        return chroot.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int chroot(const char *__path)
     * }
     */
    public static int chroot(MemorySegment __path) {
        var mh$ = chroot.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("chroot", __path);
            }
            return (int)mh$.invokeExact(__path);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class getpass {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_POINTER,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("getpass");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern char *getpass(const char *__prompt)
     * }
     */
    public static FunctionDescriptor getpass$descriptor() {
        return getpass.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern char *getpass(const char *__prompt)
     * }
     */
    public static MethodHandle getpass$handle() {
        return getpass.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern char *getpass(const char *__prompt)
     * }
     */
    public static MemorySegment getpass$address() {
        return getpass.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern char *getpass(const char *__prompt)
     * }
     */
    public static MemorySegment getpass(MemorySegment __prompt) {
        var mh$ = getpass.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("getpass", __prompt);
            }
            return (MemorySegment)mh$.invokeExact(__prompt);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class fsync {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("fsync");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int fsync(int __fd)
     * }
     */
    public static FunctionDescriptor fsync$descriptor() {
        return fsync.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int fsync(int __fd)
     * }
     */
    public static MethodHandle fsync$handle() {
        return fsync.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int fsync(int __fd)
     * }
     */
    public static MemorySegment fsync$address() {
        return fsync.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int fsync(int __fd)
     * }
     */
    public static int fsync(int __fd) {
        var mh$ = fsync.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("fsync", __fd);
            }
            return (int)mh$.invokeExact(__fd);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class gethostid {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_LONG    );

        public static final MemorySegment ADDR = Lib.findOrThrow("gethostid");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern long gethostid()
     * }
     */
    public static FunctionDescriptor gethostid$descriptor() {
        return gethostid.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern long gethostid()
     * }
     */
    public static MethodHandle gethostid$handle() {
        return gethostid.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern long gethostid()
     * }
     */
    public static MemorySegment gethostid$address() {
        return gethostid.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern long gethostid()
     * }
     */
    public static long gethostid() {
        var mh$ = gethostid.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("gethostid");
            }
            return (long)mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class sync {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(    );

        public static final MemorySegment ADDR = Lib.findOrThrow("sync");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern void sync()
     * }
     */
    public static FunctionDescriptor sync$descriptor() {
        return sync.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern void sync()
     * }
     */
    public static MethodHandle sync$handle() {
        return sync.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern void sync()
     * }
     */
    public static MemorySegment sync$address() {
        return sync.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern void sync()
     * }
     */
    public static void sync() {
        var mh$ = sync.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("sync");
            }
            mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class getpagesize {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT    );

        public static final MemorySegment ADDR = Lib.findOrThrow("getpagesize");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int getpagesize()
     * }
     */
    public static FunctionDescriptor getpagesize$descriptor() {
        return getpagesize.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int getpagesize()
     * }
     */
    public static MethodHandle getpagesize$handle() {
        return getpagesize.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int getpagesize()
     * }
     */
    public static MemorySegment getpagesize$address() {
        return getpagesize.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int getpagesize()
     * }
     */
    public static int getpagesize() {
        var mh$ = getpagesize.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("getpagesize");
            }
            return (int)mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class getdtablesize {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT    );

        public static final MemorySegment ADDR = Lib.findOrThrow("getdtablesize");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int getdtablesize()
     * }
     */
    public static FunctionDescriptor getdtablesize$descriptor() {
        return getdtablesize.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int getdtablesize()
     * }
     */
    public static MethodHandle getdtablesize$handle() {
        return getdtablesize.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int getdtablesize()
     * }
     */
    public static MemorySegment getdtablesize$address() {
        return getdtablesize.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int getdtablesize()
     * }
     */
    public static int getdtablesize() {
        var mh$ = getdtablesize.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("getdtablesize");
            }
            return (int)mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class truncate {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_LONG
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("truncate");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int truncate(const char *__file, __off_t __length)
     * }
     */
    public static FunctionDescriptor truncate$descriptor() {
        return truncate.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int truncate(const char *__file, __off_t __length)
     * }
     */
    public static MethodHandle truncate$handle() {
        return truncate.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int truncate(const char *__file, __off_t __length)
     * }
     */
    public static MemorySegment truncate$address() {
        return truncate.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int truncate(const char *__file, __off_t __length)
     * }
     */
    public static int truncate(MemorySegment __file, long __length) {
        var mh$ = truncate.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("truncate", __file, __length);
            }
            return (int)mh$.invokeExact(__file, __length);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class ftruncate {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_LONG
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("ftruncate");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int ftruncate(int __fd, __off_t __length)
     * }
     */
    public static FunctionDescriptor ftruncate$descriptor() {
        return ftruncate.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int ftruncate(int __fd, __off_t __length)
     * }
     */
    public static MethodHandle ftruncate$handle() {
        return ftruncate.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int ftruncate(int __fd, __off_t __length)
     * }
     */
    public static MemorySegment ftruncate$address() {
        return ftruncate.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int ftruncate(int __fd, __off_t __length)
     * }
     */
    public static int ftruncate(int __fd, long __length) {
        var mh$ = ftruncate.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("ftruncate", __fd, __length);
            }
            return (int)mh$.invokeExact(__fd, __length);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class brk {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("brk");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int brk(void *__addr)
     * }
     */
    public static FunctionDescriptor brk$descriptor() {
        return brk.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int brk(void *__addr)
     * }
     */
    public static MethodHandle brk$handle() {
        return brk.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int brk(void *__addr)
     * }
     */
    public static MemorySegment brk$address() {
        return brk.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int brk(void *__addr)
     * }
     */
    public static int brk(MemorySegment __addr) {
        var mh$ = brk.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("brk", __addr);
            }
            return (int)mh$.invokeExact(__addr);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class sbrk {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_POINTER,
            Lib.C_LONG
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("sbrk");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern void *sbrk(intptr_t __delta)
     * }
     */
    public static FunctionDescriptor sbrk$descriptor() {
        return sbrk.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern void *sbrk(intptr_t __delta)
     * }
     */
    public static MethodHandle sbrk$handle() {
        return sbrk.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern void *sbrk(intptr_t __delta)
     * }
     */
    public static MemorySegment sbrk$address() {
        return sbrk.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern void *sbrk(intptr_t __delta)
     * }
     */
    public static MemorySegment sbrk(long __delta) {
        var mh$ = sbrk.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("sbrk", __delta);
            }
            return (MemorySegment)mh$.invokeExact(__delta);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    /**
     * Variadic invoker class for:
     * {@snippet lang=c :
     * extern long syscall(long __sysno, ...)
     * }
     */
    public static class syscall {
        private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of(
                Lib.C_LONG,
                Lib.C_LONG
            );
        private static final MemorySegment ADDR = Lib.findOrThrow("syscall");

        private final MethodHandle handle;
        private final FunctionDescriptor descriptor;
        private final MethodHandle spreader;

        private syscall(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) {
            this.handle = handle;
            this.descriptor = descriptor;
            this.spreader = spreader;
        }

        /**
         * Variadic invoker factory for:
         * {@snippet lang=c :
         * extern long syscall(long __sysno, ...)
         * }
         */
        public static syscall makeInvoker(MemoryLayout... layouts) {
            FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
            Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
            var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
            var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
            return new syscall(mh$, desc$, spreader$);
        }

        /**
         * {@return the address}
         */
        public static MemorySegment address() {
            return ADDR;
        }

        /**
         * {@return the specialized method handle}
         */
        public MethodHandle handle() {
            return handle;
        }

        /**
         * {@return the specialized descriptor}
         */
        public FunctionDescriptor descriptor() {
            return descriptor;
        }

        public long apply(long __sysno, Object... x1) {
            try {
                if (TRACE_DOWNCALLS) {
                    traceDowncall("syscall", __sysno, x1);
                }
                return (long)spreader.invokeExact(__sysno, x1);
            } catch(IllegalArgumentException | ClassCastException ex$)  {
                throw ex$; // rethrow IAE from passing wrong number/type of args
            } catch (Throwable ex$) {
               throw new AssertionError("should not reach here", ex$);
            }
        }
    }

    private static class lockf {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_LONG
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("lockf");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int lockf(int __fd, int __cmd, __off_t __len)
     * }
     */
    public static FunctionDescriptor lockf$descriptor() {
        return lockf.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int lockf(int __fd, int __cmd, __off_t __len)
     * }
     */
    public static MethodHandle lockf$handle() {
        return lockf.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int lockf(int __fd, int __cmd, __off_t __len)
     * }
     */
    public static MemorySegment lockf$address() {
        return lockf.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int lockf(int __fd, int __cmd, __off_t __len)
     * }
     */
    public static int lockf(int __fd, int __cmd, long __len) {
        var mh$ = lockf.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("lockf", __fd, __cmd, __len);
            }
            return (int)mh$.invokeExact(__fd, __cmd, __len);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class fdatasync {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("fdatasync");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int fdatasync(int __fildes)
     * }
     */
    public static FunctionDescriptor fdatasync$descriptor() {
        return fdatasync.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int fdatasync(int __fildes)
     * }
     */
    public static MethodHandle fdatasync$handle() {
        return fdatasync.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int fdatasync(int __fildes)
     * }
     */
    public static MemorySegment fdatasync$address() {
        return fdatasync.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int fdatasync(int __fildes)
     * }
     */
    public static int fdatasync(int __fildes) {
        var mh$ = fdatasync.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("fdatasync", __fildes);
            }
            return (int)mh$.invokeExact(__fildes);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class crypt {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_POINTER,
            Lib.C_POINTER,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("crypt");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern char *crypt(const char *__key, const char *__salt)
     * }
     */
    public static FunctionDescriptor crypt$descriptor() {
        return crypt.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern char *crypt(const char *__key, const char *__salt)
     * }
     */
    public static MethodHandle crypt$handle() {
        return crypt.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern char *crypt(const char *__key, const char *__salt)
     * }
     */
    public static MemorySegment crypt$address() {
        return crypt.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern char *crypt(const char *__key, const char *__salt)
     * }
     */
    public static MemorySegment crypt(MemorySegment __key, MemorySegment __salt) {
        var mh$ = crypt.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("crypt", __key, __salt);
            }
            return (MemorySegment)mh$.invokeExact(__key, __salt);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class getentropy {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_LONG
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("getentropy");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int getentropy(void *__buffer, size_t __length)
     * }
     */
    public static FunctionDescriptor getentropy$descriptor() {
        return getentropy.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int getentropy(void *__buffer, size_t __length)
     * }
     */
    public static MethodHandle getentropy$handle() {
        return getentropy.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int getentropy(void *__buffer, size_t __length)
     * }
     */
    public static MemorySegment getentropy$address() {
        return getentropy.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int getentropy(void *__buffer, size_t __length)
     * }
     */
    public static int getentropy(MemorySegment __buffer, long __length) {
        var mh$ = getentropy.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("getentropy", __buffer, __length);
            }
            return (int)mh$.invokeExact(__buffer, __length);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    /**
     * Variadic invoker class for:
     * {@snippet lang=c :
     * extern int fcntl(int __fd, int __cmd, ...)
     * }
     */
    public static class fcntl {
        private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of(
                Lib.C_INT,
                Lib.C_INT,
                Lib.C_INT
            );
        private static final MemorySegment ADDR = Lib.findOrThrow("fcntl");

        private final MethodHandle handle;
        private final FunctionDescriptor descriptor;
        private final MethodHandle spreader;

        private fcntl(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) {
            this.handle = handle;
            this.descriptor = descriptor;
            this.spreader = spreader;
        }

        /**
         * Variadic invoker factory for:
         * {@snippet lang=c :
         * extern int fcntl(int __fd, int __cmd, ...)
         * }
         */
        public static fcntl makeInvoker(MemoryLayout... layouts) {
            FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
            Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
            var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
            var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
            return new fcntl(mh$, desc$, spreader$);
        }

        /**
         * {@return the address}
         */
        public static MemorySegment address() {
            return ADDR;
        }

        /**
         * {@return the specialized method handle}
         */
        public MethodHandle handle() {
            return handle;
        }

        /**
         * {@return the specialized descriptor}
         */
        public FunctionDescriptor descriptor() {
            return descriptor;
        }

        public int apply(int __fd, int __cmd, Object... x2) {
            try {
                if (TRACE_DOWNCALLS) {
                    traceDowncall("fcntl", __fd, __cmd, x2);
                }
                return (int)spreader.invokeExact(__fd, __cmd, x2);
            } catch(IllegalArgumentException | ClassCastException ex$)  {
                throw ex$; // rethrow IAE from passing wrong number/type of args
            } catch (Throwable ex$) {
               throw new AssertionError("should not reach here", ex$);
            }
        }
    }

    /**
     * Variadic invoker class for:
     * {@snippet lang=c :
     * extern int open(const char *__file, int __oflag, ...)
     * }
     */
    public static class open {
        private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of(
                Lib.C_INT,
                Lib.C_POINTER,
                Lib.C_INT
            );
        private static final MemorySegment ADDR = Lib.findOrThrow("open");

        private final MethodHandle handle;
        private final FunctionDescriptor descriptor;
        private final MethodHandle spreader;

        private open(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) {
            this.handle = handle;
            this.descriptor = descriptor;
            this.spreader = spreader;
        }

        /**
         * Variadic invoker factory for:
         * {@snippet lang=c :
         * extern int open(const char *__file, int __oflag, ...)
         * }
         */
        public static open makeInvoker(MemoryLayout... layouts) {
            FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
            Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
            var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
            var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
            return new open(mh$, desc$, spreader$);
        }

        /**
         * {@return the address}
         */
        public static MemorySegment address() {
            return ADDR;
        }

        /**
         * {@return the specialized method handle}
         */
        public MethodHandle handle() {
            return handle;
        }

        /**
         * {@return the specialized descriptor}
         */
        public FunctionDescriptor descriptor() {
            return descriptor;
        }

        public int apply(MemorySegment __file, int __oflag, Object... x2) {
            try {
                if (TRACE_DOWNCALLS) {
                    traceDowncall("open", __file, __oflag, x2);
                }
                return (int)spreader.invokeExact(__file, __oflag, x2);
            } catch(IllegalArgumentException | ClassCastException ex$)  {
                throw ex$; // rethrow IAE from passing wrong number/type of args
            } catch (Throwable ex$) {
               throw new AssertionError("should not reach here", ex$);
            }
        }
    }

    /**
     * Variadic invoker class for:
     * {@snippet lang=c :
     * extern int openat(int __fd, const char *__file, int __oflag, ...)
     * }
     */
    public static class openat {
        private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of(
                Lib.C_INT,
                Lib.C_INT,
                Lib.C_POINTER,
                Lib.C_INT
            );
        private static final MemorySegment ADDR = Lib.findOrThrow("openat");

        private final MethodHandle handle;
        private final FunctionDescriptor descriptor;
        private final MethodHandle spreader;

        private openat(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) {
            this.handle = handle;
            this.descriptor = descriptor;
            this.spreader = spreader;
        }

        /**
         * Variadic invoker factory for:
         * {@snippet lang=c :
         * extern int openat(int __fd, const char *__file, int __oflag, ...)
         * }
         */
        public static openat makeInvoker(MemoryLayout... layouts) {
            FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
            Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
            var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
            var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
            return new openat(mh$, desc$, spreader$);
        }

        /**
         * {@return the address}
         */
        public static MemorySegment address() {
            return ADDR;
        }

        /**
         * {@return the specialized method handle}
         */
        public MethodHandle handle() {
            return handle;
        }

        /**
         * {@return the specialized descriptor}
         */
        public FunctionDescriptor descriptor() {
            return descriptor;
        }

        public int apply(int __fd, MemorySegment __file, int __oflag, Object... x3) {
            try {
                if (TRACE_DOWNCALLS) {
                    traceDowncall("openat", __fd, __file, __oflag, x3);
                }
                return (int)spreader.invokeExact(__fd, __file, __oflag, x3);
            } catch(IllegalArgumentException | ClassCastException ex$)  {
                throw ex$; // rethrow IAE from passing wrong number/type of args
            } catch (Throwable ex$) {
               throw new AssertionError("should not reach here", ex$);
            }
        }
    }

    private static class creat {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("creat");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int creat(const char *__file, mode_t __mode)
     * }
     */
    public static FunctionDescriptor creat$descriptor() {
        return creat.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int creat(const char *__file, mode_t __mode)
     * }
     */
    public static MethodHandle creat$handle() {
        return creat.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int creat(const char *__file, mode_t __mode)
     * }
     */
    public static MemorySegment creat$address() {
        return creat.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int creat(const char *__file, mode_t __mode)
     * }
     */
    public static int creat(MemorySegment __file, int __mode) {
        var mh$ = creat.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("creat", __file, __mode);
            }
            return (int)mh$.invokeExact(__file, __mode);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class posix_fadvise {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_LONG,
            Lib.C_LONG,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("posix_fadvise");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int posix_fadvise(int __fd, off_t __offset, off_t __len, int __advise)
     * }
     */
    public static FunctionDescriptor posix_fadvise$descriptor() {
        return posix_fadvise.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int posix_fadvise(int __fd, off_t __offset, off_t __len, int __advise)
     * }
     */
    public static MethodHandle posix_fadvise$handle() {
        return posix_fadvise.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int posix_fadvise(int __fd, off_t __offset, off_t __len, int __advise)
     * }
     */
    public static MemorySegment posix_fadvise$address() {
        return posix_fadvise.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int posix_fadvise(int __fd, off_t __offset, off_t __len, int __advise)
     * }
     */
    public static int posix_fadvise(int __fd, long __offset, long __len, int __advise) {
        var mh$ = posix_fadvise.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("posix_fadvise", __fd, __offset, __len, __advise);
            }
            return (int)mh$.invokeExact(__fd, __offset, __len, __advise);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class posix_fallocate {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_LONG,
            Lib.C_LONG
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("posix_fallocate");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int posix_fallocate(int __fd, off_t __offset, off_t __len)
     * }
     */
    public static FunctionDescriptor posix_fallocate$descriptor() {
        return posix_fallocate.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int posix_fallocate(int __fd, off_t __offset, off_t __len)
     * }
     */
    public static MethodHandle posix_fallocate$handle() {
        return posix_fallocate.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int posix_fallocate(int __fd, off_t __offset, off_t __len)
     * }
     */
    public static MemorySegment posix_fallocate$address() {
        return posix_fallocate.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int posix_fallocate(int __fd, off_t __offset, off_t __len)
     * }
     */
    public static int posix_fallocate(int __fd, long __offset, long __len) {
        var mh$ = posix_fallocate.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("posix_fallocate", __fd, __offset, __len);
            }
            return (int)mh$.invokeExact(__fd, __offset, __len);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }
    private static final int TPACKET_V1 = (int)0L;
    /**
     * {@snippet lang=c :
     * enum tpacket_versions.TPACKET_V1 = 0
     * }
     */
    public static int TPACKET_V1() {
        return TPACKET_V1;
    }
    private static final int TPACKET_V2 = (int)1L;
    /**
     * {@snippet lang=c :
     * enum tpacket_versions.TPACKET_V2 = 1
     * }
     */
    public static int TPACKET_V2() {
        return TPACKET_V2;
    }
    private static final int TPACKET_V3 = (int)2L;
    /**
     * {@snippet lang=c :
     * enum tpacket_versions.TPACKET_V3 = 2
     * }
     */
    public static int TPACKET_V3() {
        return TPACKET_V3;
    }
    private static final int IPV4_DEVCONF_FORWARDING = (int)1L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_FORWARDING = 1
     * }
     */
    public static int IPV4_DEVCONF_FORWARDING() {
        return IPV4_DEVCONF_FORWARDING;
    }
    private static final int IPV4_DEVCONF_MC_FORWARDING = (int)2L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_MC_FORWARDING = 2
     * }
     */
    public static int IPV4_DEVCONF_MC_FORWARDING() {
        return IPV4_DEVCONF_MC_FORWARDING;
    }
    private static final int IPV4_DEVCONF_PROXY_ARP = (int)3L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_PROXY_ARP = 3
     * }
     */
    public static int IPV4_DEVCONF_PROXY_ARP() {
        return IPV4_DEVCONF_PROXY_ARP;
    }
    private static final int IPV4_DEVCONF_ACCEPT_REDIRECTS = (int)4L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_ACCEPT_REDIRECTS = 4
     * }
     */
    public static int IPV4_DEVCONF_ACCEPT_REDIRECTS() {
        return IPV4_DEVCONF_ACCEPT_REDIRECTS;
    }
    private static final int IPV4_DEVCONF_SECURE_REDIRECTS = (int)5L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_SECURE_REDIRECTS = 5
     * }
     */
    public static int IPV4_DEVCONF_SECURE_REDIRECTS() {
        return IPV4_DEVCONF_SECURE_REDIRECTS;
    }
    private static final int IPV4_DEVCONF_SEND_REDIRECTS = (int)6L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_SEND_REDIRECTS = 6
     * }
     */
    public static int IPV4_DEVCONF_SEND_REDIRECTS() {
        return IPV4_DEVCONF_SEND_REDIRECTS;
    }
    private static final int IPV4_DEVCONF_SHARED_MEDIA = (int)7L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_SHARED_MEDIA = 7
     * }
     */
    public static int IPV4_DEVCONF_SHARED_MEDIA() {
        return IPV4_DEVCONF_SHARED_MEDIA;
    }
    private static final int IPV4_DEVCONF_RP_FILTER = (int)8L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_RP_FILTER = 8
     * }
     */
    public static int IPV4_DEVCONF_RP_FILTER() {
        return IPV4_DEVCONF_RP_FILTER;
    }
    private static final int IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE = (int)9L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE = 9
     * }
     */
    public static int IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE() {
        return IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE;
    }
    private static final int IPV4_DEVCONF_BOOTP_RELAY = (int)10L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_BOOTP_RELAY = 10
     * }
     */
    public static int IPV4_DEVCONF_BOOTP_RELAY() {
        return IPV4_DEVCONF_BOOTP_RELAY;
    }
    private static final int IPV4_DEVCONF_LOG_MARTIANS = (int)11L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_LOG_MARTIANS = 11
     * }
     */
    public static int IPV4_DEVCONF_LOG_MARTIANS() {
        return IPV4_DEVCONF_LOG_MARTIANS;
    }
    private static final int IPV4_DEVCONF_TAG = (int)12L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_TAG = 12
     * }
     */
    public static int IPV4_DEVCONF_TAG() {
        return IPV4_DEVCONF_TAG;
    }
    private static final int IPV4_DEVCONF_ARPFILTER = (int)13L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_ARPFILTER = 13
     * }
     */
    public static int IPV4_DEVCONF_ARPFILTER() {
        return IPV4_DEVCONF_ARPFILTER;
    }
    private static final int IPV4_DEVCONF_MEDIUM_ID = (int)14L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_MEDIUM_ID = 14
     * }
     */
    public static int IPV4_DEVCONF_MEDIUM_ID() {
        return IPV4_DEVCONF_MEDIUM_ID;
    }
    private static final int IPV4_DEVCONF_NOXFRM = (int)15L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_NOXFRM = 15
     * }
     */
    public static int IPV4_DEVCONF_NOXFRM() {
        return IPV4_DEVCONF_NOXFRM;
    }
    private static final int IPV4_DEVCONF_NOPOLICY = (int)16L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_NOPOLICY = 16
     * }
     */
    public static int IPV4_DEVCONF_NOPOLICY() {
        return IPV4_DEVCONF_NOPOLICY;
    }
    private static final int IPV4_DEVCONF_FORCE_IGMP_VERSION = (int)17L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_FORCE_IGMP_VERSION = 17
     * }
     */
    public static int IPV4_DEVCONF_FORCE_IGMP_VERSION() {
        return IPV4_DEVCONF_FORCE_IGMP_VERSION;
    }
    private static final int IPV4_DEVCONF_ARP_ANNOUNCE = (int)18L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_ARP_ANNOUNCE = 18
     * }
     */
    public static int IPV4_DEVCONF_ARP_ANNOUNCE() {
        return IPV4_DEVCONF_ARP_ANNOUNCE;
    }
    private static final int IPV4_DEVCONF_ARP_IGNORE = (int)19L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_ARP_IGNORE = 19
     * }
     */
    public static int IPV4_DEVCONF_ARP_IGNORE() {
        return IPV4_DEVCONF_ARP_IGNORE;
    }
    private static final int IPV4_DEVCONF_PROMOTE_SECONDARIES = (int)20L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_PROMOTE_SECONDARIES = 20
     * }
     */
    public static int IPV4_DEVCONF_PROMOTE_SECONDARIES() {
        return IPV4_DEVCONF_PROMOTE_SECONDARIES;
    }
    private static final int IPV4_DEVCONF_ARP_ACCEPT = (int)21L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_ARP_ACCEPT = 21
     * }
     */
    public static int IPV4_DEVCONF_ARP_ACCEPT() {
        return IPV4_DEVCONF_ARP_ACCEPT;
    }
    private static final int IPV4_DEVCONF_ARP_NOTIFY = (int)22L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_ARP_NOTIFY = 22
     * }
     */
    public static int IPV4_DEVCONF_ARP_NOTIFY() {
        return IPV4_DEVCONF_ARP_NOTIFY;
    }
    private static final int IPV4_DEVCONF_ACCEPT_LOCAL = (int)23L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_ACCEPT_LOCAL = 23
     * }
     */
    public static int IPV4_DEVCONF_ACCEPT_LOCAL() {
        return IPV4_DEVCONF_ACCEPT_LOCAL;
    }
    private static final int IPV4_DEVCONF_SRC_VMARK = (int)24L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_SRC_VMARK = 24
     * }
     */
    public static int IPV4_DEVCONF_SRC_VMARK() {
        return IPV4_DEVCONF_SRC_VMARK;
    }
    private static final int IPV4_DEVCONF_PROXY_ARP_PVLAN = (int)25L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_PROXY_ARP_PVLAN = 25
     * }
     */
    public static int IPV4_DEVCONF_PROXY_ARP_PVLAN() {
        return IPV4_DEVCONF_PROXY_ARP_PVLAN;
    }
    private static final int IPV4_DEVCONF_ROUTE_LOCALNET = (int)26L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_ROUTE_LOCALNET = 26
     * }
     */
    public static int IPV4_DEVCONF_ROUTE_LOCALNET() {
        return IPV4_DEVCONF_ROUTE_LOCALNET;
    }
    private static final int IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL = (int)27L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL = 27
     * }
     */
    public static int IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL() {
        return IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL;
    }
    private static final int IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL = (int)28L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL = 28
     * }
     */
    public static int IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL() {
        return IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL;
    }
    private static final int IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = (int)29L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = 29
     * }
     */
    public static int IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN() {
        return IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN;
    }
    private static final int IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = (int)30L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = 30
     * }
     */
    public static int IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST() {
        return IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST;
    }
    private static final int IPV4_DEVCONF_DROP_GRATUITOUS_ARP = (int)31L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_DROP_GRATUITOUS_ARP = 31
     * }
     */
    public static int IPV4_DEVCONF_DROP_GRATUITOUS_ARP() {
        return IPV4_DEVCONF_DROP_GRATUITOUS_ARP;
    }
    private static final int IPV4_DEVCONF_BC_FORWARDING = (int)32L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_BC_FORWARDING = 32
     * }
     */
    public static int IPV4_DEVCONF_BC_FORWARDING() {
        return IPV4_DEVCONF_BC_FORWARDING;
    }
    private static final int IPV4_DEVCONF_ARP_EVICT_NOCARRIER = (int)33L;
    /**
     * {@snippet lang=c :
     * enum .IPV4_DEVCONF_ARP_EVICT_NOCARRIER = 33
     * }
     */
    public static int IPV4_DEVCONF_ARP_EVICT_NOCARRIER() {
        return IPV4_DEVCONF_ARP_EVICT_NOCARRIER;
    }
    private static final int __IPV4_DEVCONF_MAX = (int)34L;
    /**
     * {@snippet lang=c :
     * enum .__IPV4_DEVCONF_MAX = 34
     * }
     */
    public static int __IPV4_DEVCONF_MAX() {
        return __IPV4_DEVCONF_MAX;
    }
    private static final int DEVCONF_FORWARDING = (int)0L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_FORWARDING = 0
     * }
     */
    public static int DEVCONF_FORWARDING() {
        return DEVCONF_FORWARDING;
    }
    private static final int DEVCONF_HOPLIMIT = (int)1L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_HOPLIMIT = 1
     * }
     */
    public static int DEVCONF_HOPLIMIT() {
        return DEVCONF_HOPLIMIT;
    }
    private static final int DEVCONF_MTU6 = (int)2L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_MTU6 = 2
     * }
     */
    public static int DEVCONF_MTU6() {
        return DEVCONF_MTU6;
    }
    private static final int DEVCONF_ACCEPT_RA = (int)3L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_ACCEPT_RA = 3
     * }
     */
    public static int DEVCONF_ACCEPT_RA() {
        return DEVCONF_ACCEPT_RA;
    }
    private static final int DEVCONF_ACCEPT_REDIRECTS = (int)4L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_ACCEPT_REDIRECTS = 4
     * }
     */
    public static int DEVCONF_ACCEPT_REDIRECTS() {
        return DEVCONF_ACCEPT_REDIRECTS;
    }
    private static final int DEVCONF_AUTOCONF = (int)5L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_AUTOCONF = 5
     * }
     */
    public static int DEVCONF_AUTOCONF() {
        return DEVCONF_AUTOCONF;
    }
    private static final int DEVCONF_DAD_TRANSMITS = (int)6L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_DAD_TRANSMITS = 6
     * }
     */
    public static int DEVCONF_DAD_TRANSMITS() {
        return DEVCONF_DAD_TRANSMITS;
    }
    private static final int DEVCONF_RTR_SOLICITS = (int)7L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_RTR_SOLICITS = 7
     * }
     */
    public static int DEVCONF_RTR_SOLICITS() {
        return DEVCONF_RTR_SOLICITS;
    }
    private static final int DEVCONF_RTR_SOLICIT_INTERVAL = (int)8L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_RTR_SOLICIT_INTERVAL = 8
     * }
     */
    public static int DEVCONF_RTR_SOLICIT_INTERVAL() {
        return DEVCONF_RTR_SOLICIT_INTERVAL;
    }
    private static final int DEVCONF_RTR_SOLICIT_DELAY = (int)9L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_RTR_SOLICIT_DELAY = 9
     * }
     */
    public static int DEVCONF_RTR_SOLICIT_DELAY() {
        return DEVCONF_RTR_SOLICIT_DELAY;
    }
    private static final int DEVCONF_USE_TEMPADDR = (int)10L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_USE_TEMPADDR = 10
     * }
     */
    public static int DEVCONF_USE_TEMPADDR() {
        return DEVCONF_USE_TEMPADDR;
    }
    private static final int DEVCONF_TEMP_VALID_LFT = (int)11L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_TEMP_VALID_LFT = 11
     * }
     */
    public static int DEVCONF_TEMP_VALID_LFT() {
        return DEVCONF_TEMP_VALID_LFT;
    }
    private static final int DEVCONF_TEMP_PREFERED_LFT = (int)12L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_TEMP_PREFERED_LFT = 12
     * }
     */
    public static int DEVCONF_TEMP_PREFERED_LFT() {
        return DEVCONF_TEMP_PREFERED_LFT;
    }
    private static final int DEVCONF_REGEN_MAX_RETRY = (int)13L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_REGEN_MAX_RETRY = 13
     * }
     */
    public static int DEVCONF_REGEN_MAX_RETRY() {
        return DEVCONF_REGEN_MAX_RETRY;
    }
    private static final int DEVCONF_MAX_DESYNC_FACTOR = (int)14L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_MAX_DESYNC_FACTOR = 14
     * }
     */
    public static int DEVCONF_MAX_DESYNC_FACTOR() {
        return DEVCONF_MAX_DESYNC_FACTOR;
    }
    private static final int DEVCONF_MAX_ADDRESSES = (int)15L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_MAX_ADDRESSES = 15
     * }
     */
    public static int DEVCONF_MAX_ADDRESSES() {
        return DEVCONF_MAX_ADDRESSES;
    }
    private static final int DEVCONF_FORCE_MLD_VERSION = (int)16L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_FORCE_MLD_VERSION = 16
     * }
     */
    public static int DEVCONF_FORCE_MLD_VERSION() {
        return DEVCONF_FORCE_MLD_VERSION;
    }
    private static final int DEVCONF_ACCEPT_RA_DEFRTR = (int)17L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_ACCEPT_RA_DEFRTR = 17
     * }
     */
    public static int DEVCONF_ACCEPT_RA_DEFRTR() {
        return DEVCONF_ACCEPT_RA_DEFRTR;
    }
    private static final int DEVCONF_ACCEPT_RA_PINFO = (int)18L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_ACCEPT_RA_PINFO = 18
     * }
     */
    public static int DEVCONF_ACCEPT_RA_PINFO() {
        return DEVCONF_ACCEPT_RA_PINFO;
    }
    private static final int DEVCONF_ACCEPT_RA_RTR_PREF = (int)19L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_ACCEPT_RA_RTR_PREF = 19
     * }
     */
    public static int DEVCONF_ACCEPT_RA_RTR_PREF() {
        return DEVCONF_ACCEPT_RA_RTR_PREF;
    }
    private static final int DEVCONF_RTR_PROBE_INTERVAL = (int)20L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_RTR_PROBE_INTERVAL = 20
     * }
     */
    public static int DEVCONF_RTR_PROBE_INTERVAL() {
        return DEVCONF_RTR_PROBE_INTERVAL;
    }
    private static final int DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN = (int)21L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN = 21
     * }
     */
    public static int DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN() {
        return DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN;
    }
    private static final int DEVCONF_PROXY_NDP = (int)22L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_PROXY_NDP = 22
     * }
     */
    public static int DEVCONF_PROXY_NDP() {
        return DEVCONF_PROXY_NDP;
    }
    private static final int DEVCONF_OPTIMISTIC_DAD = (int)23L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_OPTIMISTIC_DAD = 23
     * }
     */
    public static int DEVCONF_OPTIMISTIC_DAD() {
        return DEVCONF_OPTIMISTIC_DAD;
    }
    private static final int DEVCONF_ACCEPT_SOURCE_ROUTE = (int)24L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_ACCEPT_SOURCE_ROUTE = 24
     * }
     */
    public static int DEVCONF_ACCEPT_SOURCE_ROUTE() {
        return DEVCONF_ACCEPT_SOURCE_ROUTE;
    }
    private static final int DEVCONF_MC_FORWARDING = (int)25L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_MC_FORWARDING = 25
     * }
     */
    public static int DEVCONF_MC_FORWARDING() {
        return DEVCONF_MC_FORWARDING;
    }
    private static final int DEVCONF_DISABLE_IPV6 = (int)26L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_DISABLE_IPV6 = 26
     * }
     */
    public static int DEVCONF_DISABLE_IPV6() {
        return DEVCONF_DISABLE_IPV6;
    }
    private static final int DEVCONF_ACCEPT_DAD = (int)27L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_ACCEPT_DAD = 27
     * }
     */
    public static int DEVCONF_ACCEPT_DAD() {
        return DEVCONF_ACCEPT_DAD;
    }
    private static final int DEVCONF_FORCE_TLLAO = (int)28L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_FORCE_TLLAO = 28
     * }
     */
    public static int DEVCONF_FORCE_TLLAO() {
        return DEVCONF_FORCE_TLLAO;
    }
    private static final int DEVCONF_NDISC_NOTIFY = (int)29L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_NDISC_NOTIFY = 29
     * }
     */
    public static int DEVCONF_NDISC_NOTIFY() {
        return DEVCONF_NDISC_NOTIFY;
    }
    private static final int DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL = (int)30L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL = 30
     * }
     */
    public static int DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL() {
        return DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL;
    }
    private static final int DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL = (int)31L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL = 31
     * }
     */
    public static int DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL() {
        return DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL;
    }
    private static final int DEVCONF_SUPPRESS_FRAG_NDISC = (int)32L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_SUPPRESS_FRAG_NDISC = 32
     * }
     */
    public static int DEVCONF_SUPPRESS_FRAG_NDISC() {
        return DEVCONF_SUPPRESS_FRAG_NDISC;
    }
    private static final int DEVCONF_ACCEPT_RA_FROM_LOCAL = (int)33L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_ACCEPT_RA_FROM_LOCAL = 33
     * }
     */
    public static int DEVCONF_ACCEPT_RA_FROM_LOCAL() {
        return DEVCONF_ACCEPT_RA_FROM_LOCAL;
    }
    private static final int DEVCONF_USE_OPTIMISTIC = (int)34L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_USE_OPTIMISTIC = 34
     * }
     */
    public static int DEVCONF_USE_OPTIMISTIC() {
        return DEVCONF_USE_OPTIMISTIC;
    }
    private static final int DEVCONF_ACCEPT_RA_MTU = (int)35L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_ACCEPT_RA_MTU = 35
     * }
     */
    public static int DEVCONF_ACCEPT_RA_MTU() {
        return DEVCONF_ACCEPT_RA_MTU;
    }
    private static final int DEVCONF_STABLE_SECRET = (int)36L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_STABLE_SECRET = 36
     * }
     */
    public static int DEVCONF_STABLE_SECRET() {
        return DEVCONF_STABLE_SECRET;
    }
    private static final int DEVCONF_USE_OIF_ADDRS_ONLY = (int)37L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_USE_OIF_ADDRS_ONLY = 37
     * }
     */
    public static int DEVCONF_USE_OIF_ADDRS_ONLY() {
        return DEVCONF_USE_OIF_ADDRS_ONLY;
    }
    private static final int DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT = (int)38L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT = 38
     * }
     */
    public static int DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT() {
        return DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT;
    }
    private static final int DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = (int)39L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = 39
     * }
     */
    public static int DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN() {
        return DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN;
    }
    private static final int DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = (int)40L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = 40
     * }
     */
    public static int DEVCONF_DROP_UNICAST_IN_L2_MULTICAST() {
        return DEVCONF_DROP_UNICAST_IN_L2_MULTICAST;
    }
    private static final int DEVCONF_DROP_UNSOLICITED_NA = (int)41L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_DROP_UNSOLICITED_NA = 41
     * }
     */
    public static int DEVCONF_DROP_UNSOLICITED_NA() {
        return DEVCONF_DROP_UNSOLICITED_NA;
    }
    private static final int DEVCONF_KEEP_ADDR_ON_DOWN = (int)42L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_KEEP_ADDR_ON_DOWN = 42
     * }
     */
    public static int DEVCONF_KEEP_ADDR_ON_DOWN() {
        return DEVCONF_KEEP_ADDR_ON_DOWN;
    }
    private static final int DEVCONF_RTR_SOLICIT_MAX_INTERVAL = (int)43L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_RTR_SOLICIT_MAX_INTERVAL = 43
     * }
     */
    public static int DEVCONF_RTR_SOLICIT_MAX_INTERVAL() {
        return DEVCONF_RTR_SOLICIT_MAX_INTERVAL;
    }
    private static final int DEVCONF_SEG6_ENABLED = (int)44L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_SEG6_ENABLED = 44
     * }
     */
    public static int DEVCONF_SEG6_ENABLED() {
        return DEVCONF_SEG6_ENABLED;
    }
    private static final int DEVCONF_SEG6_REQUIRE_HMAC = (int)45L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_SEG6_REQUIRE_HMAC = 45
     * }
     */
    public static int DEVCONF_SEG6_REQUIRE_HMAC() {
        return DEVCONF_SEG6_REQUIRE_HMAC;
    }
    private static final int DEVCONF_ENHANCED_DAD = (int)46L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_ENHANCED_DAD = 46
     * }
     */
    public static int DEVCONF_ENHANCED_DAD() {
        return DEVCONF_ENHANCED_DAD;
    }
    private static final int DEVCONF_ADDR_GEN_MODE = (int)47L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_ADDR_GEN_MODE = 47
     * }
     */
    public static int DEVCONF_ADDR_GEN_MODE() {
        return DEVCONF_ADDR_GEN_MODE;
    }
    private static final int DEVCONF_DISABLE_POLICY = (int)48L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_DISABLE_POLICY = 48
     * }
     */
    public static int DEVCONF_DISABLE_POLICY() {
        return DEVCONF_DISABLE_POLICY;
    }
    private static final int DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN = (int)49L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN = 49
     * }
     */
    public static int DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN() {
        return DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN;
    }
    private static final int DEVCONF_NDISC_TCLASS = (int)50L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_NDISC_TCLASS = 50
     * }
     */
    public static int DEVCONF_NDISC_TCLASS() {
        return DEVCONF_NDISC_TCLASS;
    }
    private static final int DEVCONF_RPL_SEG_ENABLED = (int)51L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_RPL_SEG_ENABLED = 51
     * }
     */
    public static int DEVCONF_RPL_SEG_ENABLED() {
        return DEVCONF_RPL_SEG_ENABLED;
    }
    private static final int DEVCONF_RA_DEFRTR_METRIC = (int)52L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_RA_DEFRTR_METRIC = 52
     * }
     */
    public static int DEVCONF_RA_DEFRTR_METRIC() {
        return DEVCONF_RA_DEFRTR_METRIC;
    }
    private static final int DEVCONF_IOAM6_ENABLED = (int)53L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_IOAM6_ENABLED = 53
     * }
     */
    public static int DEVCONF_IOAM6_ENABLED() {
        return DEVCONF_IOAM6_ENABLED;
    }
    private static final int DEVCONF_IOAM6_ID = (int)54L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_IOAM6_ID = 54
     * }
     */
    public static int DEVCONF_IOAM6_ID() {
        return DEVCONF_IOAM6_ID;
    }
    private static final int DEVCONF_IOAM6_ID_WIDE = (int)55L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_IOAM6_ID_WIDE = 55
     * }
     */
    public static int DEVCONF_IOAM6_ID_WIDE() {
        return DEVCONF_IOAM6_ID_WIDE;
    }
    private static final int DEVCONF_NDISC_EVICT_NOCARRIER = (int)56L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_NDISC_EVICT_NOCARRIER = 56
     * }
     */
    public static int DEVCONF_NDISC_EVICT_NOCARRIER() {
        return DEVCONF_NDISC_EVICT_NOCARRIER;
    }
    private static final int DEVCONF_ACCEPT_UNTRACKED_NA = (int)57L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_ACCEPT_UNTRACKED_NA = 57
     * }
     */
    public static int DEVCONF_ACCEPT_UNTRACKED_NA() {
        return DEVCONF_ACCEPT_UNTRACKED_NA;
    }
    private static final int DEVCONF_ACCEPT_RA_MIN_LFT = (int)58L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_ACCEPT_RA_MIN_LFT = 58
     * }
     */
    public static int DEVCONF_ACCEPT_RA_MIN_LFT() {
        return DEVCONF_ACCEPT_RA_MIN_LFT;
    }
    private static final int DEVCONF_MAX = (int)59L;
    /**
     * {@snippet lang=c :
     * enum .DEVCONF_MAX = 59
     * }
     */
    public static int DEVCONF_MAX() {
        return DEVCONF_MAX;
    }
    /**
     * {@snippet lang=c :
     * typedef unsigned short __kernel_sa_family_t
     * }
     */
    public static final OfShort __kernel_sa_family_t = Lib.C_SHORT;
    private static final int SOCK_STREAM = (int)1L;
    /**
     * {@snippet lang=c :
     * enum __socket_type.SOCK_STREAM = 1
     * }
     */
    public static int SOCK_STREAM() {
        return SOCK_STREAM;
    }
    private static final int SOCK_DGRAM = (int)2L;
    /**
     * {@snippet lang=c :
     * enum __socket_type.SOCK_DGRAM = 2
     * }
     */
    public static int SOCK_DGRAM() {
        return SOCK_DGRAM;
    }
    private static final int SOCK_RAW = (int)3L;
    /**
     * {@snippet lang=c :
     * enum __socket_type.SOCK_RAW = 3
     * }
     */
    public static int SOCK_RAW() {
        return SOCK_RAW;
    }
    private static final int SOCK_RDM = (int)4L;
    /**
     * {@snippet lang=c :
     * enum __socket_type.SOCK_RDM = 4
     * }
     */
    public static int SOCK_RDM() {
        return SOCK_RDM;
    }
    private static final int SOCK_SEQPACKET = (int)5L;
    /**
     * {@snippet lang=c :
     * enum __socket_type.SOCK_SEQPACKET = 5
     * }
     */
    public static int SOCK_SEQPACKET() {
        return SOCK_SEQPACKET;
    }
    private static final int SOCK_DCCP = (int)6L;
    /**
     * {@snippet lang=c :
     * enum __socket_type.SOCK_DCCP = 6
     * }
     */
    public static int SOCK_DCCP() {
        return SOCK_DCCP;
    }
    private static final int SOCK_PACKET = (int)10L;
    /**
     * {@snippet lang=c :
     * enum __socket_type.SOCK_PACKET = 10
     * }
     */
    public static int SOCK_PACKET() {
        return SOCK_PACKET;
    }
    private static final int SOCK_CLOEXEC = (int)524288L;
    /**
     * {@snippet lang=c :
     * enum __socket_type.SOCK_CLOEXEC = 524288
     * }
     */
    public static int SOCK_CLOEXEC() {
        return SOCK_CLOEXEC;
    }
    private static final int SOCK_NONBLOCK = (int)2048L;
    /**
     * {@snippet lang=c :
     * enum __socket_type.SOCK_NONBLOCK = 2048
     * }
     */
    public static int SOCK_NONBLOCK() {
        return SOCK_NONBLOCK;
    }
    /**
     * {@snippet lang=c :
     * typedef unsigned short sa_family_t
     * }
     */
    public static final OfShort sa_family_t = Lib.C_SHORT;
    private static final int MSG_OOB = (int)1L;
    /**
     * {@snippet lang=c :
     * enum .MSG_OOB = 1
     * }
     */
    public static int MSG_OOB() {
        return MSG_OOB;
    }
    private static final int MSG_PEEK = (int)2L;
    /**
     * {@snippet lang=c :
     * enum .MSG_PEEK = 2
     * }
     */
    public static int MSG_PEEK() {
        return MSG_PEEK;
    }
    private static final int MSG_DONTROUTE = (int)4L;
    /**
     * {@snippet lang=c :
     * enum .MSG_DONTROUTE = 4
     * }
     */
    public static int MSG_DONTROUTE() {
        return MSG_DONTROUTE;
    }
    private static final int MSG_CTRUNC = (int)8L;
    /**
     * {@snippet lang=c :
     * enum .MSG_CTRUNC = 8
     * }
     */
    public static int MSG_CTRUNC() {
        return MSG_CTRUNC;
    }
    private static final int MSG_PROXY = (int)16L;
    /**
     * {@snippet lang=c :
     * enum .MSG_PROXY = 16
     * }
     */
    public static int MSG_PROXY() {
        return MSG_PROXY;
    }
    private static final int MSG_TRUNC = (int)32L;
    /**
     * {@snippet lang=c :
     * enum .MSG_TRUNC = 32
     * }
     */
    public static int MSG_TRUNC() {
        return MSG_TRUNC;
    }
    private static final int MSG_DONTWAIT = (int)64L;
    /**
     * {@snippet lang=c :
     * enum .MSG_DONTWAIT = 64
     * }
     */
    public static int MSG_DONTWAIT() {
        return MSG_DONTWAIT;
    }
    private static final int MSG_EOR = (int)128L;
    /**
     * {@snippet lang=c :
     * enum .MSG_EOR = 128
     * }
     */
    public static int MSG_EOR() {
        return MSG_EOR;
    }
    private static final int MSG_WAITALL = (int)256L;
    /**
     * {@snippet lang=c :
     * enum .MSG_WAITALL = 256
     * }
     */
    public static int MSG_WAITALL() {
        return MSG_WAITALL;
    }
    private static final int MSG_FIN = (int)512L;
    /**
     * {@snippet lang=c :
     * enum .MSG_FIN = 512
     * }
     */
    public static int MSG_FIN() {
        return MSG_FIN;
    }
    private static final int MSG_SYN = (int)1024L;
    /**
     * {@snippet lang=c :
     * enum .MSG_SYN = 1024
     * }
     */
    public static int MSG_SYN() {
        return MSG_SYN;
    }
    private static final int MSG_CONFIRM = (int)2048L;
    /**
     * {@snippet lang=c :
     * enum .MSG_CONFIRM = 2048
     * }
     */
    public static int MSG_CONFIRM() {
        return MSG_CONFIRM;
    }
    private static final int MSG_RST = (int)4096L;
    /**
     * {@snippet lang=c :
     * enum .MSG_RST = 4096
     * }
     */
    public static int MSG_RST() {
        return MSG_RST;
    }
    private static final int MSG_ERRQUEUE = (int)8192L;
    /**
     * {@snippet lang=c :
     * enum .MSG_ERRQUEUE = 8192
     * }
     */
    public static int MSG_ERRQUEUE() {
        return MSG_ERRQUEUE;
    }
    private static final int MSG_NOSIGNAL = (int)16384L;
    /**
     * {@snippet lang=c :
     * enum .MSG_NOSIGNAL = 16384
     * }
     */
    public static int MSG_NOSIGNAL() {
        return MSG_NOSIGNAL;
    }
    private static final int MSG_MORE = (int)32768L;
    /**
     * {@snippet lang=c :
     * enum .MSG_MORE = 32768
     * }
     */
    public static int MSG_MORE() {
        return MSG_MORE;
    }
    private static final int MSG_WAITFORONE = (int)65536L;
    /**
     * {@snippet lang=c :
     * enum .MSG_WAITFORONE = 65536
     * }
     */
    public static int MSG_WAITFORONE() {
        return MSG_WAITFORONE;
    }
    private static final int MSG_BATCH = (int)262144L;
    /**
     * {@snippet lang=c :
     * enum .MSG_BATCH = 262144
     * }
     */
    public static int MSG_BATCH() {
        return MSG_BATCH;
    }
    private static final int MSG_ZEROCOPY = (int)67108864L;
    /**
     * {@snippet lang=c :
     * enum .MSG_ZEROCOPY = 67108864
     * }
     */
    public static int MSG_ZEROCOPY() {
        return MSG_ZEROCOPY;
    }
    private static final int MSG_FASTOPEN = (int)536870912L;
    /**
     * {@snippet lang=c :
     * enum .MSG_FASTOPEN = 536870912
     * }
     */
    public static int MSG_FASTOPEN() {
        return MSG_FASTOPEN;
    }
    private static final int MSG_CMSG_CLOEXEC = (int)1073741824L;
    /**
     * {@snippet lang=c :
     * enum .MSG_CMSG_CLOEXEC = 1073741824
     * }
     */
    public static int MSG_CMSG_CLOEXEC() {
        return MSG_CMSG_CLOEXEC;
    }

    private static class __cmsg_nxthdr {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_POINTER,
            Lib.C_POINTER,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("__cmsg_nxthdr");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr, struct cmsghdr *__cmsg)
     * }
     */
    public static FunctionDescriptor __cmsg_nxthdr$descriptor() {
        return __cmsg_nxthdr.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr, struct cmsghdr *__cmsg)
     * }
     */
    public static MethodHandle __cmsg_nxthdr$handle() {
        return __cmsg_nxthdr.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr, struct cmsghdr *__cmsg)
     * }
     */
    public static MemorySegment __cmsg_nxthdr$address() {
        return __cmsg_nxthdr.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr, struct cmsghdr *__cmsg)
     * }
     */
    public static MemorySegment __cmsg_nxthdr(MemorySegment __mhdr, MemorySegment __cmsg) {
        var mh$ = __cmsg_nxthdr.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("__cmsg_nxthdr", __mhdr, __cmsg);
            }
            return (MemorySegment)mh$.invokeExact(__mhdr, __cmsg);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }
    private static final int SCM_RIGHTS = (int)1L;
    /**
     * {@snippet lang=c :
     * enum .SCM_RIGHTS = 1
     * }
     */
    public static int SCM_RIGHTS() {
        return SCM_RIGHTS;
    }
    private static final int SHUT_RD = (int)0L;
    /**
     * {@snippet lang=c :
     * enum .SHUT_RD = 0
     * }
     */
    public static int SHUT_RD() {
        return SHUT_RD;
    }
    private static final int SHUT_WR = (int)1L;
    /**
     * {@snippet lang=c :
     * enum .SHUT_WR = 1
     * }
     */
    public static int SHUT_WR() {
        return SHUT_WR;
    }
    private static final int SHUT_RDWR = (int)2L;
    /**
     * {@snippet lang=c :
     * enum .SHUT_RDWR = 2
     * }
     */
    public static int SHUT_RDWR() {
        return SHUT_RDWR;
    }

    private static class socket {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("socket");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int socket(int __domain, int __type, int __protocol)
     * }
     */
    public static FunctionDescriptor socket$descriptor() {
        return socket.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int socket(int __domain, int __type, int __protocol)
     * }
     */
    public static MethodHandle socket$handle() {
        return socket.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int socket(int __domain, int __type, int __protocol)
     * }
     */
    public static MemorySegment socket$address() {
        return socket.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int socket(int __domain, int __type, int __protocol)
     * }
     */
    public static int socket(int __domain, int __type, int __protocol) {
        var mh$ = socket.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("socket", __domain, __type, __protocol);
            }
            return (int)mh$.invokeExact(__domain, __type, __protocol);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class socketpair {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("socketpair");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int socketpair(int __domain, int __type, int __protocol, int __fds[2])
     * }
     */
    public static FunctionDescriptor socketpair$descriptor() {
        return socketpair.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int socketpair(int __domain, int __type, int __protocol, int __fds[2])
     * }
     */
    public static MethodHandle socketpair$handle() {
        return socketpair.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int socketpair(int __domain, int __type, int __protocol, int __fds[2])
     * }
     */
    public static MemorySegment socketpair$address() {
        return socketpair.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int socketpair(int __domain, int __type, int __protocol, int __fds[2])
     * }
     */
    public static int socketpair(int __domain, int __type, int __protocol, MemorySegment __fds) {
        var mh$ = socketpair.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("socketpair", __domain, __type, __protocol, __fds);
            }
            return (int)mh$.invokeExact(__domain, __type, __protocol, __fds);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class bind {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("bind");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int bind(int __fd, const struct sockaddr *__addr, socklen_t __len)
     * }
     */
    public static FunctionDescriptor bind$descriptor() {
        return bind.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int bind(int __fd, const struct sockaddr *__addr, socklen_t __len)
     * }
     */
    public static MethodHandle bind$handle() {
        return bind.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int bind(int __fd, const struct sockaddr *__addr, socklen_t __len)
     * }
     */
    public static MemorySegment bind$address() {
        return bind.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int bind(int __fd, const struct sockaddr *__addr, socklen_t __len)
     * }
     */
    public static int bind(int __fd, MemorySegment __addr, int __len) {
        var mh$ = bind.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("bind", __fd, __addr, __len);
            }
            return (int)mh$.invokeExact(__fd, __addr, __len);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class getsockname {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("getsockname");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int getsockname(int __fd, struct sockaddr *restrict __addr, socklen_t *restrict __len)
     * }
     */
    public static FunctionDescriptor getsockname$descriptor() {
        return getsockname.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int getsockname(int __fd, struct sockaddr *restrict __addr, socklen_t *restrict __len)
     * }
     */
    public static MethodHandle getsockname$handle() {
        return getsockname.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int getsockname(int __fd, struct sockaddr *restrict __addr, socklen_t *restrict __len)
     * }
     */
    public static MemorySegment getsockname$address() {
        return getsockname.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int getsockname(int __fd, struct sockaddr *restrict __addr, socklen_t *restrict __len)
     * }
     */
    public static int getsockname(int __fd, MemorySegment __addr, MemorySegment __len) {
        var mh$ = getsockname.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("getsockname", __fd, __addr, __len);
            }
            return (int)mh$.invokeExact(__fd, __addr, __len);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class connect {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("connect");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int connect(int __fd, const struct sockaddr *__addr, socklen_t __len)
     * }
     */
    public static FunctionDescriptor connect$descriptor() {
        return connect.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int connect(int __fd, const struct sockaddr *__addr, socklen_t __len)
     * }
     */
    public static MethodHandle connect$handle() {
        return connect.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int connect(int __fd, const struct sockaddr *__addr, socklen_t __len)
     * }
     */
    public static MemorySegment connect$address() {
        return connect.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int connect(int __fd, const struct sockaddr *__addr, socklen_t __len)
     * }
     */
    public static int connect(int __fd, MemorySegment __addr, int __len) {
        var mh$ = connect.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("connect", __fd, __addr, __len);
            }
            return (int)mh$.invokeExact(__fd, __addr, __len);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class getpeername {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("getpeername");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int getpeername(int __fd, struct sockaddr *restrict __addr, socklen_t *restrict __len)
     * }
     */
    public static FunctionDescriptor getpeername$descriptor() {
        return getpeername.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int getpeername(int __fd, struct sockaddr *restrict __addr, socklen_t *restrict __len)
     * }
     */
    public static MethodHandle getpeername$handle() {
        return getpeername.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int getpeername(int __fd, struct sockaddr *restrict __addr, socklen_t *restrict __len)
     * }
     */
    public static MemorySegment getpeername$address() {
        return getpeername.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int getpeername(int __fd, struct sockaddr *restrict __addr, socklen_t *restrict __len)
     * }
     */
    public static int getpeername(int __fd, MemorySegment __addr, MemorySegment __len) {
        var mh$ = getpeername.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("getpeername", __fd, __addr, __len);
            }
            return (int)mh$.invokeExact(__fd, __addr, __len);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class send {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_LONG,
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_LONG,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("send");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern ssize_t send(int __fd, const void *__buf, size_t __n, int __flags)
     * }
     */
    public static FunctionDescriptor send$descriptor() {
        return send.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern ssize_t send(int __fd, const void *__buf, size_t __n, int __flags)
     * }
     */
    public static MethodHandle send$handle() {
        return send.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern ssize_t send(int __fd, const void *__buf, size_t __n, int __flags)
     * }
     */
    public static MemorySegment send$address() {
        return send.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern ssize_t send(int __fd, const void *__buf, size_t __n, int __flags)
     * }
     */
    public static long send(int __fd, MemorySegment __buf, long __n, int __flags) {
        var mh$ = send.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("send", __fd, __buf, __n, __flags);
            }
            return (long)mh$.invokeExact(__fd, __buf, __n, __flags);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class recv {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_LONG,
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_LONG,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("recv");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern ssize_t recv(int __fd, void *__buf, size_t __n, int __flags)
     * }
     */
    public static FunctionDescriptor recv$descriptor() {
        return recv.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern ssize_t recv(int __fd, void *__buf, size_t __n, int __flags)
     * }
     */
    public static MethodHandle recv$handle() {
        return recv.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern ssize_t recv(int __fd, void *__buf, size_t __n, int __flags)
     * }
     */
    public static MemorySegment recv$address() {
        return recv.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern ssize_t recv(int __fd, void *__buf, size_t __n, int __flags)
     * }
     */
    public static long recv(int __fd, MemorySegment __buf, long __n, int __flags) {
        var mh$ = recv.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("recv", __fd, __buf, __n, __flags);
            }
            return (long)mh$.invokeExact(__fd, __buf, __n, __flags);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class sendto {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_LONG,
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_LONG,
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("sendto");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern ssize_t sendto(int __fd, const void *__buf, size_t __n, int __flags, const struct sockaddr *__addr, socklen_t __addr_len)
     * }
     */
    public static FunctionDescriptor sendto$descriptor() {
        return sendto.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern ssize_t sendto(int __fd, const void *__buf, size_t __n, int __flags, const struct sockaddr *__addr, socklen_t __addr_len)
     * }
     */
    public static MethodHandle sendto$handle() {
        return sendto.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern ssize_t sendto(int __fd, const void *__buf, size_t __n, int __flags, const struct sockaddr *__addr, socklen_t __addr_len)
     * }
     */
    public static MemorySegment sendto$address() {
        return sendto.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern ssize_t sendto(int __fd, const void *__buf, size_t __n, int __flags, const struct sockaddr *__addr, socklen_t __addr_len)
     * }
     */
    public static long sendto(int __fd, MemorySegment __buf, long __n, int __flags, MemorySegment __addr, int __addr_len) {
        var mh$ = sendto.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("sendto", __fd, __buf, __n, __flags, __addr, __addr_len);
            }
            return (long)mh$.invokeExact(__fd, __buf, __n, __flags, __addr, __addr_len);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class recvfrom {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_LONG,
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_LONG,
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("recvfrom");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern ssize_t recvfrom(int __fd, void *restrict __buf, size_t __n, int __flags, struct sockaddr *restrict __addr, socklen_t *restrict __addr_len)
     * }
     */
    public static FunctionDescriptor recvfrom$descriptor() {
        return recvfrom.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern ssize_t recvfrom(int __fd, void *restrict __buf, size_t __n, int __flags, struct sockaddr *restrict __addr, socklen_t *restrict __addr_len)
     * }
     */
    public static MethodHandle recvfrom$handle() {
        return recvfrom.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern ssize_t recvfrom(int __fd, void *restrict __buf, size_t __n, int __flags, struct sockaddr *restrict __addr, socklen_t *restrict __addr_len)
     * }
     */
    public static MemorySegment recvfrom$address() {
        return recvfrom.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern ssize_t recvfrom(int __fd, void *restrict __buf, size_t __n, int __flags, struct sockaddr *restrict __addr, socklen_t *restrict __addr_len)
     * }
     */
    public static long recvfrom(int __fd, MemorySegment __buf, long __n, int __flags, MemorySegment __addr, MemorySegment __addr_len) {
        var mh$ = recvfrom.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("recvfrom", __fd, __buf, __n, __flags, __addr, __addr_len);
            }
            return (long)mh$.invokeExact(__fd, __buf, __n, __flags, __addr, __addr_len);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class sendmsg {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_LONG,
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("sendmsg");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern ssize_t sendmsg(int __fd, const struct msghdr *__message, int __flags)
     * }
     */
    public static FunctionDescriptor sendmsg$descriptor() {
        return sendmsg.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern ssize_t sendmsg(int __fd, const struct msghdr *__message, int __flags)
     * }
     */
    public static MethodHandle sendmsg$handle() {
        return sendmsg.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern ssize_t sendmsg(int __fd, const struct msghdr *__message, int __flags)
     * }
     */
    public static MemorySegment sendmsg$address() {
        return sendmsg.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern ssize_t sendmsg(int __fd, const struct msghdr *__message, int __flags)
     * }
     */
    public static long sendmsg(int __fd, MemorySegment __message, int __flags) {
        var mh$ = sendmsg.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("sendmsg", __fd, __message, __flags);
            }
            return (long)mh$.invokeExact(__fd, __message, __flags);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class recvmsg {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_LONG,
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("recvmsg");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern ssize_t recvmsg(int __fd, struct msghdr *__message, int __flags)
     * }
     */
    public static FunctionDescriptor recvmsg$descriptor() {
        return recvmsg.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern ssize_t recvmsg(int __fd, struct msghdr *__message, int __flags)
     * }
     */
    public static MethodHandle recvmsg$handle() {
        return recvmsg.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern ssize_t recvmsg(int __fd, struct msghdr *__message, int __flags)
     * }
     */
    public static MemorySegment recvmsg$address() {
        return recvmsg.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern ssize_t recvmsg(int __fd, struct msghdr *__message, int __flags)
     * }
     */
    public static long recvmsg(int __fd, MemorySegment __message, int __flags) {
        var mh$ = recvmsg.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("recvmsg", __fd, __message, __flags);
            }
            return (long)mh$.invokeExact(__fd, __message, __flags);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class getsockopt {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("getsockopt");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int getsockopt(int __fd, int __level, int __optname, void *restrict __optval, socklen_t *restrict __optlen)
     * }
     */
    public static FunctionDescriptor getsockopt$descriptor() {
        return getsockopt.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int getsockopt(int __fd, int __level, int __optname, void *restrict __optval, socklen_t *restrict __optlen)
     * }
     */
    public static MethodHandle getsockopt$handle() {
        return getsockopt.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int getsockopt(int __fd, int __level, int __optname, void *restrict __optval, socklen_t *restrict __optlen)
     * }
     */
    public static MemorySegment getsockopt$address() {
        return getsockopt.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int getsockopt(int __fd, int __level, int __optname, void *restrict __optval, socklen_t *restrict __optlen)
     * }
     */
    public static int getsockopt(int __fd, int __level, int __optname, MemorySegment __optval, MemorySegment __optlen) {
        var mh$ = getsockopt.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("getsockopt", __fd, __level, __optname, __optval, __optlen);
            }
            return (int)mh$.invokeExact(__fd, __level, __optname, __optval, __optlen);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class setsockopt {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("setsockopt");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int setsockopt(int __fd, int __level, int __optname, const void *__optval, socklen_t __optlen)
     * }
     */
    public static FunctionDescriptor setsockopt$descriptor() {
        return setsockopt.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int setsockopt(int __fd, int __level, int __optname, const void *__optval, socklen_t __optlen)
     * }
     */
    public static MethodHandle setsockopt$handle() {
        return setsockopt.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int setsockopt(int __fd, int __level, int __optname, const void *__optval, socklen_t __optlen)
     * }
     */
    public static MemorySegment setsockopt$address() {
        return setsockopt.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int setsockopt(int __fd, int __level, int __optname, const void *__optval, socklen_t __optlen)
     * }
     */
    public static int setsockopt(int __fd, int __level, int __optname, MemorySegment __optval, int __optlen) {
        var mh$ = setsockopt.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("setsockopt", __fd, __level, __optname, __optval, __optlen);
            }
            return (int)mh$.invokeExact(__fd, __level, __optname, __optval, __optlen);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class listen {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("listen");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int listen(int __fd, int __n)
     * }
     */
    public static FunctionDescriptor listen$descriptor() {
        return listen.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int listen(int __fd, int __n)
     * }
     */
    public static MethodHandle listen$handle() {
        return listen.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int listen(int __fd, int __n)
     * }
     */
    public static MemorySegment listen$address() {
        return listen.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int listen(int __fd, int __n)
     * }
     */
    public static int listen(int __fd, int __n) {
        var mh$ = listen.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("listen", __fd, __n);
            }
            return (int)mh$.invokeExact(__fd, __n);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class accept {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_POINTER,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("accept");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int accept(int __fd, struct sockaddr *restrict __addr, socklen_t *restrict __addr_len)
     * }
     */
    public static FunctionDescriptor accept$descriptor() {
        return accept.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int accept(int __fd, struct sockaddr *restrict __addr, socklen_t *restrict __addr_len)
     * }
     */
    public static MethodHandle accept$handle() {
        return accept.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int accept(int __fd, struct sockaddr *restrict __addr, socklen_t *restrict __addr_len)
     * }
     */
    public static MemorySegment accept$address() {
        return accept.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int accept(int __fd, struct sockaddr *restrict __addr, socklen_t *restrict __addr_len)
     * }
     */
    public static int accept(int __fd, MemorySegment __addr, MemorySegment __addr_len) {
        var mh$ = accept.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("accept", __fd, __addr, __addr_len);
            }
            return (int)mh$.invokeExact(__fd, __addr, __addr_len);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class shutdown {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("shutdown");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int shutdown(int __fd, int __how)
     * }
     */
    public static FunctionDescriptor shutdown$descriptor() {
        return shutdown.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int shutdown(int __fd, int __how)
     * }
     */
    public static MethodHandle shutdown$handle() {
        return shutdown.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int shutdown(int __fd, int __how)
     * }
     */
    public static MemorySegment shutdown$address() {
        return shutdown.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int shutdown(int __fd, int __how)
     * }
     */
    public static int shutdown(int __fd, int __how) {
        var mh$ = shutdown.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("shutdown", __fd, __how);
            }
            return (int)mh$.invokeExact(__fd, __how);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class sockatmark {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("sockatmark");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int sockatmark(int __fd)
     * }
     */
    public static FunctionDescriptor sockatmark$descriptor() {
        return sockatmark.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int sockatmark(int __fd)
     * }
     */
    public static MethodHandle sockatmark$handle() {
        return sockatmark.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int sockatmark(int __fd)
     * }
     */
    public static MemorySegment sockatmark$address() {
        return sockatmark.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int sockatmark(int __fd)
     * }
     */
    public static int sockatmark(int __fd) {
        var mh$ = sockatmark.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("sockatmark", __fd);
            }
            return (int)mh$.invokeExact(__fd);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class isfdtype {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("isfdtype");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int isfdtype(int __fd, int __fdtype)
     * }
     */
    public static FunctionDescriptor isfdtype$descriptor() {
        return isfdtype.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int isfdtype(int __fd, int __fdtype)
     * }
     */
    public static MethodHandle isfdtype$handle() {
        return isfdtype.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int isfdtype(int __fd, int __fdtype)
     * }
     */
    public static MemorySegment isfdtype$address() {
        return isfdtype.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int isfdtype(int __fd, int __fdtype)
     * }
     */
    public static int isfdtype(int __fd, int __fdtype) {
        var mh$ = isfdtype.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("isfdtype", __fd, __fdtype);
            }
            return (int)mh$.invokeExact(__fd, __fdtype);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }
    private static final int IFF_UP = (int)1L;
    /**
     * {@snippet lang=c :
     * enum net_device_flags.IFF_UP = 1
     * }
     */
    public static int IFF_UP() {
        return IFF_UP;
    }
    private static final int IFF_BROADCAST = (int)2L;
    /**
     * {@snippet lang=c :
     * enum net_device_flags.IFF_BROADCAST = 2
     * }
     */
    public static int IFF_BROADCAST() {
        return IFF_BROADCAST;
    }
    private static final int IFF_DEBUG = (int)4L;
    /**
     * {@snippet lang=c :
     * enum net_device_flags.IFF_DEBUG = 4
     * }
     */
    public static int IFF_DEBUG() {
        return IFF_DEBUG;
    }
    private static final int IFF_LOOPBACK = (int)8L;
    /**
     * {@snippet lang=c :
     * enum net_device_flags.IFF_LOOPBACK = 8
     * }
     */
    public static int IFF_LOOPBACK() {
        return IFF_LOOPBACK;
    }
    private static final int IFF_POINTOPOINT = (int)16L;
    /**
     * {@snippet lang=c :
     * enum net_device_flags.IFF_POINTOPOINT = 16
     * }
     */
    public static int IFF_POINTOPOINT() {
        return IFF_POINTOPOINT;
    }
    private static final int IFF_NOTRAILERS = (int)32L;
    /**
     * {@snippet lang=c :
     * enum net_device_flags.IFF_NOTRAILERS = 32
     * }
     */
    public static int IFF_NOTRAILERS() {
        return IFF_NOTRAILERS;
    }
    private static final int IFF_RUNNING = (int)64L;
    /**
     * {@snippet lang=c :
     * enum net_device_flags.IFF_RUNNING = 64
     * }
     */
    public static int IFF_RUNNING() {
        return IFF_RUNNING;
    }
    private static final int IFF_NOARP = (int)128L;
    /**
     * {@snippet lang=c :
     * enum net_device_flags.IFF_NOARP = 128
     * }
     */
    public static int IFF_NOARP() {
        return IFF_NOARP;
    }
    private static final int IFF_PROMISC = (int)256L;
    /**
     * {@snippet lang=c :
     * enum net_device_flags.IFF_PROMISC = 256
     * }
     */
    public static int IFF_PROMISC() {
        return IFF_PROMISC;
    }
    private static final int IFF_ALLMULTI = (int)512L;
    /**
     * {@snippet lang=c :
     * enum net_device_flags.IFF_ALLMULTI = 512
     * }
     */
    public static int IFF_ALLMULTI() {
        return IFF_ALLMULTI;
    }
    private static final int IFF_MASTER = (int)1024L;
    /**
     * {@snippet lang=c :
     * enum net_device_flags.IFF_MASTER = 1024
     * }
     */
    public static int IFF_MASTER() {
        return IFF_MASTER;
    }
    private static final int IFF_SLAVE = (int)2048L;
    /**
     * {@snippet lang=c :
     * enum net_device_flags.IFF_SLAVE = 2048
     * }
     */
    public static int IFF_SLAVE() {
        return IFF_SLAVE;
    }
    private static final int IFF_MULTICAST = (int)4096L;
    /**
     * {@snippet lang=c :
     * enum net_device_flags.IFF_MULTICAST = 4096
     * }
     */
    public static int IFF_MULTICAST() {
        return IFF_MULTICAST;
    }
    private static final int IFF_PORTSEL = (int)8192L;
    /**
     * {@snippet lang=c :
     * enum net_device_flags.IFF_PORTSEL = 8192
     * }
     */
    public static int IFF_PORTSEL() {
        return IFF_PORTSEL;
    }
    private static final int IFF_AUTOMEDIA = (int)16384L;
    /**
     * {@snippet lang=c :
     * enum net_device_flags.IFF_AUTOMEDIA = 16384
     * }
     */
    public static int IFF_AUTOMEDIA() {
        return IFF_AUTOMEDIA;
    }
    private static final int IFF_DYNAMIC = (int)32768L;
    /**
     * {@snippet lang=c :
     * enum net_device_flags.IFF_DYNAMIC = 32768
     * }
     */
    public static int IFF_DYNAMIC() {
        return IFF_DYNAMIC;
    }
    private static final int IFF_LOWER_UP = (int)65536L;
    /**
     * {@snippet lang=c :
     * enum net_device_flags.IFF_LOWER_UP = 65536
     * }
     */
    public static int IFF_LOWER_UP() {
        return IFF_LOWER_UP;
    }
    private static final int IFF_DORMANT = (int)131072L;
    /**
     * {@snippet lang=c :
     * enum net_device_flags.IFF_DORMANT = 131072
     * }
     */
    public static int IFF_DORMANT() {
        return IFF_DORMANT;
    }
    private static final int IFF_ECHO = (int)262144L;
    /**
     * {@snippet lang=c :
     * enum net_device_flags.IFF_ECHO = 262144
     * }
     */
    public static int IFF_ECHO() {
        return IFF_ECHO;
    }
    private static final int IF_OPER_UNKNOWN = (int)0L;
    /**
     * {@snippet lang=c :
     * enum .IF_OPER_UNKNOWN = 0
     * }
     */
    public static int IF_OPER_UNKNOWN() {
        return IF_OPER_UNKNOWN;
    }
    private static final int IF_OPER_NOTPRESENT = (int)1L;
    /**
     * {@snippet lang=c :
     * enum .IF_OPER_NOTPRESENT = 1
     * }
     */
    public static int IF_OPER_NOTPRESENT() {
        return IF_OPER_NOTPRESENT;
    }
    private static final int IF_OPER_DOWN = (int)2L;
    /**
     * {@snippet lang=c :
     * enum .IF_OPER_DOWN = 2
     * }
     */
    public static int IF_OPER_DOWN() {
        return IF_OPER_DOWN;
    }
    private static final int IF_OPER_LOWERLAYERDOWN = (int)3L;
    /**
     * {@snippet lang=c :
     * enum .IF_OPER_LOWERLAYERDOWN = 3
     * }
     */
    public static int IF_OPER_LOWERLAYERDOWN() {
        return IF_OPER_LOWERLAYERDOWN;
    }
    private static final int IF_OPER_TESTING = (int)4L;
    /**
     * {@snippet lang=c :
     * enum .IF_OPER_TESTING = 4
     * }
     */
    public static int IF_OPER_TESTING() {
        return IF_OPER_TESTING;
    }
    private static final int IF_OPER_DORMANT = (int)5L;
    /**
     * {@snippet lang=c :
     * enum .IF_OPER_DORMANT = 5
     * }
     */
    public static int IF_OPER_DORMANT() {
        return IF_OPER_DORMANT;
    }
    private static final int IF_OPER_UP = (int)6L;
    /**
     * {@snippet lang=c :
     * enum .IF_OPER_UP = 6
     * }
     */
    public static int IF_OPER_UP() {
        return IF_OPER_UP;
    }
    private static final int IF_LINK_MODE_DEFAULT = (int)0L;
    /**
     * {@snippet lang=c :
     * enum .IF_LINK_MODE_DEFAULT = 0
     * }
     */
    public static int IF_LINK_MODE_DEFAULT() {
        return IF_LINK_MODE_DEFAULT;
    }
    private static final int IF_LINK_MODE_DORMANT = (int)1L;
    /**
     * {@snippet lang=c :
     * enum .IF_LINK_MODE_DORMANT = 1
     * }
     */
    public static int IF_LINK_MODE_DORMANT() {
        return IF_LINK_MODE_DORMANT;
    }
    private static final int IF_LINK_MODE_TESTING = (int)2L;
    /**
     * {@snippet lang=c :
     * enum .IF_LINK_MODE_TESTING = 2
     * }
     */
    public static int IF_LINK_MODE_TESTING() {
        return IF_LINK_MODE_TESTING;
    }
    private static final int TCP_FLAG_CWR = (int)32768L;
    /**
     * {@snippet lang=c :
     * enum .TCP_FLAG_CWR = 32768
     * }
     */
    public static int TCP_FLAG_CWR() {
        return TCP_FLAG_CWR;
    }
    private static final int TCP_FLAG_ECE = (int)16384L;
    /**
     * {@snippet lang=c :
     * enum .TCP_FLAG_ECE = 16384
     * }
     */
    public static int TCP_FLAG_ECE() {
        return TCP_FLAG_ECE;
    }
    private static final int TCP_FLAG_URG = (int)8192L;
    /**
     * {@snippet lang=c :
     * enum .TCP_FLAG_URG = 8192
     * }
     */
    public static int TCP_FLAG_URG() {
        return TCP_FLAG_URG;
    }
    private static final int TCP_FLAG_ACK = (int)4096L;
    /**
     * {@snippet lang=c :
     * enum .TCP_FLAG_ACK = 4096
     * }
     */
    public static int TCP_FLAG_ACK() {
        return TCP_FLAG_ACK;
    }
    private static final int TCP_FLAG_PSH = (int)2048L;
    /**
     * {@snippet lang=c :
     * enum .TCP_FLAG_PSH = 2048
     * }
     */
    public static int TCP_FLAG_PSH() {
        return TCP_FLAG_PSH;
    }
    private static final int TCP_FLAG_RST = (int)1024L;
    /**
     * {@snippet lang=c :
     * enum .TCP_FLAG_RST = 1024
     * }
     */
    public static int TCP_FLAG_RST() {
        return TCP_FLAG_RST;
    }
    private static final int TCP_FLAG_SYN = (int)512L;
    /**
     * {@snippet lang=c :
     * enum .TCP_FLAG_SYN = 512
     * }
     */
    public static int TCP_FLAG_SYN() {
        return TCP_FLAG_SYN;
    }
    private static final int TCP_FLAG_FIN = (int)256L;
    /**
     * {@snippet lang=c :
     * enum .TCP_FLAG_FIN = 256
     * }
     */
    public static int TCP_FLAG_FIN() {
        return TCP_FLAG_FIN;
    }
    private static final int TCP_RESERVED_BITS = (int)15L;
    /**
     * {@snippet lang=c :
     * enum .TCP_RESERVED_BITS = 15
     * }
     */
    public static int TCP_RESERVED_BITS() {
        return TCP_RESERVED_BITS;
    }
    private static final int TCP_DATA_OFFSET = (int)240L;
    /**
     * {@snippet lang=c :
     * enum .TCP_DATA_OFFSET = 240
     * }
     */
    public static int TCP_DATA_OFFSET() {
        return TCP_DATA_OFFSET;
    }
    private static final int TCP_NO_QUEUE = (int)0L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NO_QUEUE = 0
     * }
     */
    public static int TCP_NO_QUEUE() {
        return TCP_NO_QUEUE;
    }
    private static final int TCP_RECV_QUEUE = (int)1L;
    /**
     * {@snippet lang=c :
     * enum .TCP_RECV_QUEUE = 1
     * }
     */
    public static int TCP_RECV_QUEUE() {
        return TCP_RECV_QUEUE;
    }
    private static final int TCP_SEND_QUEUE = (int)2L;
    /**
     * {@snippet lang=c :
     * enum .TCP_SEND_QUEUE = 2
     * }
     */
    public static int TCP_SEND_QUEUE() {
        return TCP_SEND_QUEUE;
    }
    private static final int TCP_QUEUES_NR = (int)3L;
    /**
     * {@snippet lang=c :
     * enum .TCP_QUEUES_NR = 3
     * }
     */
    public static int TCP_QUEUES_NR() {
        return TCP_QUEUES_NR;
    }
    private static final int TFO_STATUS_UNSPEC = (int)0L;
    /**
     * {@snippet lang=c :
     * enum tcp_fastopen_client_fail.TFO_STATUS_UNSPEC = 0
     * }
     */
    public static int TFO_STATUS_UNSPEC() {
        return TFO_STATUS_UNSPEC;
    }
    private static final int TFO_COOKIE_UNAVAILABLE = (int)1L;
    /**
     * {@snippet lang=c :
     * enum tcp_fastopen_client_fail.TFO_COOKIE_UNAVAILABLE = 1
     * }
     */
    public static int TFO_COOKIE_UNAVAILABLE() {
        return TFO_COOKIE_UNAVAILABLE;
    }
    private static final int TFO_DATA_NOT_ACKED = (int)2L;
    /**
     * {@snippet lang=c :
     * enum tcp_fastopen_client_fail.TFO_DATA_NOT_ACKED = 2
     * }
     */
    public static int TFO_DATA_NOT_ACKED() {
        return TFO_DATA_NOT_ACKED;
    }
    private static final int TFO_SYN_RETRANSMITTED = (int)3L;
    /**
     * {@snippet lang=c :
     * enum tcp_fastopen_client_fail.TFO_SYN_RETRANSMITTED = 3
     * }
     */
    public static int TFO_SYN_RETRANSMITTED() {
        return TFO_SYN_RETRANSMITTED;
    }
    private static final int TCP_CA_Open = (int)0L;
    /**
     * {@snippet lang=c :
     * enum tcp_ca_state.TCP_CA_Open = 0
     * }
     */
    public static int TCP_CA_Open() {
        return TCP_CA_Open;
    }
    private static final int TCP_CA_Disorder = (int)1L;
    /**
     * {@snippet lang=c :
     * enum tcp_ca_state.TCP_CA_Disorder = 1
     * }
     */
    public static int TCP_CA_Disorder() {
        return TCP_CA_Disorder;
    }
    private static final int TCP_CA_CWR = (int)2L;
    /**
     * {@snippet lang=c :
     * enum tcp_ca_state.TCP_CA_CWR = 2
     * }
     */
    public static int TCP_CA_CWR() {
        return TCP_CA_CWR;
    }
    private static final int TCP_CA_Recovery = (int)3L;
    /**
     * {@snippet lang=c :
     * enum tcp_ca_state.TCP_CA_Recovery = 3
     * }
     */
    public static int TCP_CA_Recovery() {
        return TCP_CA_Recovery;
    }
    private static final int TCP_CA_Loss = (int)4L;
    /**
     * {@snippet lang=c :
     * enum tcp_ca_state.TCP_CA_Loss = 4
     * }
     */
    public static int TCP_CA_Loss() {
        return TCP_CA_Loss;
    }
    private static final int TCP_NLA_PAD = (int)0L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_PAD = 0
     * }
     */
    public static int TCP_NLA_PAD() {
        return TCP_NLA_PAD;
    }
    private static final int TCP_NLA_BUSY = (int)1L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_BUSY = 1
     * }
     */
    public static int TCP_NLA_BUSY() {
        return TCP_NLA_BUSY;
    }
    private static final int TCP_NLA_RWND_LIMITED = (int)2L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_RWND_LIMITED = 2
     * }
     */
    public static int TCP_NLA_RWND_LIMITED() {
        return TCP_NLA_RWND_LIMITED;
    }
    private static final int TCP_NLA_SNDBUF_LIMITED = (int)3L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_SNDBUF_LIMITED = 3
     * }
     */
    public static int TCP_NLA_SNDBUF_LIMITED() {
        return TCP_NLA_SNDBUF_LIMITED;
    }
    private static final int TCP_NLA_DATA_SEGS_OUT = (int)4L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_DATA_SEGS_OUT = 4
     * }
     */
    public static int TCP_NLA_DATA_SEGS_OUT() {
        return TCP_NLA_DATA_SEGS_OUT;
    }
    private static final int TCP_NLA_TOTAL_RETRANS = (int)5L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_TOTAL_RETRANS = 5
     * }
     */
    public static int TCP_NLA_TOTAL_RETRANS() {
        return TCP_NLA_TOTAL_RETRANS;
    }
    private static final int TCP_NLA_PACING_RATE = (int)6L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_PACING_RATE = 6
     * }
     */
    public static int TCP_NLA_PACING_RATE() {
        return TCP_NLA_PACING_RATE;
    }
    private static final int TCP_NLA_DELIVERY_RATE = (int)7L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_DELIVERY_RATE = 7
     * }
     */
    public static int TCP_NLA_DELIVERY_RATE() {
        return TCP_NLA_DELIVERY_RATE;
    }
    private static final int TCP_NLA_SND_CWND = (int)8L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_SND_CWND = 8
     * }
     */
    public static int TCP_NLA_SND_CWND() {
        return TCP_NLA_SND_CWND;
    }
    private static final int TCP_NLA_REORDERING = (int)9L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_REORDERING = 9
     * }
     */
    public static int TCP_NLA_REORDERING() {
        return TCP_NLA_REORDERING;
    }
    private static final int TCP_NLA_MIN_RTT = (int)10L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_MIN_RTT = 10
     * }
     */
    public static int TCP_NLA_MIN_RTT() {
        return TCP_NLA_MIN_RTT;
    }
    private static final int TCP_NLA_RECUR_RETRANS = (int)11L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_RECUR_RETRANS = 11
     * }
     */
    public static int TCP_NLA_RECUR_RETRANS() {
        return TCP_NLA_RECUR_RETRANS;
    }
    private static final int TCP_NLA_DELIVERY_RATE_APP_LMT = (int)12L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_DELIVERY_RATE_APP_LMT = 12
     * }
     */
    public static int TCP_NLA_DELIVERY_RATE_APP_LMT() {
        return TCP_NLA_DELIVERY_RATE_APP_LMT;
    }
    private static final int TCP_NLA_SNDQ_SIZE = (int)13L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_SNDQ_SIZE = 13
     * }
     */
    public static int TCP_NLA_SNDQ_SIZE() {
        return TCP_NLA_SNDQ_SIZE;
    }
    private static final int TCP_NLA_CA_STATE = (int)14L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_CA_STATE = 14
     * }
     */
    public static int TCP_NLA_CA_STATE() {
        return TCP_NLA_CA_STATE;
    }
    private static final int TCP_NLA_SND_SSTHRESH = (int)15L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_SND_SSTHRESH = 15
     * }
     */
    public static int TCP_NLA_SND_SSTHRESH() {
        return TCP_NLA_SND_SSTHRESH;
    }
    private static final int TCP_NLA_DELIVERED = (int)16L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_DELIVERED = 16
     * }
     */
    public static int TCP_NLA_DELIVERED() {
        return TCP_NLA_DELIVERED;
    }
    private static final int TCP_NLA_DELIVERED_CE = (int)17L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_DELIVERED_CE = 17
     * }
     */
    public static int TCP_NLA_DELIVERED_CE() {
        return TCP_NLA_DELIVERED_CE;
    }
    private static final int TCP_NLA_BYTES_SENT = (int)18L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_BYTES_SENT = 18
     * }
     */
    public static int TCP_NLA_BYTES_SENT() {
        return TCP_NLA_BYTES_SENT;
    }
    private static final int TCP_NLA_BYTES_RETRANS = (int)19L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_BYTES_RETRANS = 19
     * }
     */
    public static int TCP_NLA_BYTES_RETRANS() {
        return TCP_NLA_BYTES_RETRANS;
    }
    private static final int TCP_NLA_DSACK_DUPS = (int)20L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_DSACK_DUPS = 20
     * }
     */
    public static int TCP_NLA_DSACK_DUPS() {
        return TCP_NLA_DSACK_DUPS;
    }
    private static final int TCP_NLA_REORD_SEEN = (int)21L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_REORD_SEEN = 21
     * }
     */
    public static int TCP_NLA_REORD_SEEN() {
        return TCP_NLA_REORD_SEEN;
    }
    private static final int TCP_NLA_SRTT = (int)22L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_SRTT = 22
     * }
     */
    public static int TCP_NLA_SRTT() {
        return TCP_NLA_SRTT;
    }
    private static final int TCP_NLA_TIMEOUT_REHASH = (int)23L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_TIMEOUT_REHASH = 23
     * }
     */
    public static int TCP_NLA_TIMEOUT_REHASH() {
        return TCP_NLA_TIMEOUT_REHASH;
    }
    private static final int TCP_NLA_BYTES_NOTSENT = (int)24L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_BYTES_NOTSENT = 24
     * }
     */
    public static int TCP_NLA_BYTES_NOTSENT() {
        return TCP_NLA_BYTES_NOTSENT;
    }
    private static final int TCP_NLA_EDT = (int)25L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_EDT = 25
     * }
     */
    public static int TCP_NLA_EDT() {
        return TCP_NLA_EDT;
    }
    private static final int TCP_NLA_TTL = (int)26L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_TTL = 26
     * }
     */
    public static int TCP_NLA_TTL() {
        return TCP_NLA_TTL;
    }
    private static final int TCP_NLA_REHASH = (int)27L;
    /**
     * {@snippet lang=c :
     * enum .TCP_NLA_REHASH = 27
     * }
     */
    public static int TCP_NLA_REHASH() {
        return TCP_NLA_REHASH;
    }
    private static final int IPPROTO_IP = (int)0L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_IP = 0
     * }
     */
    public static int IPPROTO_IP() {
        return IPPROTO_IP;
    }
    private static final int IPPROTO_ICMP = (int)1L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_ICMP = 1
     * }
     */
    public static int IPPROTO_ICMP() {
        return IPPROTO_ICMP;
    }
    private static final int IPPROTO_IGMP = (int)2L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_IGMP = 2
     * }
     */
    public static int IPPROTO_IGMP() {
        return IPPROTO_IGMP;
    }
    private static final int IPPROTO_IPIP = (int)4L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_IPIP = 4
     * }
     */
    public static int IPPROTO_IPIP() {
        return IPPROTO_IPIP;
    }
    private static final int IPPROTO_TCP = (int)6L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_TCP = 6
     * }
     */
    public static int IPPROTO_TCP() {
        return IPPROTO_TCP;
    }
    private static final int IPPROTO_EGP = (int)8L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_EGP = 8
     * }
     */
    public static int IPPROTO_EGP() {
        return IPPROTO_EGP;
    }
    private static final int IPPROTO_PUP = (int)12L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_PUP = 12
     * }
     */
    public static int IPPROTO_PUP() {
        return IPPROTO_PUP;
    }
    private static final int IPPROTO_UDP = (int)17L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_UDP = 17
     * }
     */
    public static int IPPROTO_UDP() {
        return IPPROTO_UDP;
    }
    private static final int IPPROTO_IDP = (int)22L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_IDP = 22
     * }
     */
    public static int IPPROTO_IDP() {
        return IPPROTO_IDP;
    }
    private static final int IPPROTO_TP = (int)29L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_TP = 29
     * }
     */
    public static int IPPROTO_TP() {
        return IPPROTO_TP;
    }
    private static final int IPPROTO_DCCP = (int)33L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_DCCP = 33
     * }
     */
    public static int IPPROTO_DCCP() {
        return IPPROTO_DCCP;
    }
    private static final int IPPROTO_IPV6 = (int)41L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_IPV6 = 41
     * }
     */
    public static int IPPROTO_IPV6() {
        return IPPROTO_IPV6;
    }
    private static final int IPPROTO_RSVP = (int)46L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_RSVP = 46
     * }
     */
    public static int IPPROTO_RSVP() {
        return IPPROTO_RSVP;
    }
    private static final int IPPROTO_GRE = (int)47L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_GRE = 47
     * }
     */
    public static int IPPROTO_GRE() {
        return IPPROTO_GRE;
    }
    private static final int IPPROTO_ESP = (int)50L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_ESP = 50
     * }
     */
    public static int IPPROTO_ESP() {
        return IPPROTO_ESP;
    }
    private static final int IPPROTO_AH = (int)51L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_AH = 51
     * }
     */
    public static int IPPROTO_AH() {
        return IPPROTO_AH;
    }
    private static final int IPPROTO_MTP = (int)92L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_MTP = 92
     * }
     */
    public static int IPPROTO_MTP() {
        return IPPROTO_MTP;
    }
    private static final int IPPROTO_BEETPH = (int)94L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_BEETPH = 94
     * }
     */
    public static int IPPROTO_BEETPH() {
        return IPPROTO_BEETPH;
    }
    private static final int IPPROTO_ENCAP = (int)98L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_ENCAP = 98
     * }
     */
    public static int IPPROTO_ENCAP() {
        return IPPROTO_ENCAP;
    }
    private static final int IPPROTO_PIM = (int)103L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_PIM = 103
     * }
     */
    public static int IPPROTO_PIM() {
        return IPPROTO_PIM;
    }
    private static final int IPPROTO_COMP = (int)108L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_COMP = 108
     * }
     */
    public static int IPPROTO_COMP() {
        return IPPROTO_COMP;
    }
    private static final int IPPROTO_L2TP = (int)115L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_L2TP = 115
     * }
     */
    public static int IPPROTO_L2TP() {
        return IPPROTO_L2TP;
    }
    private static final int IPPROTO_SCTP = (int)132L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_SCTP = 132
     * }
     */
    public static int IPPROTO_SCTP() {
        return IPPROTO_SCTP;
    }
    private static final int IPPROTO_UDPLITE = (int)136L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_UDPLITE = 136
     * }
     */
    public static int IPPROTO_UDPLITE() {
        return IPPROTO_UDPLITE;
    }
    private static final int IPPROTO_MPLS = (int)137L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_MPLS = 137
     * }
     */
    public static int IPPROTO_MPLS() {
        return IPPROTO_MPLS;
    }
    private static final int IPPROTO_ETHERNET = (int)143L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_ETHERNET = 143
     * }
     */
    public static int IPPROTO_ETHERNET() {
        return IPPROTO_ETHERNET;
    }
    private static final int IPPROTO_RAW = (int)255L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_RAW = 255
     * }
     */
    public static int IPPROTO_RAW() {
        return IPPROTO_RAW;
    }
    private static final int IPPROTO_MPTCP = (int)262L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_MPTCP = 262
     * }
     */
    public static int IPPROTO_MPTCP() {
        return IPPROTO_MPTCP;
    }
    private static final int IPPROTO_MAX = (int)263L;
    /**
     * {@snippet lang=c :
     * enum .IPPROTO_MAX = 263
     * }
     */
    public static int IPPROTO_MAX() {
        return IPPROTO_MAX;
    }
    /**
     * {@snippet lang=c :
     * typedef unsigned long __cpu_mask
     * }
     */
    public static final OfLong __cpu_mask = Lib.C_LONG;

    private static class __sched_cpucount {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_LONG,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("__sched_cpucount");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int __sched_cpucount(size_t __setsize, const cpu_set_t *__setp)
     * }
     */
    public static FunctionDescriptor __sched_cpucount$descriptor() {
        return __sched_cpucount.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int __sched_cpucount(size_t __setsize, const cpu_set_t *__setp)
     * }
     */
    public static MethodHandle __sched_cpucount$handle() {
        return __sched_cpucount.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int __sched_cpucount(size_t __setsize, const cpu_set_t *__setp)
     * }
     */
    public static MemorySegment __sched_cpucount$address() {
        return __sched_cpucount.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int __sched_cpucount(size_t __setsize, const cpu_set_t *__setp)
     * }
     */
    public static int __sched_cpucount(long __setsize, MemorySegment __setp) {
        var mh$ = __sched_cpucount.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("__sched_cpucount", __setsize, __setp);
            }
            return (int)mh$.invokeExact(__setsize, __setp);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class __sched_cpualloc {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_POINTER,
            Lib.C_LONG
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("__sched_cpualloc");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern cpu_set_t *__sched_cpualloc(size_t __count)
     * }
     */
    public static FunctionDescriptor __sched_cpualloc$descriptor() {
        return __sched_cpualloc.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern cpu_set_t *__sched_cpualloc(size_t __count)
     * }
     */
    public static MethodHandle __sched_cpualloc$handle() {
        return __sched_cpualloc.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern cpu_set_t *__sched_cpualloc(size_t __count)
     * }
     */
    public static MemorySegment __sched_cpualloc$address() {
        return __sched_cpualloc.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern cpu_set_t *__sched_cpualloc(size_t __count)
     * }
     */
    public static MemorySegment __sched_cpualloc(long __count) {
        var mh$ = __sched_cpualloc.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("__sched_cpualloc", __count);
            }
            return (MemorySegment)mh$.invokeExact(__count);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class __sched_cpufree {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("__sched_cpufree");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern void __sched_cpufree(cpu_set_t *__set)
     * }
     */
    public static FunctionDescriptor __sched_cpufree$descriptor() {
        return __sched_cpufree.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern void __sched_cpufree(cpu_set_t *__set)
     * }
     */
    public static MethodHandle __sched_cpufree$handle() {
        return __sched_cpufree.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern void __sched_cpufree(cpu_set_t *__set)
     * }
     */
    public static MemorySegment __sched_cpufree$address() {
        return __sched_cpufree.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern void __sched_cpufree(cpu_set_t *__set)
     * }
     */
    public static void __sched_cpufree(MemorySegment __set) {
        var mh$ = __sched_cpufree.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("__sched_cpufree", __set);
            }
            mh$.invokeExact(__set);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class sched_setparam {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("sched_setparam");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int sched_setparam(__pid_t __pid, const struct sched_param *__param)
     * }
     */
    public static FunctionDescriptor sched_setparam$descriptor() {
        return sched_setparam.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int sched_setparam(__pid_t __pid, const struct sched_param *__param)
     * }
     */
    public static MethodHandle sched_setparam$handle() {
        return sched_setparam.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int sched_setparam(__pid_t __pid, const struct sched_param *__param)
     * }
     */
    public static MemorySegment sched_setparam$address() {
        return sched_setparam.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int sched_setparam(__pid_t __pid, const struct sched_param *__param)
     * }
     */
    public static int sched_setparam(int __pid, MemorySegment __param) {
        var mh$ = sched_setparam.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("sched_setparam", __pid, __param);
            }
            return (int)mh$.invokeExact(__pid, __param);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class sched_getparam {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("sched_getparam");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int sched_getparam(__pid_t __pid, struct sched_param *__param)
     * }
     */
    public static FunctionDescriptor sched_getparam$descriptor() {
        return sched_getparam.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int sched_getparam(__pid_t __pid, struct sched_param *__param)
     * }
     */
    public static MethodHandle sched_getparam$handle() {
        return sched_getparam.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int sched_getparam(__pid_t __pid, struct sched_param *__param)
     * }
     */
    public static MemorySegment sched_getparam$address() {
        return sched_getparam.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int sched_getparam(__pid_t __pid, struct sched_param *__param)
     * }
     */
    public static int sched_getparam(int __pid, MemorySegment __param) {
        var mh$ = sched_getparam.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("sched_getparam", __pid, __param);
            }
            return (int)mh$.invokeExact(__pid, __param);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class sched_setscheduler {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("sched_setscheduler");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int sched_setscheduler(__pid_t __pid, int __policy, const struct sched_param *__param)
     * }
     */
    public static FunctionDescriptor sched_setscheduler$descriptor() {
        return sched_setscheduler.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int sched_setscheduler(__pid_t __pid, int __policy, const struct sched_param *__param)
     * }
     */
    public static MethodHandle sched_setscheduler$handle() {
        return sched_setscheduler.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int sched_setscheduler(__pid_t __pid, int __policy, const struct sched_param *__param)
     * }
     */
    public static MemorySegment sched_setscheduler$address() {
        return sched_setscheduler.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int sched_setscheduler(__pid_t __pid, int __policy, const struct sched_param *__param)
     * }
     */
    public static int sched_setscheduler(int __pid, int __policy, MemorySegment __param) {
        var mh$ = sched_setscheduler.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("sched_setscheduler", __pid, __policy, __param);
            }
            return (int)mh$.invokeExact(__pid, __policy, __param);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class sched_getscheduler {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("sched_getscheduler");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int sched_getscheduler(__pid_t __pid)
     * }
     */
    public static FunctionDescriptor sched_getscheduler$descriptor() {
        return sched_getscheduler.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int sched_getscheduler(__pid_t __pid)
     * }
     */
    public static MethodHandle sched_getscheduler$handle() {
        return sched_getscheduler.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int sched_getscheduler(__pid_t __pid)
     * }
     */
    public static MemorySegment sched_getscheduler$address() {
        return sched_getscheduler.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int sched_getscheduler(__pid_t __pid)
     * }
     */
    public static int sched_getscheduler(int __pid) {
        var mh$ = sched_getscheduler.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("sched_getscheduler", __pid);
            }
            return (int)mh$.invokeExact(__pid);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class sched_yield {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT    );

        public static final MemorySegment ADDR = Lib.findOrThrow("sched_yield");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int sched_yield()
     * }
     */
    public static FunctionDescriptor sched_yield$descriptor() {
        return sched_yield.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int sched_yield()
     * }
     */
    public static MethodHandle sched_yield$handle() {
        return sched_yield.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int sched_yield()
     * }
     */
    public static MemorySegment sched_yield$address() {
        return sched_yield.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int sched_yield()
     * }
     */
    public static int sched_yield() {
        var mh$ = sched_yield.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("sched_yield");
            }
            return (int)mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class sched_get_priority_max {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("sched_get_priority_max");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int sched_get_priority_max(int __algorithm)
     * }
     */
    public static FunctionDescriptor sched_get_priority_max$descriptor() {
        return sched_get_priority_max.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int sched_get_priority_max(int __algorithm)
     * }
     */
    public static MethodHandle sched_get_priority_max$handle() {
        return sched_get_priority_max.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int sched_get_priority_max(int __algorithm)
     * }
     */
    public static MemorySegment sched_get_priority_max$address() {
        return sched_get_priority_max.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int sched_get_priority_max(int __algorithm)
     * }
     */
    public static int sched_get_priority_max(int __algorithm) {
        var mh$ = sched_get_priority_max.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("sched_get_priority_max", __algorithm);
            }
            return (int)mh$.invokeExact(__algorithm);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class sched_get_priority_min {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("sched_get_priority_min");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int sched_get_priority_min(int __algorithm)
     * }
     */
    public static FunctionDescriptor sched_get_priority_min$descriptor() {
        return sched_get_priority_min.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int sched_get_priority_min(int __algorithm)
     * }
     */
    public static MethodHandle sched_get_priority_min$handle() {
        return sched_get_priority_min.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int sched_get_priority_min(int __algorithm)
     * }
     */
    public static MemorySegment sched_get_priority_min$address() {
        return sched_get_priority_min.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int sched_get_priority_min(int __algorithm)
     * }
     */
    public static int sched_get_priority_min(int __algorithm) {
        var mh$ = sched_get_priority_min.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("sched_get_priority_min", __algorithm);
            }
            return (int)mh$.invokeExact(__algorithm);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class sched_rr_get_interval {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Lib.C_INT,
            Lib.C_INT,
            Lib.C_POINTER
        );

        public static final MemorySegment ADDR = Lib.findOrThrow("sched_rr_get_interval");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * extern int sched_rr_get_interval(__pid_t __pid, struct timespec *__t)
     * }
     */
    public static FunctionDescriptor sched_rr_get_interval$descriptor() {
        return sched_rr_get_interval.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * extern int sched_rr_get_interval(__pid_t __pid, struct timespec *__t)
     * }
     */
    public static MethodHandle sched_rr_get_interval$handle() {
        return sched_rr_get_interval.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * extern int sched_rr_get_interval(__pid_t __pid, struct timespec *__t)
     * }
     */
    public static MemorySegment sched_rr_get_interval$address() {
        return sched_rr_get_interval.ADDR;
    }

    /**
     * {@snippet lang=c :
     * extern int sched_rr_get_interval(__pid_t __pid, struct timespec *__t)
     * }
     */
    public static int sched_rr_get_interval(int __pid, MemorySegment __t) {
        var mh$ = sched_rr_get_interval.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("sched_rr_get_interval", __pid, __t);
            }
            return (int)mh$.invokeExact(__pid, __t);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }
    private static final int BPF_FROM_LE = (int)0L;
    /**
     * {@snippet lang=c :
     * #define BPF_FROM_LE 0
     * }
     */
    public static int BPF_FROM_LE() {
        return BPF_FROM_LE;
    }
    private static final int BPF_FROM_BE = (int)8L;
    /**
     * {@snippet lang=c :
     * #define BPF_FROM_BE 8
     * }
     */
    public static int BPF_FROM_BE() {
        return BPF_FROM_BE;
    }
    private static final int BPF_XCHG = (int)225L;
    /**
     * {@snippet lang=c :
     * #define BPF_XCHG 225
     * }
     */
    public static int BPF_XCHG() {
        return BPF_XCHG;
    }
    private static final int BPF_CMPXCHG = (int)241L;
    /**
     * {@snippet lang=c :
     * #define BPF_CMPXCHG 241
     * }
     */
    public static int BPF_CMPXCHG() {
        return BPF_CMPXCHG;
    }
    private static final int MAX_BPF_REG = (int)11L;
    /**
     * {@snippet lang=c :
     * #define MAX_BPF_REG 11
     * }
     */
    public static int MAX_BPF_REG() {
        return MAX_BPF_REG;
    }
    private static final int MAX_BPF_ATTACH_TYPE = (int)57L;
    /**
     * {@snippet lang=c :
     * #define MAX_BPF_ATTACH_TYPE 57
     * }
     */
    public static int MAX_BPF_ATTACH_TYPE() {
        return MAX_BPF_ATTACH_TYPE;
    }
    private static final int MAX_BPF_LINK_TYPE = (int)15L;
    /**
     * {@snippet lang=c :
     * #define MAX_BPF_LINK_TYPE 15
     * }
     */
    public static int MAX_BPF_LINK_TYPE() {
        return MAX_BPF_LINK_TYPE;
    }
    private static final int BPF_F_ALLOW_OVERRIDE = (int)1L;
    /**
     * {@snippet lang=c :
     * #define BPF_F_ALLOW_OVERRIDE 1
     * }
     */
    public static int BPF_F_ALLOW_OVERRIDE() {
        return BPF_F_ALLOW_OVERRIDE;
    }
    private static final int BPF_F_ALLOW_MULTI = (int)2L;
    /**
     * {@snippet lang=c :
     * #define BPF_F_ALLOW_MULTI 2
     * }
     */
    public static int BPF_F_ALLOW_MULTI() {
        return BPF_F_ALLOW_MULTI;
    }
    private static final int BPF_F_REPLACE = (int)4L;
    /**
     * {@snippet lang=c :
     * #define BPF_F_REPLACE 4
     * }
     */
    public static int BPF_F_REPLACE() {
        return BPF_F_REPLACE;
    }
    private static final int BPF_F_BEFORE = (int)8L;
    /**
     * {@snippet lang=c :
     * #define BPF_F_BEFORE 8
     * }
     */
    public static int BPF_F_BEFORE() {
        return BPF_F_BEFORE;
    }
    private static final int BPF_F_AFTER = (int)16L;
    /**
     * {@snippet lang=c :
     * #define BPF_F_AFTER 16
     * }
     */
    public static int BPF_F_AFTER() {
        return BPF_F_AFTER;
    }
    private static final int BPF_F_ID = (int)32L;
    /**
     * {@snippet lang=c :
     * #define BPF_F_ID 32
     * }
     */
    public static int BPF_F_ID() {
        return BPF_F_ID;
    }
    private static final int BPF_F_STRICT_ALIGNMENT = (int)1L;
    /**
     * {@snippet lang=c :
     * #define BPF_F_STRICT_ALIGNMENT 1
     * }
     */
    public static int BPF_F_STRICT_ALIGNMENT() {
        return BPF_F_STRICT_ALIGNMENT;
    }
    private static final int BPF_F_ANY_ALIGNMENT = (int)2L;
    /**
     * {@snippet lang=c :
     * #define BPF_F_ANY_ALIGNMENT 2
     * }
     */
    public static int BPF_F_ANY_ALIGNMENT() {
        return BPF_F_ANY_ALIGNMENT;
    }
    private static final int BPF_F_TEST_RND_HI32 = (int)4L;
    /**
     * {@snippet lang=c :
     * #define BPF_F_TEST_RND_HI32 4
     * }
     */
    public static int BPF_F_TEST_RND_HI32() {
        return BPF_F_TEST_RND_HI32;
    }
    private static final int BPF_F_TEST_STATE_FREQ = (int)8L;
    /**
     * {@snippet lang=c :
     * #define BPF_F_TEST_STATE_FREQ 8
     * }
     */
    public static int BPF_F_TEST_STATE_FREQ() {
        return BPF_F_TEST_STATE_FREQ;
    }
    private static final int BPF_F_SLEEPABLE = (int)16L;
    /**
     * {@snippet lang=c :
     * #define BPF_F_SLEEPABLE 16
     * }
     */
    public static int BPF_F_SLEEPABLE() {
        return BPF_F_SLEEPABLE;
    }
    private static final int BPF_F_XDP_HAS_FRAGS = (int)32L;
    /**
     * {@snippet lang=c :
     * #define BPF_F_XDP_HAS_FRAGS 32
     * }
     */
    public static int BPF_F_XDP_HAS_FRAGS() {
        return BPF_F_XDP_HAS_FRAGS;
    }
    private static final int BPF_F_XDP_DEV_BOUND_ONLY = (int)64L;
    /**
     * {@snippet lang=c :
     * #define BPF_F_XDP_DEV_BOUND_ONLY 64
     * }
     */
    public static int BPF_F_XDP_DEV_BOUND_ONLY() {
        return BPF_F_XDP_DEV_BOUND_ONLY;
    }
    private static final int BPF_F_TEST_REG_INVARIANTS = (int)128L;
    /**
     * {@snippet lang=c :
     * #define BPF_F_TEST_REG_INVARIANTS 128
     * }
     */
    public static int BPF_F_TEST_REG_INVARIANTS() {
        return BPF_F_TEST_REG_INVARIANTS;
    }
    private static final int BPF_F_NETFILTER_IP_DEFRAG = (int)1L;
    /**
     * {@snippet lang=c :
     * #define BPF_F_NETFILTER_IP_DEFRAG 1
     * }
     */
    public static int BPF_F_NETFILTER_IP_DEFRAG() {
        return BPF_F_NETFILTER_IP_DEFRAG;
    }
    private static final int BPF_F_QUERY_EFFECTIVE = (int)1L;
    /**
     * {@snippet lang=c :
     * #define BPF_F_QUERY_EFFECTIVE 1
     * }
     */
    public static int BPF_F_QUERY_EFFECTIVE() {
        return BPF_F_QUERY_EFFECTIVE;
    }
    private static final int BPF_F_TEST_RUN_ON_CPU = (int)1L;
    /**
     * {@snippet lang=c :
     * #define BPF_F_TEST_RUN_ON_CPU 1
     * }
     */
    public static int BPF_F_TEST_RUN_ON_CPU() {
        return BPF_F_TEST_RUN_ON_CPU;
    }
    private static final int BPF_F_TEST_XDP_LIVE_FRAMES = (int)2L;
    /**
     * {@snippet lang=c :
     * #define BPF_F_TEST_XDP_LIVE_FRAMES 2
     * }
     */
    public static int BPF_F_TEST_XDP_LIVE_FRAMES() {
        return BPF_F_TEST_XDP_LIVE_FRAMES;
    }
    private static final int BPF_OBJ_NAME_LEN = (int)16L;
    /**
     * {@snippet lang=c :
     * #define BPF_OBJ_NAME_LEN 16
     * }
     */
    public static int BPF_OBJ_NAME_LEN() {
        return BPF_OBJ_NAME_LEN;
    }
    private static final MemorySegment NULL = MemorySegment.ofAddress(0L);
    /**
     * {@snippet lang=c :
     * #define NULL (void*) 0
     * }
     */
    public static MemorySegment NULL() {
        return NULL;
    }
    private static final long _POSIX_C_SOURCE = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_C_SOURCE 200809
     * }
     */
    public static long _POSIX_C_SOURCE() {
        return _POSIX_C_SOURCE;
    }
    private static final int __TIMESIZE = (int)64L;
    /**
     * {@snippet lang=c :
     * #define __TIMESIZE 64
     * }
     */
    public static int __TIMESIZE() {
        return __TIMESIZE;
    }
    private static final long __STDC_IEC_60559_BFP__ = 201404L;
    /**
     * {@snippet lang=c :
     * #define __STDC_IEC_60559_BFP__ 201404
     * }
     */
    public static long __STDC_IEC_60559_BFP__() {
        return __STDC_IEC_60559_BFP__;
    }
    private static final long __STDC_IEC_60559_COMPLEX__ = 201404L;
    /**
     * {@snippet lang=c :
     * #define __STDC_IEC_60559_COMPLEX__ 201404
     * }
     */
    public static long __STDC_IEC_60559_COMPLEX__() {
        return __STDC_IEC_60559_COMPLEX__;
    }
    private static final long __STDC_ISO_10646__ = 201706L;
    /**
     * {@snippet lang=c :
     * #define __STDC_ISO_10646__ 201706
     * }
     */
    public static long __STDC_ISO_10646__() {
        return __STDC_ISO_10646__;
    }
    private static final int __WCHAR_MAX = (int)2147483647L;
    /**
     * {@snippet lang=c :
     * #define __WCHAR_MAX 2147483647
     * }
     */
    public static int __WCHAR_MAX() {
        return __WCHAR_MAX;
    }
    private static final int __WCHAR_MIN = (int)-2147483648L;
    /**
     * {@snippet lang=c :
     * #define __WCHAR_MIN -2147483648
     * }
     */
    public static int __WCHAR_MIN() {
        return __WCHAR_MIN;
    }
    private static final int INT8_MIN = (int)-128L;
    /**
     * {@snippet lang=c :
     * #define INT8_MIN -128
     * }
     */
    public static int INT8_MIN() {
        return INT8_MIN;
    }
    private static final int INT16_MIN = (int)-32768L;
    /**
     * {@snippet lang=c :
     * #define INT16_MIN -32768
     * }
     */
    public static int INT16_MIN() {
        return INT16_MIN;
    }
    private static final int INT32_MIN = (int)-2147483648L;
    /**
     * {@snippet lang=c :
     * #define INT32_MIN -2147483648
     * }
     */
    public static int INT32_MIN() {
        return INT32_MIN;
    }
    private static final long INT64_MIN = -9223372036854775808L;
    /**
     * {@snippet lang=c :
     * #define INT64_MIN -9223372036854775808
     * }
     */
    public static long INT64_MIN() {
        return INT64_MIN;
    }
    private static final int INT8_MAX = (int)127L;
    /**
     * {@snippet lang=c :
     * #define INT8_MAX 127
     * }
     */
    public static int INT8_MAX() {
        return INT8_MAX;
    }
    private static final int INT16_MAX = (int)32767L;
    /**
     * {@snippet lang=c :
     * #define INT16_MAX 32767
     * }
     */
    public static int INT16_MAX() {
        return INT16_MAX;
    }
    private static final int INT32_MAX = (int)2147483647L;
    /**
     * {@snippet lang=c :
     * #define INT32_MAX 2147483647
     * }
     */
    public static int INT32_MAX() {
        return INT32_MAX;
    }
    private static final long INT64_MAX = 9223372036854775807L;
    /**
     * {@snippet lang=c :
     * #define INT64_MAX 9223372036854775807
     * }
     */
    public static long INT64_MAX() {
        return INT64_MAX;
    }
    private static final int UINT8_MAX = (int)255L;
    /**
     * {@snippet lang=c :
     * #define UINT8_MAX 255
     * }
     */
    public static int UINT8_MAX() {
        return UINT8_MAX;
    }
    private static final int UINT16_MAX = (int)65535L;
    /**
     * {@snippet lang=c :
     * #define UINT16_MAX 65535
     * }
     */
    public static int UINT16_MAX() {
        return UINT16_MAX;
    }
    private static final int UINT32_MAX = (int)4294967295L;
    /**
     * {@snippet lang=c :
     * #define UINT32_MAX 4294967295
     * }
     */
    public static int UINT32_MAX() {
        return UINT32_MAX;
    }
    private static final long UINT64_MAX = -1L;
    /**
     * {@snippet lang=c :
     * #define UINT64_MAX -1
     * }
     */
    public static long UINT64_MAX() {
        return UINT64_MAX;
    }
    private static final int INT_LEAST8_MIN = (int)-128L;
    /**
     * {@snippet lang=c :
     * #define INT_LEAST8_MIN -128
     * }
     */
    public static int INT_LEAST8_MIN() {
        return INT_LEAST8_MIN;
    }
    private static final int INT_LEAST16_MIN = (int)-32768L;
    /**
     * {@snippet lang=c :
     * #define INT_LEAST16_MIN -32768
     * }
     */
    public static int INT_LEAST16_MIN() {
        return INT_LEAST16_MIN;
    }
    private static final int INT_LEAST32_MIN = (int)-2147483648L;
    /**
     * {@snippet lang=c :
     * #define INT_LEAST32_MIN -2147483648
     * }
     */
    public static int INT_LEAST32_MIN() {
        return INT_LEAST32_MIN;
    }
    private static final long INT_LEAST64_MIN = -9223372036854775808L;
    /**
     * {@snippet lang=c :
     * #define INT_LEAST64_MIN -9223372036854775808
     * }
     */
    public static long INT_LEAST64_MIN() {
        return INT_LEAST64_MIN;
    }
    private static final int INT_LEAST8_MAX = (int)127L;
    /**
     * {@snippet lang=c :
     * #define INT_LEAST8_MAX 127
     * }
     */
    public static int INT_LEAST8_MAX() {
        return INT_LEAST8_MAX;
    }
    private static final int INT_LEAST16_MAX = (int)32767L;
    /**
     * {@snippet lang=c :
     * #define INT_LEAST16_MAX 32767
     * }
     */
    public static int INT_LEAST16_MAX() {
        return INT_LEAST16_MAX;
    }
    private static final int INT_LEAST32_MAX = (int)2147483647L;
    /**
     * {@snippet lang=c :
     * #define INT_LEAST32_MAX 2147483647
     * }
     */
    public static int INT_LEAST32_MAX() {
        return INT_LEAST32_MAX;
    }
    private static final long INT_LEAST64_MAX = 9223372036854775807L;
    /**
     * {@snippet lang=c :
     * #define INT_LEAST64_MAX 9223372036854775807
     * }
     */
    public static long INT_LEAST64_MAX() {
        return INT_LEAST64_MAX;
    }
    private static final int UINT_LEAST8_MAX = (int)255L;
    /**
     * {@snippet lang=c :
     * #define UINT_LEAST8_MAX 255
     * }
     */
    public static int UINT_LEAST8_MAX() {
        return UINT_LEAST8_MAX;
    }
    private static final int UINT_LEAST16_MAX = (int)65535L;
    /**
     * {@snippet lang=c :
     * #define UINT_LEAST16_MAX 65535
     * }
     */
    public static int UINT_LEAST16_MAX() {
        return UINT_LEAST16_MAX;
    }
    private static final int UINT_LEAST32_MAX = (int)4294967295L;
    /**
     * {@snippet lang=c :
     * #define UINT_LEAST32_MAX 4294967295
     * }
     */
    public static int UINT_LEAST32_MAX() {
        return UINT_LEAST32_MAX;
    }
    private static final long UINT_LEAST64_MAX = -1L;
    /**
     * {@snippet lang=c :
     * #define UINT_LEAST64_MAX -1
     * }
     */
    public static long UINT_LEAST64_MAX() {
        return UINT_LEAST64_MAX;
    }
    private static final int INT_FAST8_MIN = (int)-128L;
    /**
     * {@snippet lang=c :
     * #define INT_FAST8_MIN -128
     * }
     */
    public static int INT_FAST8_MIN() {
        return INT_FAST8_MIN;
    }
    private static final long INT_FAST16_MIN = -9223372036854775808L;
    /**
     * {@snippet lang=c :
     * #define INT_FAST16_MIN -9223372036854775808
     * }
     */
    public static long INT_FAST16_MIN() {
        return INT_FAST16_MIN;
    }
    private static final long INT_FAST32_MIN = -9223372036854775808L;
    /**
     * {@snippet lang=c :
     * #define INT_FAST32_MIN -9223372036854775808
     * }
     */
    public static long INT_FAST32_MIN() {
        return INT_FAST32_MIN;
    }
    private static final long INT_FAST64_MIN = -9223372036854775808L;
    /**
     * {@snippet lang=c :
     * #define INT_FAST64_MIN -9223372036854775808
     * }
     */
    public static long INT_FAST64_MIN() {
        return INT_FAST64_MIN;
    }
    private static final int INT_FAST8_MAX = (int)127L;
    /**
     * {@snippet lang=c :
     * #define INT_FAST8_MAX 127
     * }
     */
    public static int INT_FAST8_MAX() {
        return INT_FAST8_MAX;
    }
    private static final long INT_FAST16_MAX = 9223372036854775807L;
    /**
     * {@snippet lang=c :
     * #define INT_FAST16_MAX 9223372036854775807
     * }
     */
    public static long INT_FAST16_MAX() {
        return INT_FAST16_MAX;
    }
    private static final long INT_FAST32_MAX = 9223372036854775807L;
    /**
     * {@snippet lang=c :
     * #define INT_FAST32_MAX 9223372036854775807
     * }
     */
    public static long INT_FAST32_MAX() {
        return INT_FAST32_MAX;
    }
    private static final long INT_FAST64_MAX = 9223372036854775807L;
    /**
     * {@snippet lang=c :
     * #define INT_FAST64_MAX 9223372036854775807
     * }
     */
    public static long INT_FAST64_MAX() {
        return INT_FAST64_MAX;
    }
    private static final int UINT_FAST8_MAX = (int)255L;
    /**
     * {@snippet lang=c :
     * #define UINT_FAST8_MAX 255
     * }
     */
    public static int UINT_FAST8_MAX() {
        return UINT_FAST8_MAX;
    }
    private static final long UINT_FAST16_MAX = -1L;
    /**
     * {@snippet lang=c :
     * #define UINT_FAST16_MAX -1
     * }
     */
    public static long UINT_FAST16_MAX() {
        return UINT_FAST16_MAX;
    }
    private static final long UINT_FAST32_MAX = -1L;
    /**
     * {@snippet lang=c :
     * #define UINT_FAST32_MAX -1
     * }
     */
    public static long UINT_FAST32_MAX() {
        return UINT_FAST32_MAX;
    }
    private static final long UINT_FAST64_MAX = -1L;
    /**
     * {@snippet lang=c :
     * #define UINT_FAST64_MAX -1
     * }
     */
    public static long UINT_FAST64_MAX() {
        return UINT_FAST64_MAX;
    }
    private static final long INTPTR_MIN = -9223372036854775808L;
    /**
     * {@snippet lang=c :
     * #define INTPTR_MIN -9223372036854775808
     * }
     */
    public static long INTPTR_MIN() {
        return INTPTR_MIN;
    }
    private static final long INTPTR_MAX = 9223372036854775807L;
    /**
     * {@snippet lang=c :
     * #define INTPTR_MAX 9223372036854775807
     * }
     */
    public static long INTPTR_MAX() {
        return INTPTR_MAX;
    }
    private static final long UINTPTR_MAX = -1L;
    /**
     * {@snippet lang=c :
     * #define UINTPTR_MAX -1
     * }
     */
    public static long UINTPTR_MAX() {
        return UINTPTR_MAX;
    }
    private static final long INTMAX_MIN = -9223372036854775808L;
    /**
     * {@snippet lang=c :
     * #define INTMAX_MIN -9223372036854775808
     * }
     */
    public static long INTMAX_MIN() {
        return INTMAX_MIN;
    }
    private static final long INTMAX_MAX = 9223372036854775807L;
    /**
     * {@snippet lang=c :
     * #define INTMAX_MAX 9223372036854775807
     * }
     */
    public static long INTMAX_MAX() {
        return INTMAX_MAX;
    }
    private static final long UINTMAX_MAX = -1L;
    /**
     * {@snippet lang=c :
     * #define UINTMAX_MAX -1
     * }
     */
    public static long UINTMAX_MAX() {
        return UINTMAX_MAX;
    }
    private static final long PTRDIFF_MIN = -9223372036854775808L;
    /**
     * {@snippet lang=c :
     * #define PTRDIFF_MIN -9223372036854775808
     * }
     */
    public static long PTRDIFF_MIN() {
        return PTRDIFF_MIN;
    }
    private static final long PTRDIFF_MAX = 9223372036854775807L;
    /**
     * {@snippet lang=c :
     * #define PTRDIFF_MAX 9223372036854775807
     * }
     */
    public static long PTRDIFF_MAX() {
        return PTRDIFF_MAX;
    }
    private static final int SIG_ATOMIC_MIN = (int)-2147483648L;
    /**
     * {@snippet lang=c :
     * #define SIG_ATOMIC_MIN -2147483648
     * }
     */
    public static int SIG_ATOMIC_MIN() {
        return SIG_ATOMIC_MIN;
    }
    private static final int SIG_ATOMIC_MAX = (int)2147483647L;
    /**
     * {@snippet lang=c :
     * #define SIG_ATOMIC_MAX 2147483647
     * }
     */
    public static int SIG_ATOMIC_MAX() {
        return SIG_ATOMIC_MAX;
    }
    private static final long SIZE_MAX = -1L;
    /**
     * {@snippet lang=c :
     * #define SIZE_MAX -1
     * }
     */
    public static long SIZE_MAX() {
        return SIZE_MAX;
    }
    private static final int WCHAR_MIN = (int)-2147483648L;
    /**
     * {@snippet lang=c :
     * #define WCHAR_MIN -2147483648
     * }
     */
    public static int WCHAR_MIN() {
        return WCHAR_MIN;
    }
    private static final int WCHAR_MAX = (int)2147483647L;
    /**
     * {@snippet lang=c :
     * #define WCHAR_MAX 2147483647
     * }
     */
    public static int WCHAR_MAX() {
        return WCHAR_MAX;
    }
    private static final int WINT_MIN = (int)0L;
    /**
     * {@snippet lang=c :
     * #define WINT_MIN 0
     * }
     */
    public static int WINT_MIN() {
        return WINT_MIN;
    }
    private static final int WINT_MAX = (int)4294967295L;
    /**
     * {@snippet lang=c :
     * #define WINT_MAX 4294967295
     * }
     */
    public static int WINT_MAX() {
        return WINT_MAX;
    }
    private static final int BPF_LOG_BUF_SIZE = (int)16777215L;
    /**
     * {@snippet lang=c :
     * #define BPF_LOG_BUF_SIZE 16777215
     * }
     */
    public static int BPF_LOG_BUF_SIZE() {
        return BPF_LOG_BUF_SIZE;
    }
    private static final int EOF = (int)-1L;
    /**
     * {@snippet lang=c :
     * #define EOF -1
     * }
     */
    public static int EOF() {
        return EOF;
    }
    /**
     * {@snippet lang=c :
     * #define P_tmpdir "/tmp"
     * }
     */
    public static MemorySegment P_tmpdir() {
        class Holder {
            static final MemorySegment P_tmpdir
                = Lib.LIBRARY_ARENA.allocateFrom("/tmp");
        }
        return Holder.P_tmpdir;
    }
    private static final int __HAVE_DISTINCT_FLOAT16 = (int)0L;
    /**
     * {@snippet lang=c :
     * #define __HAVE_DISTINCT_FLOAT16 0
     * }
     */
    public static int __HAVE_DISTINCT_FLOAT16() {
        return __HAVE_DISTINCT_FLOAT16;
    }
    private static final int __HAVE_DISTINCT_FLOAT128X = (int)0L;
    /**
     * {@snippet lang=c :
     * #define __HAVE_DISTINCT_FLOAT128X 0
     * }
     */
    public static int __HAVE_DISTINCT_FLOAT128X() {
        return __HAVE_DISTINCT_FLOAT128X;
    }
    private static final int __HAVE_FLOAT128_UNLIKE_LDBL = (int)0L;
    /**
     * {@snippet lang=c :
     * #define __HAVE_FLOAT128_UNLIKE_LDBL 0
     * }
     */
    public static int __HAVE_FLOAT128_UNLIKE_LDBL() {
        return __HAVE_FLOAT128_UNLIKE_LDBL;
    }
    private static final int __BYTE_ORDER = (int)1234L;
    /**
     * {@snippet lang=c :
     * #define __BYTE_ORDER 1234
     * }
     */
    public static int __BYTE_ORDER() {
        return __BYTE_ORDER;
    }
    private static final int __FLOAT_WORD_ORDER = (int)1234L;
    /**
     * {@snippet lang=c :
     * #define __FLOAT_WORD_ORDER 1234
     * }
     */
    public static int __FLOAT_WORD_ORDER() {
        return __FLOAT_WORD_ORDER;
    }
    private static final int LITTLE_ENDIAN = (int)1234L;
    /**
     * {@snippet lang=c :
     * #define LITTLE_ENDIAN 1234
     * }
     */
    public static int LITTLE_ENDIAN() {
        return LITTLE_ENDIAN;
    }
    private static final int BIG_ENDIAN = (int)4321L;
    /**
     * {@snippet lang=c :
     * #define BIG_ENDIAN 4321
     * }
     */
    public static int BIG_ENDIAN() {
        return BIG_ENDIAN;
    }
    private static final int PDP_ENDIAN = (int)3412L;
    /**
     * {@snippet lang=c :
     * #define PDP_ENDIAN 3412
     * }
     */
    public static int PDP_ENDIAN() {
        return PDP_ENDIAN;
    }
    private static final int BYTE_ORDER = (int)1234L;
    /**
     * {@snippet lang=c :
     * #define BYTE_ORDER 1234
     * }
     */
    public static int BYTE_ORDER() {
        return BYTE_ORDER;
    }
    private static final long _SIGSET_NWORDS = 16L;
    /**
     * {@snippet lang=c :
     * #define _SIGSET_NWORDS 16
     * }
     */
    public static long _SIGSET_NWORDS() {
        return _SIGSET_NWORDS;
    }
    private static final int __NFDBITS = (int)64L;
    /**
     * {@snippet lang=c :
     * #define __NFDBITS 64
     * }
     */
    public static int __NFDBITS() {
        return __NFDBITS;
    }
    private static final int FD_SETSIZE = (int)1024L;
    /**
     * {@snippet lang=c :
     * #define FD_SETSIZE 1024
     * }
     */
    public static int FD_SETSIZE() {
        return FD_SETSIZE;
    }
    private static final int NFDBITS = (int)64L;
    /**
     * {@snippet lang=c :
     * #define NFDBITS 64
     * }
     */
    public static int NFDBITS() {
        return NFDBITS;
    }
    private static final int __PTHREAD_RWLOCK_ELISION_EXTRA = (int)0L;
    /**
     * {@snippet lang=c :
     * #define __PTHREAD_RWLOCK_ELISION_EXTRA 0
     * }
     */
    public static int __PTHREAD_RWLOCK_ELISION_EXTRA() {
        return __PTHREAD_RWLOCK_ELISION_EXTRA;
    }
    private static final int BTF_INT_SIGNED = (int)1L;
    /**
     * {@snippet lang=c :
     * #define BTF_INT_SIGNED 1
     * }
     */
    public static int BTF_INT_SIGNED() {
        return BTF_INT_SIGNED;
    }
    private static final int BTF_INT_CHAR = (int)2L;
    /**
     * {@snippet lang=c :
     * #define BTF_INT_CHAR 2
     * }
     */
    public static int BTF_INT_CHAR() {
        return BTF_INT_CHAR;
    }
    private static final int BTF_INT_BOOL = (int)4L;
    /**
     * {@snippet lang=c :
     * #define BTF_INT_BOOL 4
     * }
     */
    public static int BTF_INT_BOOL() {
        return BTF_INT_BOOL;
    }
    /**
     * {@snippet lang=c :
     * #define BTF_ELF_SEC ".BTF"
     * }
     */
    public static MemorySegment BTF_ELF_SEC() {
        class Holder {
            static final MemorySegment BTF_ELF_SEC
                = Lib.LIBRARY_ARENA.allocateFrom(".BTF");
        }
        return Holder.BTF_ELF_SEC;
    }
    /**
     * {@snippet lang=c :
     * #define BTF_EXT_ELF_SEC ".BTF.ext"
     * }
     */
    public static MemorySegment BTF_EXT_ELF_SEC() {
        class Holder {
            static final MemorySegment BTF_EXT_ELF_SEC
                = Lib.LIBRARY_ARENA.allocateFrom(".BTF.ext");
        }
        return Holder.BTF_EXT_ELF_SEC;
    }
    /**
     * {@snippet lang=c :
     * #define MAPS_ELF_SEC ".maps"
     * }
     */
    public static MemorySegment MAPS_ELF_SEC() {
        class Holder {
            static final MemorySegment MAPS_ELF_SEC
                = Lib.LIBRARY_ARENA.allocateFrom(".maps");
        }
        return Holder.MAPS_ELF_SEC;
    }
    private static final int EWOULDBLOCK = (int)11L;
    /**
     * {@snippet lang=c :
     * #define EWOULDBLOCK 11
     * }
     */
    public static int EWOULDBLOCK() {
        return EWOULDBLOCK;
    }
    private static final int EDEADLOCK = (int)35L;
    /**
     * {@snippet lang=c :
     * #define EDEADLOCK 35
     * }
     */
    public static int EDEADLOCK() {
        return EDEADLOCK;
    }
    private static final int ENOTSUP = (int)95L;
    /**
     * {@snippet lang=c :
     * #define ENOTSUP 95
     * }
     */
    public static int ENOTSUP() {
        return ENOTSUP;
    }
    private static final long _POSIX_VERSION = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_VERSION 200809
     * }
     */
    public static long _POSIX_VERSION() {
        return _POSIX_VERSION;
    }
    private static final long __POSIX2_THIS_VERSION = 200809L;
    /**
     * {@snippet lang=c :
     * #define __POSIX2_THIS_VERSION 200809
     * }
     */
    public static long __POSIX2_THIS_VERSION() {
        return __POSIX2_THIS_VERSION;
    }
    private static final long _POSIX2_VERSION = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX2_VERSION 200809
     * }
     */
    public static long _POSIX2_VERSION() {
        return _POSIX2_VERSION;
    }
    private static final long _POSIX2_C_VERSION = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX2_C_VERSION 200809
     * }
     */
    public static long _POSIX2_C_VERSION() {
        return _POSIX2_C_VERSION;
    }
    private static final long _POSIX2_C_BIND = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX2_C_BIND 200809
     * }
     */
    public static long _POSIX2_C_BIND() {
        return _POSIX2_C_BIND;
    }
    private static final long _POSIX2_C_DEV = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX2_C_DEV 200809
     * }
     */
    public static long _POSIX2_C_DEV() {
        return _POSIX2_C_DEV;
    }
    private static final long _POSIX2_SW_DEV = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX2_SW_DEV 200809
     * }
     */
    public static long _POSIX2_SW_DEV() {
        return _POSIX2_SW_DEV;
    }
    private static final long _POSIX2_LOCALEDEF = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX2_LOCALEDEF 200809
     * }
     */
    public static long _POSIX2_LOCALEDEF() {
        return _POSIX2_LOCALEDEF;
    }
    private static final long _POSIX_PRIORITY_SCHEDULING = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_PRIORITY_SCHEDULING 200809
     * }
     */
    public static long _POSIX_PRIORITY_SCHEDULING() {
        return _POSIX_PRIORITY_SCHEDULING;
    }
    private static final long _POSIX_SYNCHRONIZED_IO = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_SYNCHRONIZED_IO 200809
     * }
     */
    public static long _POSIX_SYNCHRONIZED_IO() {
        return _POSIX_SYNCHRONIZED_IO;
    }
    private static final long _POSIX_FSYNC = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_FSYNC 200809
     * }
     */
    public static long _POSIX_FSYNC() {
        return _POSIX_FSYNC;
    }
    private static final long _POSIX_MAPPED_FILES = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_MAPPED_FILES 200809
     * }
     */
    public static long _POSIX_MAPPED_FILES() {
        return _POSIX_MAPPED_FILES;
    }
    private static final long _POSIX_MEMLOCK = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_MEMLOCK 200809
     * }
     */
    public static long _POSIX_MEMLOCK() {
        return _POSIX_MEMLOCK;
    }
    private static final long _POSIX_MEMLOCK_RANGE = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_MEMLOCK_RANGE 200809
     * }
     */
    public static long _POSIX_MEMLOCK_RANGE() {
        return _POSIX_MEMLOCK_RANGE;
    }
    private static final long _POSIX_MEMORY_PROTECTION = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_MEMORY_PROTECTION 200809
     * }
     */
    public static long _POSIX_MEMORY_PROTECTION() {
        return _POSIX_MEMORY_PROTECTION;
    }
    private static final int _POSIX_VDISABLE = (int)0L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_VDISABLE 0
     * }
     */
    public static int _POSIX_VDISABLE() {
        return _POSIX_VDISABLE;
    }
    private static final long _POSIX_THREADS = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_THREADS 200809
     * }
     */
    public static long _POSIX_THREADS() {
        return _POSIX_THREADS;
    }
    private static final long _POSIX_THREAD_SAFE_FUNCTIONS = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_THREAD_SAFE_FUNCTIONS 200809
     * }
     */
    public static long _POSIX_THREAD_SAFE_FUNCTIONS() {
        return _POSIX_THREAD_SAFE_FUNCTIONS;
    }
    private static final long _POSIX_THREAD_PRIORITY_SCHEDULING = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_THREAD_PRIORITY_SCHEDULING 200809
     * }
     */
    public static long _POSIX_THREAD_PRIORITY_SCHEDULING() {
        return _POSIX_THREAD_PRIORITY_SCHEDULING;
    }
    private static final long _POSIX_THREAD_ATTR_STACKSIZE = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_THREAD_ATTR_STACKSIZE 200809
     * }
     */
    public static long _POSIX_THREAD_ATTR_STACKSIZE() {
        return _POSIX_THREAD_ATTR_STACKSIZE;
    }
    private static final long _POSIX_THREAD_ATTR_STACKADDR = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_THREAD_ATTR_STACKADDR 200809
     * }
     */
    public static long _POSIX_THREAD_ATTR_STACKADDR() {
        return _POSIX_THREAD_ATTR_STACKADDR;
    }
    private static final long _POSIX_THREAD_PRIO_INHERIT = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_THREAD_PRIO_INHERIT 200809
     * }
     */
    public static long _POSIX_THREAD_PRIO_INHERIT() {
        return _POSIX_THREAD_PRIO_INHERIT;
    }
    private static final long _POSIX_THREAD_PRIO_PROTECT = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_THREAD_PRIO_PROTECT 200809
     * }
     */
    public static long _POSIX_THREAD_PRIO_PROTECT() {
        return _POSIX_THREAD_PRIO_PROTECT;
    }
    private static final long _POSIX_THREAD_ROBUST_PRIO_INHERIT = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_THREAD_ROBUST_PRIO_INHERIT 200809
     * }
     */
    public static long _POSIX_THREAD_ROBUST_PRIO_INHERIT() {
        return _POSIX_THREAD_ROBUST_PRIO_INHERIT;
    }
    private static final int _POSIX_THREAD_ROBUST_PRIO_PROTECT = (int)-1L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_THREAD_ROBUST_PRIO_PROTECT -1
     * }
     */
    public static int _POSIX_THREAD_ROBUST_PRIO_PROTECT() {
        return _POSIX_THREAD_ROBUST_PRIO_PROTECT;
    }
    private static final long _POSIX_SEMAPHORES = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_SEMAPHORES 200809
     * }
     */
    public static long _POSIX_SEMAPHORES() {
        return _POSIX_SEMAPHORES;
    }
    private static final long _POSIX_REALTIME_SIGNALS = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_REALTIME_SIGNALS 200809
     * }
     */
    public static long _POSIX_REALTIME_SIGNALS() {
        return _POSIX_REALTIME_SIGNALS;
    }
    private static final long _POSIX_ASYNCHRONOUS_IO = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_ASYNCHRONOUS_IO 200809
     * }
     */
    public static long _POSIX_ASYNCHRONOUS_IO() {
        return _POSIX_ASYNCHRONOUS_IO;
    }
    private static final long _POSIX_PRIORITIZED_IO = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_PRIORITIZED_IO 200809
     * }
     */
    public static long _POSIX_PRIORITIZED_IO() {
        return _POSIX_PRIORITIZED_IO;
    }
    private static final long _POSIX_SHARED_MEMORY_OBJECTS = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_SHARED_MEMORY_OBJECTS 200809
     * }
     */
    public static long _POSIX_SHARED_MEMORY_OBJECTS() {
        return _POSIX_SHARED_MEMORY_OBJECTS;
    }
    private static final long _POSIX_READER_WRITER_LOCKS = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_READER_WRITER_LOCKS 200809
     * }
     */
    public static long _POSIX_READER_WRITER_LOCKS() {
        return _POSIX_READER_WRITER_LOCKS;
    }
    private static final long _POSIX_TIMEOUTS = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_TIMEOUTS 200809
     * }
     */
    public static long _POSIX_TIMEOUTS() {
        return _POSIX_TIMEOUTS;
    }
    private static final long _POSIX_SPIN_LOCKS = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_SPIN_LOCKS 200809
     * }
     */
    public static long _POSIX_SPIN_LOCKS() {
        return _POSIX_SPIN_LOCKS;
    }
    private static final long _POSIX_SPAWN = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_SPAWN 200809
     * }
     */
    public static long _POSIX_SPAWN() {
        return _POSIX_SPAWN;
    }
    private static final long _POSIX_TIMERS = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_TIMERS 200809
     * }
     */
    public static long _POSIX_TIMERS() {
        return _POSIX_TIMERS;
    }
    private static final long _POSIX_BARRIERS = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_BARRIERS 200809
     * }
     */
    public static long _POSIX_BARRIERS() {
        return _POSIX_BARRIERS;
    }
    private static final long _POSIX_MESSAGE_PASSING = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_MESSAGE_PASSING 200809
     * }
     */
    public static long _POSIX_MESSAGE_PASSING() {
        return _POSIX_MESSAGE_PASSING;
    }
    private static final long _POSIX_THREAD_PROCESS_SHARED = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_THREAD_PROCESS_SHARED 200809
     * }
     */
    public static long _POSIX_THREAD_PROCESS_SHARED() {
        return _POSIX_THREAD_PROCESS_SHARED;
    }
    private static final long _POSIX_CLOCK_SELECTION = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_CLOCK_SELECTION 200809
     * }
     */
    public static long _POSIX_CLOCK_SELECTION() {
        return _POSIX_CLOCK_SELECTION;
    }
    private static final long _POSIX_ADVISORY_INFO = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_ADVISORY_INFO 200809
     * }
     */
    public static long _POSIX_ADVISORY_INFO() {
        return _POSIX_ADVISORY_INFO;
    }
    private static final long _POSIX_IPV6 = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_IPV6 200809
     * }
     */
    public static long _POSIX_IPV6() {
        return _POSIX_IPV6;
    }
    private static final long _POSIX_RAW_SOCKETS = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_RAW_SOCKETS 200809
     * }
     */
    public static long _POSIX_RAW_SOCKETS() {
        return _POSIX_RAW_SOCKETS;
    }
    private static final long _POSIX2_CHAR_TERM = 200809L;
    /**
     * {@snippet lang=c :
     * #define _POSIX2_CHAR_TERM 200809
     * }
     */
    public static long _POSIX2_CHAR_TERM() {
        return _POSIX2_CHAR_TERM;
    }
    private static final int _POSIX_SPORADIC_SERVER = (int)-1L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_SPORADIC_SERVER -1
     * }
     */
    public static int _POSIX_SPORADIC_SERVER() {
        return _POSIX_SPORADIC_SERVER;
    }
    private static final int _POSIX_THREAD_SPORADIC_SERVER = (int)-1L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_THREAD_SPORADIC_SERVER -1
     * }
     */
    public static int _POSIX_THREAD_SPORADIC_SERVER() {
        return _POSIX_THREAD_SPORADIC_SERVER;
    }
    private static final int _POSIX_TRACE = (int)-1L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_TRACE -1
     * }
     */
    public static int _POSIX_TRACE() {
        return _POSIX_TRACE;
    }
    private static final int _POSIX_TRACE_EVENT_FILTER = (int)-1L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_TRACE_EVENT_FILTER -1
     * }
     */
    public static int _POSIX_TRACE_EVENT_FILTER() {
        return _POSIX_TRACE_EVENT_FILTER;
    }
    private static final int _POSIX_TRACE_INHERIT = (int)-1L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_TRACE_INHERIT -1
     * }
     */
    public static int _POSIX_TRACE_INHERIT() {
        return _POSIX_TRACE_INHERIT;
    }
    private static final int _POSIX_TRACE_LOG = (int)-1L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_TRACE_LOG -1
     * }
     */
    public static int _POSIX_TRACE_LOG() {
        return _POSIX_TRACE_LOG;
    }
    private static final int _POSIX_TYPED_MEMORY_OBJECTS = (int)-1L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_TYPED_MEMORY_OBJECTS -1
     * }
     */
    public static int _POSIX_TYPED_MEMORY_OBJECTS() {
        return _POSIX_TYPED_MEMORY_OBJECTS;
    }
    private static final int _POSIX_V7_LPBIG_OFFBIG = (int)-1L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_V7_LPBIG_OFFBIG -1
     * }
     */
    public static int _POSIX_V7_LPBIG_OFFBIG() {
        return _POSIX_V7_LPBIG_OFFBIG;
    }
    private static final int _POSIX_V6_LPBIG_OFFBIG = (int)-1L;
    /**
     * {@snippet lang=c :
     * #define _POSIX_V6_LPBIG_OFFBIG -1
     * }
     */
    public static int _POSIX_V6_LPBIG_OFFBIG() {
        return _POSIX_V6_LPBIG_OFFBIG;
    }
    private static final int _XBS5_LPBIG_OFFBIG = (int)-1L;
    /**
     * {@snippet lang=c :
     * #define _XBS5_LPBIG_OFFBIG -1
     * }
     */
    public static int _XBS5_LPBIG_OFFBIG() {
        return _XBS5_LPBIG_OFFBIG;
    }
    /**
     * {@snippet lang=c :
     * #define __ILP32_OFF32_CFLAGS "-m32"
     * }
     */
    public static MemorySegment __ILP32_OFF32_CFLAGS() {
        class Holder {
            static final MemorySegment __ILP32_OFF32_CFLAGS
                = Lib.LIBRARY_ARENA.allocateFrom("-m32");
        }
        return Holder.__ILP32_OFF32_CFLAGS;
    }
    /**
     * {@snippet lang=c :
     * #define __ILP32_OFF32_LDFLAGS "-m32"
     * }
     */
    public static MemorySegment __ILP32_OFF32_LDFLAGS() {
        class Holder {
            static final MemorySegment __ILP32_OFF32_LDFLAGS
                = Lib.LIBRARY_ARENA.allocateFrom("-m32");
        }
        return Holder.__ILP32_OFF32_LDFLAGS;
    }
    /**
     * {@snippet lang=c :
     * #define __ILP32_OFFBIG_CFLAGS "-m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
     * }
     */
    public static MemorySegment __ILP32_OFFBIG_CFLAGS() {
        class Holder {
            static final MemorySegment __ILP32_OFFBIG_CFLAGS
                = Lib.LIBRARY_ARENA.allocateFrom("-m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64");
        }
        return Holder.__ILP32_OFFBIG_CFLAGS;
    }
    /**
     * {@snippet lang=c :
     * #define __ILP32_OFFBIG_LDFLAGS "-m32"
     * }
     */
    public static MemorySegment __ILP32_OFFBIG_LDFLAGS() {
        class Holder {
            static final MemorySegment __ILP32_OFFBIG_LDFLAGS
                = Lib.LIBRARY_ARENA.allocateFrom("-m32");
        }
        return Holder.__ILP32_OFFBIG_LDFLAGS;
    }
    /**
     * {@snippet lang=c :
     * #define __LP64_OFF64_CFLAGS "-m64"
     * }
     */
    public static MemorySegment __LP64_OFF64_CFLAGS() {
        class Holder {
            static final MemorySegment __LP64_OFF64_CFLAGS
                = Lib.LIBRARY_ARENA.allocateFrom("-m64");
        }
        return Holder.__LP64_OFF64_CFLAGS;
    }
    /**
     * {@snippet lang=c :
     * #define __LP64_OFF64_LDFLAGS "-m64"
     * }
     */
    public static MemorySegment __LP64_OFF64_LDFLAGS() {
        class Holder {
            static final MemorySegment __LP64_OFF64_LDFLAGS
                = Lib.LIBRARY_ARENA.allocateFrom("-m64");
        }
        return Holder.__LP64_OFF64_LDFLAGS;
    }
    private static final int L_SET = (int)0L;
    /**
     * {@snippet lang=c :
     * #define L_SET 0
     * }
     */
    public static int L_SET() {
        return L_SET;
    }
    private static final int L_INCR = (int)1L;
    /**
     * {@snippet lang=c :
     * #define L_INCR 1
     * }
     */
    public static int L_INCR() {
        return L_INCR;
    }
    private static final int L_XTND = (int)2L;
    /**
     * {@snippet lang=c :
     * #define L_XTND 2
     * }
     */
    public static int L_XTND() {
        return L_XTND;
    }
    private static final int _SC_PAGE_SIZE = (int)30L;
    /**
     * {@snippet lang=c :
     * #define _SC_PAGE_SIZE 30
     * }
     */
    public static int _SC_PAGE_SIZE() {
        return _SC_PAGE_SIZE;
    }
    private static final int _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS = (int)1L;
    /**
     * {@snippet lang=c :
     * #define _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS 1
     * }
     */
    public static int _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS() {
        return _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS;
    }
    private static final int _CS_POSIX_V5_WIDTH_RESTRICTED_ENVS = (int)4L;
    /**
     * {@snippet lang=c :
     * #define _CS_POSIX_V5_WIDTH_RESTRICTED_ENVS 4
     * }
     */
    public static int _CS_POSIX_V5_WIDTH_RESTRICTED_ENVS() {
        return _CS_POSIX_V5_WIDTH_RESTRICTED_ENVS;
    }
    private static final int _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS = (int)5L;
    /**
     * {@snippet lang=c :
     * #define _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS 5
     * }
     */
    public static int _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS() {
        return _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS;
    }
    private static final int O_NDELAY = (int)2048L;
    /**
     * {@snippet lang=c :
     * #define O_NDELAY 2048
     * }
     */
    public static int O_NDELAY() {
        return O_NDELAY;
    }
    private static final int O_FSYNC = (int)1052672L;
    /**
     * {@snippet lang=c :
     * #define O_FSYNC 1052672
     * }
     */
    public static int O_FSYNC() {
        return O_FSYNC;
    }
    private static final int __O_TMPFILE = (int)4259840L;
    /**
     * {@snippet lang=c :
     * #define __O_TMPFILE 4259840
     * }
     */
    public static int __O_TMPFILE() {
        return __O_TMPFILE;
    }
    private static final int F_GETLK = (int)5L;
    /**
     * {@snippet lang=c :
     * #define F_GETLK 5
     * }
     */
    public static int F_GETLK() {
        return F_GETLK;
    }
    private static final int F_SETLK = (int)6L;
    /**
     * {@snippet lang=c :
     * #define F_SETLK 6
     * }
     */
    public static int F_SETLK() {
        return F_SETLK;
    }
    private static final int F_SETLKW = (int)7L;
    /**
     * {@snippet lang=c :
     * #define F_SETLKW 7
     * }
     */
    public static int F_SETLKW() {
        return F_SETLKW;
    }
    private static final int O_DIRECTORY = (int)65536L;
    /**
     * {@snippet lang=c :
     * #define O_DIRECTORY 65536
     * }
     */
    public static int O_DIRECTORY() {
        return O_DIRECTORY;
    }
    private static final int O_NOFOLLOW = (int)131072L;
    /**
     * {@snippet lang=c :
     * #define O_NOFOLLOW 131072
     * }
     */
    public static int O_NOFOLLOW() {
        return O_NOFOLLOW;
    }
    private static final int O_CLOEXEC = (int)524288L;
    /**
     * {@snippet lang=c :
     * #define O_CLOEXEC 524288
     * }
     */
    public static int O_CLOEXEC() {
        return O_CLOEXEC;
    }
    private static final int O_DSYNC = (int)4096L;
    /**
     * {@snippet lang=c :
     * #define O_DSYNC 4096
     * }
     */
    public static int O_DSYNC() {
        return O_DSYNC;
    }
    private static final int O_RSYNC = (int)1052672L;
    /**
     * {@snippet lang=c :
     * #define O_RSYNC 1052672
     * }
     */
    public static int O_RSYNC() {
        return O_RSYNC;
    }
    private static final int F_SETOWN = (int)8L;
    /**
     * {@snippet lang=c :
     * #define F_SETOWN 8
     * }
     */
    public static int F_SETOWN() {
        return F_SETOWN;
    }
    private static final int F_GETOWN = (int)9L;
    /**
     * {@snippet lang=c :
     * #define F_GETOWN 9
     * }
     */
    public static int F_GETOWN() {
        return F_GETOWN;
    }
    private static final int FAPPEND = (int)1024L;
    /**
     * {@snippet lang=c :
     * #define FAPPEND 1024
     * }
     */
    public static int FAPPEND() {
        return FAPPEND;
    }
    private static final int FFSYNC = (int)1052672L;
    /**
     * {@snippet lang=c :
     * #define FFSYNC 1052672
     * }
     */
    public static int FFSYNC() {
        return FFSYNC;
    }
    private static final int FASYNC = (int)8192L;
    /**
     * {@snippet lang=c :
     * #define FASYNC 8192
     * }
     */
    public static int FASYNC() {
        return FASYNC;
    }
    private static final int FNONBLOCK = (int)2048L;
    /**
     * {@snippet lang=c :
     * #define FNONBLOCK 2048
     * }
     */
    public static int FNONBLOCK() {
        return FNONBLOCK;
    }
    private static final int FNDELAY = (int)2048L;
    /**
     * {@snippet lang=c :
     * #define FNDELAY 2048
     * }
     */
    public static int FNDELAY() {
        return FNDELAY;
    }
    private static final int POSIX_FADV_DONTNEED = (int)4L;
    /**
     * {@snippet lang=c :
     * #define POSIX_FADV_DONTNEED 4
     * }
     */
    public static int POSIX_FADV_DONTNEED() {
        return POSIX_FADV_DONTNEED;
    }
    private static final int POSIX_FADV_NOREUSE = (int)5L;
    /**
     * {@snippet lang=c :
     * #define POSIX_FADV_NOREUSE 5
     * }
     */
    public static int POSIX_FADV_NOREUSE() {
        return POSIX_FADV_NOREUSE;
    }
    private static final long UTIME_NOW = 1073741823L;
    /**
     * {@snippet lang=c :
     * #define UTIME_NOW 1073741823
     * }
     */
    public static long UTIME_NOW() {
        return UTIME_NOW;
    }
    private static final long UTIME_OMIT = 1073741822L;
    /**
     * {@snippet lang=c :
     * #define UTIME_OMIT 1073741822
     * }
     */
    public static long UTIME_OMIT() {
        return UTIME_OMIT;
    }
    private static final int S_IFMT = (int)61440L;
    /**
     * {@snippet lang=c :
     * #define S_IFMT 61440
     * }
     */
    public static int S_IFMT() {
        return S_IFMT;
    }
    private static final int S_IFDIR = (int)16384L;
    /**
     * {@snippet lang=c :
     * #define S_IFDIR 16384
     * }
     */
    public static int S_IFDIR() {
        return S_IFDIR;
    }
    private static final int S_IFCHR = (int)8192L;
    /**
     * {@snippet lang=c :
     * #define S_IFCHR 8192
     * }
     */
    public static int S_IFCHR() {
        return S_IFCHR;
    }
    private static final int S_IFBLK = (int)24576L;
    /**
     * {@snippet lang=c :
     * #define S_IFBLK 24576
     * }
     */
    public static int S_IFBLK() {
        return S_IFBLK;
    }
    private static final int S_IFREG = (int)32768L;
    /**
     * {@snippet lang=c :
     * #define S_IFREG 32768
     * }
     */
    public static int S_IFREG() {
        return S_IFREG;
    }
    private static final int S_IFIFO = (int)4096L;
    /**
     * {@snippet lang=c :
     * #define S_IFIFO 4096
     * }
     */
    public static int S_IFIFO() {
        return S_IFIFO;
    }
    private static final int S_IFLNK = (int)40960L;
    /**
     * {@snippet lang=c :
     * #define S_IFLNK 40960
     * }
     */
    public static int S_IFLNK() {
        return S_IFLNK;
    }
    private static final int S_IFSOCK = (int)49152L;
    /**
     * {@snippet lang=c :
     * #define S_IFSOCK 49152
     * }
     */
    public static int S_IFSOCK() {
        return S_IFSOCK;
    }
    private static final int S_ISUID = (int)2048L;
    /**
     * {@snippet lang=c :
     * #define S_ISUID 2048
     * }
     */
    public static int S_ISUID() {
        return S_ISUID;
    }
    private static final int S_ISGID = (int)1024L;
    /**
     * {@snippet lang=c :
     * #define S_ISGID 1024
     * }
     */
    public static int S_ISGID() {
        return S_ISGID;
    }
    private static final int S_ISVTX = (int)512L;
    /**
     * {@snippet lang=c :
     * #define S_ISVTX 512
     * }
     */
    public static int S_ISVTX() {
        return S_ISVTX;
    }
    private static final int S_IRUSR = (int)256L;
    /**
     * {@snippet lang=c :
     * #define S_IRUSR 256
     * }
     */
    public static int S_IRUSR() {
        return S_IRUSR;
    }
    private static final int S_IWUSR = (int)128L;
    /**
     * {@snippet lang=c :
     * #define S_IWUSR 128
     * }
     */
    public static int S_IWUSR() {
        return S_IWUSR;
    }
    private static final int S_IXUSR = (int)64L;
    /**
     * {@snippet lang=c :
     * #define S_IXUSR 64
     * }
     */
    public static int S_IXUSR() {
        return S_IXUSR;
    }
    private static final int S_IRWXU = (int)448L;
    /**
     * {@snippet lang=c :
     * #define S_IRWXU 448
     * }
     */
    public static int S_IRWXU() {
        return S_IRWXU;
    }
    private static final int S_IRGRP = (int)32L;
    /**
     * {@snippet lang=c :
     * #define S_IRGRP 32
     * }
     */
    public static int S_IRGRP() {
        return S_IRGRP;
    }
    private static final int S_IWGRP = (int)16L;
    /**
     * {@snippet lang=c :
     * #define S_IWGRP 16
     * }
     */
    public static int S_IWGRP() {
        return S_IWGRP;
    }
    private static final int S_IXGRP = (int)8L;
    /**
     * {@snippet lang=c :
     * #define S_IXGRP 8
     * }
     */
    public static int S_IXGRP() {
        return S_IXGRP;
    }
    private static final int S_IRWXG = (int)56L;
    /**
     * {@snippet lang=c :
     * #define S_IRWXG 56
     * }
     */
    public static int S_IRWXG() {
        return S_IRWXG;
    }
    private static final int S_IROTH = (int)4L;
    /**
     * {@snippet lang=c :
     * #define S_IROTH 4
     * }
     */
    public static int S_IROTH() {
        return S_IROTH;
    }
    private static final int S_IWOTH = (int)2L;
    /**
     * {@snippet lang=c :
     * #define S_IWOTH 2
     * }
     */
    public static int S_IWOTH() {
        return S_IWOTH;
    }
    private static final int S_IXOTH = (int)1L;
    /**
     * {@snippet lang=c :
     * #define S_IXOTH 1
     * }
     */
    public static int S_IXOTH() {
        return S_IXOTH;
    }
    private static final int S_IRWXO = (int)7L;
    /**
     * {@snippet lang=c :
     * #define S_IRWXO 7
     * }
     */
    public static int S_IRWXO() {
        return S_IRWXO;
    }
    private static final int AT_FDCWD = (int)-100L;
    /**
     * {@snippet lang=c :
     * #define AT_FDCWD -100
     * }
     */
    public static int AT_FDCWD() {
        return AT_FDCWD;
    }
    private static final int ETH_MAX_MTU = (int)65535L;
    /**
     * {@snippet lang=c :
     * #define ETH_MAX_MTU 65535
     * }
     */
    public static int ETH_MAX_MTU() {
        return ETH_MAX_MTU;
    }
    private static final int TP_STATUS_USER = (int)1L;
    /**
     * {@snippet lang=c :
     * #define TP_STATUS_USER 1
     * }
     */
    public static int TP_STATUS_USER() {
        return TP_STATUS_USER;
    }
    private static final int TP_STATUS_COPY = (int)2L;
    /**
     * {@snippet lang=c :
     * #define TP_STATUS_COPY 2
     * }
     */
    public static int TP_STATUS_COPY() {
        return TP_STATUS_COPY;
    }
    private static final int TP_STATUS_LOSING = (int)4L;
    /**
     * {@snippet lang=c :
     * #define TP_STATUS_LOSING 4
     * }
     */
    public static int TP_STATUS_LOSING() {
        return TP_STATUS_LOSING;
    }
    private static final int TP_STATUS_CSUMNOTREADY = (int)8L;
    /**
     * {@snippet lang=c :
     * #define TP_STATUS_CSUMNOTREADY 8
     * }
     */
    public static int TP_STATUS_CSUMNOTREADY() {
        return TP_STATUS_CSUMNOTREADY;
    }
    private static final int TP_STATUS_VLAN_VALID = (int)16L;
    /**
     * {@snippet lang=c :
     * #define TP_STATUS_VLAN_VALID 16
     * }
     */
    public static int TP_STATUS_VLAN_VALID() {
        return TP_STATUS_VLAN_VALID;
    }
    private static final int TP_STATUS_BLK_TMO = (int)32L;
    /**
     * {@snippet lang=c :
     * #define TP_STATUS_BLK_TMO 32
     * }
     */
    public static int TP_STATUS_BLK_TMO() {
        return TP_STATUS_BLK_TMO;
    }
    private static final int TP_STATUS_VLAN_TPID_VALID = (int)64L;
    /**
     * {@snippet lang=c :
     * #define TP_STATUS_VLAN_TPID_VALID 64
     * }
     */
    public static int TP_STATUS_VLAN_TPID_VALID() {
        return TP_STATUS_VLAN_TPID_VALID;
    }
    private static final int TP_STATUS_CSUM_VALID = (int)128L;
    /**
     * {@snippet lang=c :
     * #define TP_STATUS_CSUM_VALID 128
     * }
     */
    public static int TP_STATUS_CSUM_VALID() {
        return TP_STATUS_CSUM_VALID;
    }
    private static final int TP_STATUS_GSO_TCP = (int)256L;
    /**
     * {@snippet lang=c :
     * #define TP_STATUS_GSO_TCP 256
     * }
     */
    public static int TP_STATUS_GSO_TCP() {
        return TP_STATUS_GSO_TCP;
    }
    private static final int TP_STATUS_SEND_REQUEST = (int)1L;
    /**
     * {@snippet lang=c :
     * #define TP_STATUS_SEND_REQUEST 1
     * }
     */
    public static int TP_STATUS_SEND_REQUEST() {
        return TP_STATUS_SEND_REQUEST;
    }
    private static final int TP_STATUS_SENDING = (int)2L;
    /**
     * {@snippet lang=c :
     * #define TP_STATUS_SENDING 2
     * }
     */
    public static int TP_STATUS_SENDING() {
        return TP_STATUS_SENDING;
    }
    private static final int TP_STATUS_WRONG_FORMAT = (int)4L;
    /**
     * {@snippet lang=c :
     * #define TP_STATUS_WRONG_FORMAT 4
     * }
     */
    public static int TP_STATUS_WRONG_FORMAT() {
        return TP_STATUS_WRONG_FORMAT;
    }
    private static final int TP_STATUS_TS_SOFTWARE = (int)536870912L;
    /**
     * {@snippet lang=c :
     * #define TP_STATUS_TS_SOFTWARE 536870912
     * }
     */
    public static int TP_STATUS_TS_SOFTWARE() {
        return TP_STATUS_TS_SOFTWARE;
    }
    private static final int TP_STATUS_TS_SYS_HARDWARE = (int)1073741824L;
    /**
     * {@snippet lang=c :
     * #define TP_STATUS_TS_SYS_HARDWARE 1073741824
     * }
     */
    public static int TP_STATUS_TS_SYS_HARDWARE() {
        return TP_STATUS_TS_SYS_HARDWARE;
    }
    private static final int TP_STATUS_TS_RAW_HARDWARE = (int)2147483648L;
    /**
     * {@snippet lang=c :
     * #define TP_STATUS_TS_RAW_HARDWARE 2147483648
     * }
     */
    public static int TP_STATUS_TS_RAW_HARDWARE() {
        return TP_STATUS_TS_RAW_HARDWARE;
    }
    private static final long TPACKET_HDRLEN = 52L;
    /**
     * {@snippet lang=c :
     * #define TPACKET_HDRLEN 52
     * }
     */
    public static long TPACKET_HDRLEN() {
        return TPACKET_HDRLEN;
    }
    private static final long TPACKET2_HDRLEN = 52L;
    /**
     * {@snippet lang=c :
     * #define TPACKET2_HDRLEN 52
     * }
     */
    public static long TPACKET2_HDRLEN() {
        return TPACKET2_HDRLEN;
    }
    private static final long TPACKET3_HDRLEN = 68L;
    /**
     * {@snippet lang=c :
     * #define TPACKET3_HDRLEN 68
     * }
     */
    public static long TPACKET3_HDRLEN() {
        return TPACKET3_HDRLEN;
    }
    private static final int IPOPT_END = (int)0L;
    /**
     * {@snippet lang=c :
     * #define IPOPT_END 0
     * }
     */
    public static int IPOPT_END() {
        return IPOPT_END;
    }
    private static final int IPOPT_NOOP = (int)1L;
    /**
     * {@snippet lang=c :
     * #define IPOPT_NOOP 1
     * }
     */
    public static int IPOPT_NOOP() {
        return IPOPT_NOOP;
    }
    private static final int IPOPT_SEC = (int)130L;
    /**
     * {@snippet lang=c :
     * #define IPOPT_SEC 130
     * }
     */
    public static int IPOPT_SEC() {
        return IPOPT_SEC;
    }
    private static final int IPOPT_LSRR = (int)131L;
    /**
     * {@snippet lang=c :
     * #define IPOPT_LSRR 131
     * }
     */
    public static int IPOPT_LSRR() {
        return IPOPT_LSRR;
    }
    private static final int IPOPT_TIMESTAMP = (int)68L;
    /**
     * {@snippet lang=c :
     * #define IPOPT_TIMESTAMP 68
     * }
     */
    public static int IPOPT_TIMESTAMP() {
        return IPOPT_TIMESTAMP;
    }
    private static final int IPOPT_CIPSO = (int)134L;
    /**
     * {@snippet lang=c :
     * #define IPOPT_CIPSO 134
     * }
     */
    public static int IPOPT_CIPSO() {
        return IPOPT_CIPSO;
    }
    private static final int IPOPT_RR = (int)7L;
    /**
     * {@snippet lang=c :
     * #define IPOPT_RR 7
     * }
     */
    public static int IPOPT_RR() {
        return IPOPT_RR;
    }
    private static final int IPOPT_SID = (int)136L;
    /**
     * {@snippet lang=c :
     * #define IPOPT_SID 136
     * }
     */
    public static int IPOPT_SID() {
        return IPOPT_SID;
    }
    private static final int IPOPT_SSRR = (int)137L;
    /**
     * {@snippet lang=c :
     * #define IPOPT_SSRR 137
     * }
     */
    public static int IPOPT_SSRR() {
        return IPOPT_SSRR;
    }
    private static final int IPOPT_RA = (int)148L;
    /**
     * {@snippet lang=c :
     * #define IPOPT_RA 148
     * }
     */
    public static int IPOPT_RA() {
        return IPOPT_RA;
    }
    private static final int IPOPT_NOP = (int)1L;
    /**
     * {@snippet lang=c :
     * #define IPOPT_NOP 1
     * }
     */
    public static int IPOPT_NOP() {
        return IPOPT_NOP;
    }
    private static final int IPOPT_EOL = (int)0L;
    /**
     * {@snippet lang=c :
     * #define IPOPT_EOL 0
     * }
     */
    public static int IPOPT_EOL() {
        return IPOPT_EOL;
    }
    private static final int IPOPT_TS = (int)68L;
    /**
     * {@snippet lang=c :
     * #define IPOPT_TS 68
     * }
     */
    public static int IPOPT_TS() {
        return IPOPT_TS;
    }
    private static final int IPV4_DEVCONF_MAX = (int)33L;
    /**
     * {@snippet lang=c :
     * #define IPV4_DEVCONF_MAX 33
     * }
     */
    public static int IPV4_DEVCONF_MAX() {
        return IPV4_DEVCONF_MAX;
    }
    private static final int IPV6_RECVORIGDSTADDR = (int)74L;
    /**
     * {@snippet lang=c :
     * #define IPV6_RECVORIGDSTADDR 74
     * }
     */
    public static int IPV6_RECVORIGDSTADDR() {
        return IPV6_RECVORIGDSTADDR;
    }
    private static final int SOCK_BUF_LOCK_MASK = (int)3L;
    /**
     * {@snippet lang=c :
     * #define SOCK_BUF_LOCK_MASK 3
     * }
     */
    public static int SOCK_BUF_LOCK_MASK() {
        return SOCK_BUF_LOCK_MASK;
    }
    private static final int PF_UNIX = (int)1L;
    /**
     * {@snippet lang=c :
     * #define PF_UNIX 1
     * }
     */
    public static int PF_UNIX() {
        return PF_UNIX;
    }
    private static final int PF_FILE = (int)1L;
    /**
     * {@snippet lang=c :
     * #define PF_FILE 1
     * }
     */
    public static int PF_FILE() {
        return PF_FILE;
    }
    private static final int PF_ROUTE = (int)16L;
    /**
     * {@snippet lang=c :
     * #define PF_ROUTE 16
     * }
     */
    public static int PF_ROUTE() {
        return PF_ROUTE;
    }
    private static final int AF_UNSPEC = (int)0L;
    /**
     * {@snippet lang=c :
     * #define AF_UNSPEC 0
     * }
     */
    public static int AF_UNSPEC() {
        return AF_UNSPEC;
    }
    private static final int AF_LOCAL = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AF_LOCAL 1
     * }
     */
    public static int AF_LOCAL() {
        return AF_LOCAL;
    }
    private static final int AF_UNIX = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AF_UNIX 1
     * }
     */
    public static int AF_UNIX() {
        return AF_UNIX;
    }
    private static final int AF_FILE = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AF_FILE 1
     * }
     */
    public static int AF_FILE() {
        return AF_FILE;
    }
    private static final int AF_INET = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AF_INET 2
     * }
     */
    public static int AF_INET() {
        return AF_INET;
    }
    private static final int AF_AX25 = (int)3L;
    /**
     * {@snippet lang=c :
     * #define AF_AX25 3
     * }
     */
    public static int AF_AX25() {
        return AF_AX25;
    }
    private static final int AF_IPX = (int)4L;
    /**
     * {@snippet lang=c :
     * #define AF_IPX 4
     * }
     */
    public static int AF_IPX() {
        return AF_IPX;
    }
    private static final int AF_APPLETALK = (int)5L;
    /**
     * {@snippet lang=c :
     * #define AF_APPLETALK 5
     * }
     */
    public static int AF_APPLETALK() {
        return AF_APPLETALK;
    }
    private static final int AF_NETROM = (int)6L;
    /**
     * {@snippet lang=c :
     * #define AF_NETROM 6
     * }
     */
    public static int AF_NETROM() {
        return AF_NETROM;
    }
    private static final int AF_BRIDGE = (int)7L;
    /**
     * {@snippet lang=c :
     * #define AF_BRIDGE 7
     * }
     */
    public static int AF_BRIDGE() {
        return AF_BRIDGE;
    }
    private static final int AF_ATMPVC = (int)8L;
    /**
     * {@snippet lang=c :
     * #define AF_ATMPVC 8
     * }
     */
    public static int AF_ATMPVC() {
        return AF_ATMPVC;
    }
    private static final int AF_X25 = (int)9L;
    /**
     * {@snippet lang=c :
     * #define AF_X25 9
     * }
     */
    public static int AF_X25() {
        return AF_X25;
    }
    private static final int AF_INET6 = (int)10L;
    /**
     * {@snippet lang=c :
     * #define AF_INET6 10
     * }
     */
    public static int AF_INET6() {
        return AF_INET6;
    }
    private static final int AF_ROSE = (int)11L;
    /**
     * {@snippet lang=c :
     * #define AF_ROSE 11
     * }
     */
    public static int AF_ROSE() {
        return AF_ROSE;
    }
    private static final int AF_DECnet = (int)12L;
    /**
     * {@snippet lang=c :
     * #define AF_DECnet 12
     * }
     */
    public static int AF_DECnet() {
        return AF_DECnet;
    }
    private static final int AF_NETBEUI = (int)13L;
    /**
     * {@snippet lang=c :
     * #define AF_NETBEUI 13
     * }
     */
    public static int AF_NETBEUI() {
        return AF_NETBEUI;
    }
    private static final int AF_SECURITY = (int)14L;
    /**
     * {@snippet lang=c :
     * #define AF_SECURITY 14
     * }
     */
    public static int AF_SECURITY() {
        return AF_SECURITY;
    }
    private static final int AF_KEY = (int)15L;
    /**
     * {@snippet lang=c :
     * #define AF_KEY 15
     * }
     */
    public static int AF_KEY() {
        return AF_KEY;
    }
    private static final int AF_NETLINK = (int)16L;
    /**
     * {@snippet lang=c :
     * #define AF_NETLINK 16
     * }
     */
    public static int AF_NETLINK() {
        return AF_NETLINK;
    }
    private static final int AF_ROUTE = (int)16L;
    /**
     * {@snippet lang=c :
     * #define AF_ROUTE 16
     * }
     */
    public static int AF_ROUTE() {
        return AF_ROUTE;
    }
    private static final int AF_PACKET = (int)17L;
    /**
     * {@snippet lang=c :
     * #define AF_PACKET 17
     * }
     */
    public static int AF_PACKET() {
        return AF_PACKET;
    }
    private static final int AF_ASH = (int)18L;
    /**
     * {@snippet lang=c :
     * #define AF_ASH 18
     * }
     */
    public static int AF_ASH() {
        return AF_ASH;
    }
    private static final int AF_ECONET = (int)19L;
    /**
     * {@snippet lang=c :
     * #define AF_ECONET 19
     * }
     */
    public static int AF_ECONET() {
        return AF_ECONET;
    }
    private static final int AF_ATMSVC = (int)20L;
    /**
     * {@snippet lang=c :
     * #define AF_ATMSVC 20
     * }
     */
    public static int AF_ATMSVC() {
        return AF_ATMSVC;
    }
    private static final int AF_RDS = (int)21L;
    /**
     * {@snippet lang=c :
     * #define AF_RDS 21
     * }
     */
    public static int AF_RDS() {
        return AF_RDS;
    }
    private static final int AF_SNA = (int)22L;
    /**
     * {@snippet lang=c :
     * #define AF_SNA 22
     * }
     */
    public static int AF_SNA() {
        return AF_SNA;
    }
    private static final int AF_IRDA = (int)23L;
    /**
     * {@snippet lang=c :
     * #define AF_IRDA 23
     * }
     */
    public static int AF_IRDA() {
        return AF_IRDA;
    }
    private static final int AF_PPPOX = (int)24L;
    /**
     * {@snippet lang=c :
     * #define AF_PPPOX 24
     * }
     */
    public static int AF_PPPOX() {
        return AF_PPPOX;
    }
    private static final int AF_WANPIPE = (int)25L;
    /**
     * {@snippet lang=c :
     * #define AF_WANPIPE 25
     * }
     */
    public static int AF_WANPIPE() {
        return AF_WANPIPE;
    }
    private static final int AF_LLC = (int)26L;
    /**
     * {@snippet lang=c :
     * #define AF_LLC 26
     * }
     */
    public static int AF_LLC() {
        return AF_LLC;
    }
    private static final int AF_IB = (int)27L;
    /**
     * {@snippet lang=c :
     * #define AF_IB 27
     * }
     */
    public static int AF_IB() {
        return AF_IB;
    }
    private static final int AF_MPLS = (int)28L;
    /**
     * {@snippet lang=c :
     * #define AF_MPLS 28
     * }
     */
    public static int AF_MPLS() {
        return AF_MPLS;
    }
    private static final int AF_CAN = (int)29L;
    /**
     * {@snippet lang=c :
     * #define AF_CAN 29
     * }
     */
    public static int AF_CAN() {
        return AF_CAN;
    }
    private static final int AF_TIPC = (int)30L;
    /**
     * {@snippet lang=c :
     * #define AF_TIPC 30
     * }
     */
    public static int AF_TIPC() {
        return AF_TIPC;
    }
    private static final int AF_BLUETOOTH = (int)31L;
    /**
     * {@snippet lang=c :
     * #define AF_BLUETOOTH 31
     * }
     */
    public static int AF_BLUETOOTH() {
        return AF_BLUETOOTH;
    }
    private static final int AF_IUCV = (int)32L;
    /**
     * {@snippet lang=c :
     * #define AF_IUCV 32
     * }
     */
    public static int AF_IUCV() {
        return AF_IUCV;
    }
    private static final int AF_RXRPC = (int)33L;
    /**
     * {@snippet lang=c :
     * #define AF_RXRPC 33
     * }
     */
    public static int AF_RXRPC() {
        return AF_RXRPC;
    }
    private static final int AF_ISDN = (int)34L;
    /**
     * {@snippet lang=c :
     * #define AF_ISDN 34
     * }
     */
    public static int AF_ISDN() {
        return AF_ISDN;
    }
    private static final int AF_PHONET = (int)35L;
    /**
     * {@snippet lang=c :
     * #define AF_PHONET 35
     * }
     */
    public static int AF_PHONET() {
        return AF_PHONET;
    }
    private static final int AF_IEEE802154 = (int)36L;
    /**
     * {@snippet lang=c :
     * #define AF_IEEE802154 36
     * }
     */
    public static int AF_IEEE802154() {
        return AF_IEEE802154;
    }
    private static final int AF_CAIF = (int)37L;
    /**
     * {@snippet lang=c :
     * #define AF_CAIF 37
     * }
     */
    public static int AF_CAIF() {
        return AF_CAIF;
    }
    private static final int AF_ALG = (int)38L;
    /**
     * {@snippet lang=c :
     * #define AF_ALG 38
     * }
     */
    public static int AF_ALG() {
        return AF_ALG;
    }
    private static final int AF_NFC = (int)39L;
    /**
     * {@snippet lang=c :
     * #define AF_NFC 39
     * }
     */
    public static int AF_NFC() {
        return AF_NFC;
    }
    private static final int AF_VSOCK = (int)40L;
    /**
     * {@snippet lang=c :
     * #define AF_VSOCK 40
     * }
     */
    public static int AF_VSOCK() {
        return AF_VSOCK;
    }
    private static final int AF_KCM = (int)41L;
    /**
     * {@snippet lang=c :
     * #define AF_KCM 41
     * }
     */
    public static int AF_KCM() {
        return AF_KCM;
    }
    private static final int AF_QIPCRTR = (int)42L;
    /**
     * {@snippet lang=c :
     * #define AF_QIPCRTR 42
     * }
     */
    public static int AF_QIPCRTR() {
        return AF_QIPCRTR;
    }
    private static final int AF_SMC = (int)43L;
    /**
     * {@snippet lang=c :
     * #define AF_SMC 43
     * }
     */
    public static int AF_SMC() {
        return AF_SMC;
    }
    private static final int AF_XDP = (int)44L;
    /**
     * {@snippet lang=c :
     * #define AF_XDP 44
     * }
     */
    public static int AF_XDP() {
        return AF_XDP;
    }
    private static final int AF_MCTP = (int)45L;
    /**
     * {@snippet lang=c :
     * #define AF_MCTP 45
     * }
     */
    public static int AF_MCTP() {
        return AF_MCTP;
    }
    private static final int AF_MAX = (int)46L;
    /**
     * {@snippet lang=c :
     * #define AF_MAX 46
     * }
     */
    public static int AF_MAX() {
        return AF_MAX;
    }
    private static final long __SOCKADDR_COMMON_SIZE = 2L;
    /**
     * {@snippet lang=c :
     * #define __SOCKADDR_COMMON_SIZE 2
     * }
     */
    public static long __SOCKADDR_COMMON_SIZE() {
        return __SOCKADDR_COMMON_SIZE;
    }
    private static final long _SS_PADSIZE = 118L;
    /**
     * {@snippet lang=c :
     * #define _SS_PADSIZE 118
     * }
     */
    public static long _SS_PADSIZE() {
        return _SS_PADSIZE;
    }
    private static final int SO_GET_FILTER = (int)26L;
    /**
     * {@snippet lang=c :
     * #define SO_GET_FILTER 26
     * }
     */
    public static int SO_GET_FILTER() {
        return SO_GET_FILTER;
    }
    private static final int SCM_WIFI_STATUS = (int)41L;
    /**
     * {@snippet lang=c :
     * #define SCM_WIFI_STATUS 41
     * }
     */
    public static int SCM_WIFI_STATUS() {
        return SCM_WIFI_STATUS;
    }
    private static final int SO_DETACH_BPF = (int)27L;
    /**
     * {@snippet lang=c :
     * #define SO_DETACH_BPF 27
     * }
     */
    public static int SO_DETACH_BPF() {
        return SO_DETACH_BPF;
    }
    private static final int SCM_TXTIME = (int)61L;
    /**
     * {@snippet lang=c :
     * #define SCM_TXTIME 61
     * }
     */
    public static int SCM_TXTIME() {
        return SCM_TXTIME;
    }
    private static final int SO_TIMESTAMP = (int)29L;
    /**
     * {@snippet lang=c :
     * #define SO_TIMESTAMP 29
     * }
     */
    public static int SO_TIMESTAMP() {
        return SO_TIMESTAMP;
    }
    private static final int SO_TIMESTAMPNS = (int)35L;
    /**
     * {@snippet lang=c :
     * #define SO_TIMESTAMPNS 35
     * }
     */
    public static int SO_TIMESTAMPNS() {
        return SO_TIMESTAMPNS;
    }
    private static final int SO_TIMESTAMPING = (int)37L;
    /**
     * {@snippet lang=c :
     * #define SO_TIMESTAMPING 37
     * }
     */
    public static int SO_TIMESTAMPING() {
        return SO_TIMESTAMPING;
    }
    private static final int SO_RCVTIMEO = (int)20L;
    /**
     * {@snippet lang=c :
     * #define SO_RCVTIMEO 20
     * }
     */
    public static int SO_RCVTIMEO() {
        return SO_RCVTIMEO;
    }
    private static final int SO_SNDTIMEO = (int)21L;
    /**
     * {@snippet lang=c :
     * #define SO_SNDTIMEO 21
     * }
     */
    public static int SO_SNDTIMEO() {
        return SO_SNDTIMEO;
    }
    private static final int SCM_TIMESTAMP = (int)29L;
    /**
     * {@snippet lang=c :
     * #define SCM_TIMESTAMP 29
     * }
     */
    public static int SCM_TIMESTAMP() {
        return SCM_TIMESTAMP;
    }
    private static final int SCM_TIMESTAMPNS = (int)35L;
    /**
     * {@snippet lang=c :
     * #define SCM_TIMESTAMPNS 35
     * }
     */
    public static int SCM_TIMESTAMPNS() {
        return SCM_TIMESTAMPNS;
    }
    private static final int SCM_TIMESTAMPING = (int)37L;
    /**
     * {@snippet lang=c :
     * #define SCM_TIMESTAMPING 37
     * }
     */
    public static int SCM_TIMESTAMPING() {
        return SCM_TIMESTAMPING;
    }
    private static final int IFF_VOLATILE = (int)461914L;
    /**
     * {@snippet lang=c :
     * #define IFF_VOLATILE 461914
     * }
     */
    public static int IFF_VOLATILE() {
        return IFF_VOLATILE;
    }
    private static final int ICMP_EXT_ECHOREPLY_ACTIVE = (int)4L;
    /**
     * {@snippet lang=c :
     * #define ICMP_EXT_ECHOREPLY_ACTIVE 4
     * }
     */
    public static int ICMP_EXT_ECHOREPLY_ACTIVE() {
        return ICMP_EXT_ECHOREPLY_ACTIVE;
    }
    private static final int ICMP_EXT_ECHOREPLY_IPV4 = (int)2L;
    /**
     * {@snippet lang=c :
     * #define ICMP_EXT_ECHOREPLY_IPV4 2
     * }
     */
    public static int ICMP_EXT_ECHOREPLY_IPV4() {
        return ICMP_EXT_ECHOREPLY_IPV4;
    }
    private static final int TCP_MSS_DEFAULT = (int)536L;
    /**
     * {@snippet lang=c :
     * #define TCP_MSS_DEFAULT 536
     * }
     */
    public static int TCP_MSS_DEFAULT() {
        return TCP_MSS_DEFAULT;
    }
    private static final int TCP_MSS_DESIRED = (int)1220L;
    /**
     * {@snippet lang=c :
     * #define TCP_MSS_DESIRED 1220
     * }
     */
    public static int TCP_MSS_DESIRED() {
        return TCP_MSS_DESIRED;
    }
    private static final int TCP_CM_INQ = (int)36L;
    /**
     * {@snippet lang=c :
     * #define TCP_CM_INQ 36
     * }
     */
    public static int TCP_CM_INQ() {
        return TCP_CM_INQ;
    }
    private static final int TCP_REPAIR_OFF_NO_WP = (int)-1L;
    /**
     * {@snippet lang=c :
     * #define TCP_REPAIR_OFF_NO_WP -1
     * }
     */
    public static int TCP_REPAIR_OFF_NO_WP() {
        return TCP_REPAIR_OFF_NO_WP;
    }
    private static final int TCPF_CA_Open = (int)1L;
    /**
     * {@snippet lang=c :
     * #define TCPF_CA_Open 1
     * }
     */
    public static int TCPF_CA_Open() {
        return TCPF_CA_Open;
    }
    private static final int TCPF_CA_Disorder = (int)2L;
    /**
     * {@snippet lang=c :
     * #define TCPF_CA_Disorder 2
     * }
     */
    public static int TCPF_CA_Disorder() {
        return TCPF_CA_Disorder;
    }
    private static final int TCPF_CA_CWR = (int)4L;
    /**
     * {@snippet lang=c :
     * #define TCPF_CA_CWR 4
     * }
     */
    public static int TCPF_CA_CWR() {
        return TCPF_CA_CWR;
    }
    private static final int TCPF_CA_Recovery = (int)8L;
    /**
     * {@snippet lang=c :
     * #define TCPF_CA_Recovery 8
     * }
     */
    public static int TCPF_CA_Recovery() {
        return TCPF_CA_Recovery;
    }
    private static final int TCPF_CA_Loss = (int)16L;
    /**
     * {@snippet lang=c :
     * #define TCPF_CA_Loss 16
     * }
     */
    public static int TCPF_CA_Loss() {
        return TCPF_CA_Loss;
    }
    private static final int TCP_AO_KEYF_IFINDEX = (int)1L;
    /**
     * {@snippet lang=c :
     * #define TCP_AO_KEYF_IFINDEX 1
     * }
     */
    public static int TCP_AO_KEYF_IFINDEX() {
        return TCP_AO_KEYF_IFINDEX;
    }
    private static final int TCP_AO_KEYF_EXCLUDE_OPT = (int)2L;
    /**
     * {@snippet lang=c :
     * #define TCP_AO_KEYF_EXCLUDE_OPT 2
     * }
     */
    public static int TCP_AO_KEYF_EXCLUDE_OPT() {
        return TCP_AO_KEYF_EXCLUDE_OPT;
    }
    private static final int IP_RECVRETOPTS = (int)7L;
    /**
     * {@snippet lang=c :
     * #define IP_RECVRETOPTS 7
     * }
     */
    public static int IP_RECVRETOPTS() {
        return IP_RECVRETOPTS;
    }
    private static final int IP_RECVORIGDSTADDR = (int)20L;
    /**
     * {@snippet lang=c :
     * #define IP_RECVORIGDSTADDR 20
     * }
     */
    public static int IP_RECVORIGDSTADDR() {
        return IP_RECVORIGDSTADDR;
    }
    private static final int IN_CLASSA_NET = (int)4278190080L;
    /**
     * {@snippet lang=c :
     * #define IN_CLASSA_NET 4278190080
     * }
     */
    public static int IN_CLASSA_NET() {
        return IN_CLASSA_NET;
    }
    private static final int IN_CLASSA_HOST = (int)16777215L;
    /**
     * {@snippet lang=c :
     * #define IN_CLASSA_HOST 16777215
     * }
     */
    public static int IN_CLASSA_HOST() {
        return IN_CLASSA_HOST;
    }
    private static final int IN_CLASSB_NET = (int)4294901760L;
    /**
     * {@snippet lang=c :
     * #define IN_CLASSB_NET 4294901760
     * }
     */
    public static int IN_CLASSB_NET() {
        return IN_CLASSB_NET;
    }
    private static final int IN_CLASSB_HOST = (int)65535L;
    /**
     * {@snippet lang=c :
     * #define IN_CLASSB_HOST 65535
     * }
     */
    public static int IN_CLASSB_HOST() {
        return IN_CLASSB_HOST;
    }
    private static final int IN_CLASSC_NET = (int)4294967040L;
    /**
     * {@snippet lang=c :
     * #define IN_CLASSC_NET 4294967040
     * }
     */
    public static int IN_CLASSC_NET() {
        return IN_CLASSC_NET;
    }
    private static final int IN_CLASSC_HOST = (int)255L;
    /**
     * {@snippet lang=c :
     * #define IN_CLASSC_HOST 255
     * }
     */
    public static int IN_CLASSC_HOST() {
        return IN_CLASSC_HOST;
    }
    private static final int IN_MULTICAST_NET = (int)3758096384L;
    /**
     * {@snippet lang=c :
     * #define IN_MULTICAST_NET 3758096384
     * }
     */
    public static int IN_MULTICAST_NET() {
        return IN_MULTICAST_NET;
    }
    private static final int IN_CLASSE_NET = (int)4294967295L;
    /**
     * {@snippet lang=c :
     * #define IN_CLASSE_NET 4294967295
     * }
     */
    public static int IN_CLASSE_NET() {
        return IN_CLASSE_NET;
    }
    private static final long INADDR_ANY = 0L;
    /**
     * {@snippet lang=c :
     * #define INADDR_ANY 0
     * }
     */
    public static long INADDR_ANY() {
        return INADDR_ANY;
    }
    private static final long INADDR_BROADCAST = 4294967295L;
    /**
     * {@snippet lang=c :
     * #define INADDR_BROADCAST 4294967295
     * }
     */
    public static long INADDR_BROADCAST() {
        return INADDR_BROADCAST;
    }
    private static final long INADDR_NONE = 4294967295L;
    /**
     * {@snippet lang=c :
     * #define INADDR_NONE 4294967295
     * }
     */
    public static long INADDR_NONE() {
        return INADDR_NONE;
    }
    private static final long INADDR_DUMMY = 3221225480L;
    /**
     * {@snippet lang=c :
     * #define INADDR_DUMMY 3221225480
     * }
     */
    public static long INADDR_DUMMY() {
        return INADDR_DUMMY;
    }
    private static final int INADDR_UNSPEC_GROUP = (int)3758096384L;
    /**
     * {@snippet lang=c :
     * #define INADDR_UNSPEC_GROUP 3758096384
     * }
     */
    public static int INADDR_UNSPEC_GROUP() {
        return INADDR_UNSPEC_GROUP;
    }
    private static final int INADDR_ALLHOSTS_GROUP = (int)3758096385L;
    /**
     * {@snippet lang=c :
     * #define INADDR_ALLHOSTS_GROUP 3758096385
     * }
     */
    public static int INADDR_ALLHOSTS_GROUP() {
        return INADDR_ALLHOSTS_GROUP;
    }
    private static final int INADDR_ALLRTRS_GROUP = (int)3758096386L;
    /**
     * {@snippet lang=c :
     * #define INADDR_ALLRTRS_GROUP 3758096386
     * }
     */
    public static int INADDR_ALLRTRS_GROUP() {
        return INADDR_ALLRTRS_GROUP;
    }
    private static final int INADDR_ALLSNOOPERS_GROUP = (int)3758096490L;
    /**
     * {@snippet lang=c :
     * #define INADDR_ALLSNOOPERS_GROUP 3758096490
     * }
     */
    public static int INADDR_ALLSNOOPERS_GROUP() {
        return INADDR_ALLSNOOPERS_GROUP;
    }
    private static final int INADDR_MAX_LOCAL_GROUP = (int)3758096639L;
    /**
     * {@snippet lang=c :
     * #define INADDR_MAX_LOCAL_GROUP 3758096639
     * }
     */
    public static int INADDR_MAX_LOCAL_GROUP() {
        return INADDR_MAX_LOCAL_GROUP;
    }
    private static final long __NCPUBITS = 64L;
    /**
     * {@snippet lang=c :
     * #define __NCPUBITS 64
     * }
     */
    public static long __NCPUBITS() {
        return __NCPUBITS;
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy