@@ -300,6 +300,33 @@ public final class PosixConstants {
300
300
public static final OptionalIntConstant TCP_CONGESTION ;
301
301
public static final OptionalIntConstant TCP_USER_TIMEOUT ;
302
302
public static final OptionalIntConstant TCP_NOTSENT_LOWAT ;
303
+ public static final OptionalIntConstant IPV6_JOIN_GROUP ;
304
+ public static final OptionalIntConstant IPV6_LEAVE_GROUP ;
305
+ public static final OptionalIntConstant IPV6_MULTICAST_HOPS ;
306
+ public static final OptionalIntConstant IPV6_MULTICAST_IF ;
307
+ public static final OptionalIntConstant IPV6_MULTICAST_LOOP ;
308
+ public static final OptionalIntConstant IPV6_UNICAST_HOPS ;
309
+ public static final OptionalIntConstant IPV6_V6ONLY ;
310
+ public static final OptionalIntConstant IPV6_CHECKSUM ;
311
+ public static final OptionalIntConstant IPV6_DONTFRAG ;
312
+ public static final OptionalIntConstant IPV6_DSTOPTS ;
313
+ public static final OptionalIntConstant IPV6_HOPLIMIT ;
314
+ public static final OptionalIntConstant IPV6_HOPOPTS ;
315
+ public static final OptionalIntConstant IPV6_NEXTHOP ;
316
+ public static final OptionalIntConstant IPV6_PATHMTU ;
317
+ public static final OptionalIntConstant IPV6_PKTINFO ;
318
+ public static final OptionalIntConstant IPV6_RECVDSTOPTS ;
319
+ public static final OptionalIntConstant IPV6_RECVHOPLIMIT ;
320
+ public static final OptionalIntConstant IPV6_RECVHOPOPTS ;
321
+ public static final OptionalIntConstant IPV6_RECVPKTINFO ;
322
+ public static final OptionalIntConstant IPV6_RECVRTHDR ;
323
+ public static final OptionalIntConstant IPV6_RECVTCLASS ;
324
+ public static final OptionalIntConstant IPV6_RTHDR ;
325
+ public static final OptionalIntConstant IPV6_RTHDRDSTOPTS ;
326
+ public static final OptionalIntConstant IPV6_RTHDR_TYPE_0 ;
327
+ public static final OptionalIntConstant IPV6_RECVPATHMTU ;
328
+ public static final OptionalIntConstant IPV6_TCLASS ;
329
+ public static final OptionalIntConstant IPV6_USE_MIN_MTU ;
303
330
public static final MandatoryIntConstant SIZEOF_STRUCT_SOCKADDR_STORAGE ;
304
331
public static final MandatoryIntConstant SIZEOF_STRUCT_SOCKADDR_IN ;
305
332
public static final MandatoryIntConstant OFFSETOF_STRUCT_SOCKADDR_IN_SIN_FAMILY ;
@@ -337,6 +364,7 @@ public final class PosixConstants {
337
364
public static final IntConstant [] shutdownHow ;
338
365
public static final IntConstant [] socketOptions ;
339
366
public static final IntConstant [] tcpOptions ;
367
+ public static final IntConstant [] ipv6Options ;
340
368
341
369
static {
342
370
Registry reg = Registry .create ();
@@ -564,6 +592,33 @@ public final class PosixConstants {
564
592
TCP_CONGESTION = reg .createOptionalInt ("TCP_CONGESTION" );
565
593
TCP_USER_TIMEOUT = reg .createOptionalInt ("TCP_USER_TIMEOUT" );
566
594
TCP_NOTSENT_LOWAT = reg .createOptionalInt ("TCP_NOTSENT_LOWAT" );
595
+ IPV6_JOIN_GROUP = reg .createOptionalInt ("IPV6_JOIN_GROUP" );
596
+ IPV6_LEAVE_GROUP = reg .createOptionalInt ("IPV6_LEAVE_GROUP" );
597
+ IPV6_MULTICAST_HOPS = reg .createOptionalInt ("IPV6_MULTICAST_HOPS" );
598
+ IPV6_MULTICAST_IF = reg .createOptionalInt ("IPV6_MULTICAST_IF" );
599
+ IPV6_MULTICAST_LOOP = reg .createOptionalInt ("IPV6_MULTICAST_LOOP" );
600
+ IPV6_UNICAST_HOPS = reg .createOptionalInt ("IPV6_UNICAST_HOPS" );
601
+ IPV6_V6ONLY = reg .createOptionalInt ("IPV6_V6ONLY" );
602
+ IPV6_CHECKSUM = reg .createOptionalInt ("IPV6_CHECKSUM" );
603
+ IPV6_DONTFRAG = reg .createOptionalInt ("IPV6_DONTFRAG" );
604
+ IPV6_DSTOPTS = reg .createOptionalInt ("IPV6_DSTOPTS" );
605
+ IPV6_HOPLIMIT = reg .createOptionalInt ("IPV6_HOPLIMIT" );
606
+ IPV6_HOPOPTS = reg .createOptionalInt ("IPV6_HOPOPTS" );
607
+ IPV6_NEXTHOP = reg .createOptionalInt ("IPV6_NEXTHOP" );
608
+ IPV6_PATHMTU = reg .createOptionalInt ("IPV6_PATHMTU" );
609
+ IPV6_PKTINFO = reg .createOptionalInt ("IPV6_PKTINFO" );
610
+ IPV6_RECVDSTOPTS = reg .createOptionalInt ("IPV6_RECVDSTOPTS" );
611
+ IPV6_RECVHOPLIMIT = reg .createOptionalInt ("IPV6_RECVHOPLIMIT" );
612
+ IPV6_RECVHOPOPTS = reg .createOptionalInt ("IPV6_RECVHOPOPTS" );
613
+ IPV6_RECVPKTINFO = reg .createOptionalInt ("IPV6_RECVPKTINFO" );
614
+ IPV6_RECVRTHDR = reg .createOptionalInt ("IPV6_RECVRTHDR" );
615
+ IPV6_RECVTCLASS = reg .createOptionalInt ("IPV6_RECVTCLASS" );
616
+ IPV6_RTHDR = reg .createOptionalInt ("IPV6_RTHDR" );
617
+ IPV6_RTHDRDSTOPTS = reg .createOptionalInt ("IPV6_RTHDRDSTOPTS" );
618
+ IPV6_RTHDR_TYPE_0 = reg .createOptionalInt ("IPV6_RTHDR_TYPE_0" );
619
+ IPV6_RECVPATHMTU = reg .createOptionalInt ("IPV6_RECVPATHMTU" );
620
+ IPV6_TCLASS = reg .createOptionalInt ("IPV6_TCLASS" );
621
+ IPV6_USE_MIN_MTU = reg .createOptionalInt ("IPV6_USE_MIN_MTU" );
567
622
SIZEOF_STRUCT_SOCKADDR_STORAGE = reg .createMandatoryInt ("SIZEOF_STRUCT_SOCKADDR_STORAGE" );
568
623
SIZEOF_STRUCT_SOCKADDR_IN = reg .createMandatoryInt ("SIZEOF_STRUCT_SOCKADDR_IN" );
569
624
OFFSETOF_STRUCT_SOCKADDR_IN_SIN_FAMILY = reg .createMandatoryInt ("OFFSETOF_STRUCT_SOCKADDR_IN_SIN_FAMILY" );
@@ -608,6 +663,9 @@ public final class PosixConstants {
608
663
SO_PRIORITY , SO_MARK , SO_DOMAIN , SO_PROTOCOL };
609
664
tcpOptions = new IntConstant []{TCP_NODELAY , TCP_MAXSEG , TCP_CORK , TCP_KEEPIDLE , TCP_KEEPINTVL , TCP_KEEPCNT , TCP_SYNCNT , TCP_LINGER2 , TCP_DEFER_ACCEPT , TCP_WINDOW_CLAMP , TCP_INFO , TCP_QUICKACK ,
610
665
TCP_FASTOPEN , TCP_CONGESTION , TCP_USER_TIMEOUT , TCP_NOTSENT_LOWAT };
666
+ ipv6Options = new IntConstant []{IPV6_JOIN_GROUP , IPV6_LEAVE_GROUP , IPV6_MULTICAST_HOPS , IPV6_MULTICAST_IF , IPV6_MULTICAST_LOOP , IPV6_UNICAST_HOPS , IPV6_V6ONLY , IPV6_CHECKSUM , IPV6_DONTFRAG ,
667
+ IPV6_DSTOPTS , IPV6_HOPLIMIT , IPV6_HOPOPTS , IPV6_NEXTHOP , IPV6_PATHMTU , IPV6_PKTINFO , IPV6_RECVDSTOPTS , IPV6_RECVHOPLIMIT , IPV6_RECVHOPOPTS , IPV6_RECVPKTINFO , IPV6_RECVRTHDR ,
668
+ IPV6_RECVTCLASS , IPV6_RTHDR , IPV6_RTHDRDSTOPTS , IPV6_RTHDR_TYPE_0 , IPV6_RECVPATHMTU , IPV6_TCLASS , IPV6_USE_MIN_MTU };
611
669
}
612
670
// end generated by gen_native_cfg.py
613
671
// @formatter:on
0 commit comments