authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-09-20 01:06:23-07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-09-20 01:06:23-07:00
log3658501681d941e563cbd79ebf3c7ba49aded70c
tree59e9b313087684aac91033395f5e3ae6f37cfe33
parent24cc89eb39fbb1f8b4caa53beeca1c785ce78546
signature Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

add IPV6


1 files changed, 56 insertions(+), 0 deletions(-)

mod.zig+56
...@@ -3352,6 +3352,62 @@ pub const SEEK = struct {...@@ -3352,6 +3352,62 @@ pub const SEEK = struct {
3352 pub const HOLE = 4;3352 pub const HOLE = 4;
3353};3353};
33543354
3355pub const IPV6 = struct {
3356 pub const ADDRFORM = 1;
3357 pub const @"2292PKTINFO" = 2;
3358 pub const @"2292HOPOPTS" = 3;
3359 pub const @"2292DSTOPTS" = 4;
3360 pub const @"2292RTHDR" = 5;
3361 pub const @"2292PKTOPTIONS" = 6;
3362 pub const CHECKSUM = 7;
3363 pub const @"2292HOPLIMIT" = 8;
3364 pub const NEXTHOP = 9;
3365 pub const AUTHHDR = 10;
3366 pub const UNICAST_HOPS = 16;
3367 pub const MULTICAST_IF = 17;
3368 pub const MULTICAST_HOPS = 18;
3369 pub const MULTICAST_LOOP = 19;
3370 pub const JOIN_GROUP = 20;
3371 pub const LEAVE_GROUP = 21;
3372 pub const ROUTER_ALERT = 22;
3373 pub const MTU_DISCOVER = 23;
3374 pub const MTU = 24;
3375 pub const RECVERR = 25;
3376 pub const V6ONLY = 26;
3377 pub const JOIN_ANYCAST = 27;
3378 pub const LEAVE_ANYCAST = 28;
3379 pub const MULTICAST_ALL = 29;
3380 pub const ROUTER_ALERT_ISOLATE = 30;
3381 pub const IPSEC_POLICY = 34;
3382 pub const XFRM_POLICY = 35;
3383 pub const HDRINCL = 36;
3384 pub const RECVPKTINFO = 49;
3385 pub const PKTINFO = 50;
3386 pub const RECVHOPLIMIT = 51;
3387 pub const HOPLIMIT = 52;
3388 pub const RECVHOPOPTS = 53;
3389 pub const HOPOPTS = 54;
3390 pub const RTHDRDSTOPTS = 55;
3391 pub const RECVRTHDR = 56;
3392 pub const RTHDR = 57;
3393 pub const RECVDSTOPTS = 58;
3394 pub const DSTOPTS = 59;
3395 pub const RECVPATHMTU = 60;
3396 pub const PATHMTU = 61;
3397 pub const DONTFRAG = 62;
3398 pub const RECVTCLASS = 66;
3399 pub const TCLASS = 67;
3400 pub const AUTOFLOWLABEL = 70;
3401 pub const ADDR_PREFERENCES = 72;
3402 pub const MINHOPCOUNT = 73;
3403 pub const ORIGDSTADDR = 74;
3404 pub const RECVORIGDSTADDR = ORIGDSTADDR;
3405 pub const TRANSPARENT = 75;
3406 pub const UNICAST_IF = 76;
3407 pub const RECVFRAGSIZE = 77;
3408 pub const FREEBIND = 78;
3409};
3410
3355pub fn getpid() pid_t {3411pub fn getpid() pid_t {
3356 return libc.getpid();3412 return libc.getpid();
3357}3413}