/* NOTICE: lib/sockopt_gen.c Generated by configure */

static const struct option option[] = {
   { SOL_SOCKET, SO_BROADCAST, "SO_BROADCAST" },
   { SOL_SOCKET, SO_DEBUG, "SO_DEBUG" },
   { SOL_SOCKET, SO_DONTROUTE, "SO_DONTROUTE" },
   { SOL_SOCKET, SO_KEEPALIVE, "SO_KEEPALIVE" },
   { SOL_SOCKET, SO_LINGER, "SO_LINGER" },
   { SOL_SOCKET, SO_OOBINLINE, "SO_OOBINLINE" },
   { SOL_SOCKET, SO_RCVBUF, "SO_RCVBUF" },
   { SOL_SOCKET, SO_RCVLOWAT, "SO_RCVLOWAT" },
   { SOL_SOCKET, SO_RCVTIMEO, "SO_RCVTIMEO" },
   { SOL_SOCKET, SO_SNDBUF, "SO_SNDBUF" },
   { SOL_SOCKET, SO_SNDLOWAT, "SO_SNDLOWAT" },
   { SOL_SOCKET, SO_SNDTIMEO, "SO_SNDTIMEO" },
   { SOL_SOCKET, SO_TIMESTAMP, "SO_TIMESTAMP" },
   { SOL_SOCKET, SO_USELOOPBACK, "SO_USELOOPBACK" },
   { IPPROTO_TCP, TCP_MAXSEG, "TCP_MAXSEG" },
   { IPPROTO_TCP, TCP_NODELAY, "TCP_NODELAY" },
   { IPPROTO_IP, IP_TOS, "IP_TOS" },
   { IPPROTO_IP, IP_TTL, "IP_TTL" },
   { SOL_SOCKET, SO_REUSEADDR, "SO_REUSEADDR" },
   { SOL_SOCKET, SO_REUSEPORT, "SO_REUSEPORT" },
   { IPPROTO_IP, IP_HDRINCL, "IP_HDRINCL" },
   { IPPROTO_IP, IP_HDRINCL, "IP_HDRINCL" },
   { IPPROTO_IP, IP_MULTICAST_IF, "IP_MULTICAST_IF" },
   { IPPROTO_IP, IP_MULTICAST_LOOP, "IP_MULTICAST_LOOP" },
   { IPPROTO_IP, IP_MULTICAST_TTL, "IP_MULTICAST_TTL" },
   { IPPROTO_IP, IP_OPTIONS, "IP_OPTIONS" },
   { IPPROTO_IP, IP_RECVDSTADDR, "IP_RECVDSTADDR" },
   { IPPROTO_IP, IP_RECVIF, "IP_RECVIF" },
};

static const sockopt_t sockopts[] = {
   { 0, int_val, SO_BROADCAST, SOCKS_SO_BROADCAST_LVL, SOCKS_SO_BROADCAST_IPV4, SOCKS_SO_BROADCAST_IPV6, preonly, 0, 0, 0, 0, SOCKS_SO_BROADCAST_NAME },
   { 1, int_val, SO_DEBUG, SOCKS_SO_DEBUG_LVL, SOCKS_SO_DEBUG_IPV4, SOCKS_SO_DEBUG_IPV6, anytime, 0, 0, 0, 0, SOCKS_SO_DEBUG_NAME },
   { 2, int_val, SO_DONTROUTE, SOCKS_SO_DONTROUTE_LVL, SOCKS_SO_DONTROUTE_IPV4, SOCKS_SO_DONTROUTE_IPV6, preonly, 0, 0, 0, 0, SOCKS_SO_DONTROUTE_NAME },
   { 3, int_val, SO_KEEPALIVE, SOCKS_SO_KEEPALIVE_LVL, SOCKS_SO_KEEPALIVE_IPV4, SOCKS_SO_KEEPALIVE_IPV6, preonly, 0, 0, 0, 0, SOCKS_SO_KEEPALIVE_NAME },
   { 4, linger_val, SO_LINGER, SOCKS_SO_LINGER_LVL, SOCKS_SO_LINGER_IPV4, SOCKS_SO_LINGER_IPV6, preonly, 0, 0, 0, 0, SOCKS_SO_LINGER_NAME },
   { 5, int_val, SO_OOBINLINE, SOCKS_SO_OOBINLINE_LVL, SOCKS_SO_OOBINLINE_IPV4, SOCKS_SO_OOBINLINE_IPV6, preonly, 0, 0, 0, 0, SOCKS_SO_OOBINLINE_NAME },
   { 6, int_val, SO_RCVBUF, SOCKS_SO_RCVBUF_LVL, SOCKS_SO_RCVBUF_IPV4, SOCKS_SO_RCVBUF_IPV6, preonly, 0, 0, 0, 0, SOCKS_SO_RCVBUF_NAME },
   { 7, int_val, SO_RCVLOWAT, SOCKS_SO_RCVLOWAT_LVL, SOCKS_SO_RCVLOWAT_IPV4, SOCKS_SO_RCVLOWAT_IPV6, preonly, 0, 0, 0, 0, SOCKS_SO_RCVLOWAT_NAME },
   { 8, timeval_val, SO_RCVTIMEO, SOCKS_SO_RCVTIMEO_LVL, SOCKS_SO_RCVTIMEO_IPV4, SOCKS_SO_RCVTIMEO_IPV6, preonly, 0, 0, 0, 0, SOCKS_SO_RCVTIMEO_NAME },
   { 9, int_val, SO_SNDBUF, SOCKS_SO_SNDBUF_LVL, SOCKS_SO_SNDBUF_IPV4, SOCKS_SO_SNDBUF_IPV6, preonly, 0, 0, 0, 0, SOCKS_SO_SNDBUF_NAME },
   { 10, int_val, SO_SNDLOWAT, SOCKS_SO_SNDLOWAT_LVL, SOCKS_SO_SNDLOWAT_IPV4, SOCKS_SO_SNDLOWAT_IPV6, preonly, 0, 0, 0, 0, SOCKS_SO_SNDLOWAT_NAME },
   { 11, timeval_val, SO_SNDTIMEO, SOCKS_SO_SNDTIMEO_LVL, SOCKS_SO_SNDTIMEO_IPV4, SOCKS_SO_SNDTIMEO_IPV6, preonly, 0, 0, 0, 0, SOCKS_SO_SNDTIMEO_NAME },
   { 12, int_val, SO_TIMESTAMP, SOCKS_SO_TIMESTAMP_LVL, SOCKS_SO_TIMESTAMP_IPV4, SOCKS_SO_TIMESTAMP_IPV6, preonly, 0, 0, 0, 0, SOCKS_SO_TIMESTAMP_NAME },
   { 13, int_val, SO_USELOOPBACK, SOCKS_SO_USELOOPBACK_LVL, SOCKS_SO_USELOOPBACK_IPV4, SOCKS_SO_USELOOPBACK_IPV6, preonly, 0, 0, 0, 0, SOCKS_SO_USELOOPBACK_NAME },
   { 14, int_val, TCP_KEEPCNT, SOCKS_TCP_KEEPCNT_LVL, SOCKS_TCP_KEEPCNT_IPV4, SOCKS_TCP_KEEPCNT_IPV6, preonly, 0, 0, 0, 0, SOCKS_TCP_KEEPCNT_NAME },
   { 15, int_val, TCP_KEEPIDLE, SOCKS_TCP_KEEPIDLE_LVL, SOCKS_TCP_KEEPIDLE_IPV4, SOCKS_TCP_KEEPIDLE_IPV6, preonly, 0, 0, 0, 0, SOCKS_TCP_KEEPIDLE_NAME },
   { 16, int_val, TCP_KEEPINTVL, SOCKS_TCP_KEEPINTVL_LVL, SOCKS_TCP_KEEPINTVL_IPV4, SOCKS_TCP_KEEPINTVL_IPV6, preonly, 0, 0, 0, 0, SOCKS_TCP_KEEPINTVL_NAME },
   { 17, int_val, TCP_MAXSEG, SOCKS_TCP_MAXSEG_LVL, SOCKS_TCP_MAXSEG_IPV4, SOCKS_TCP_MAXSEG_IPV6, preonly, 0, 0, 0, 0, SOCKS_TCP_MAXSEG_NAME },
   { 18, int_val, TCP_MD5SIG, SOCKS_TCP_MD5SIG_LVL, SOCKS_TCP_MD5SIG_IPV4, SOCKS_TCP_MD5SIG_IPV6, preonly, 0, 0, 0, 0, SOCKS_TCP_MD5SIG_NAME },
   { 19, int_val, TCP_NODELAY, SOCKS_TCP_NODELAY_LVL, SOCKS_TCP_NODELAY_IPV4, SOCKS_TCP_NODELAY_IPV6, preonly, 0, 0, 0, 0, SOCKS_TCP_NODELAY_NAME },
   { 20, int_val, IP_MINTTL, SOCKS_IP_MINTTL_LVL, SOCKS_IP_MINTTL_IPV4, SOCKS_IP_MINTTL_IPV6, preonly, 0, 0, 0, 0, SOCKS_IP_MINTTL_NAME },
   { 21, int_val, IP_PORTRANGE, SOCKS_IP_PORTRANGE_LVL, SOCKS_IP_PORTRANGE_IPV4, SOCKS_IP_PORTRANGE_IPV6, preonly, 0, 0, 0, 0, SOCKS_IP_PORTRANGE_NAME },
   { 22, int_val, IP_TOS, SOCKS_IP_TOS_LVL, SOCKS_IP_TOS_IPV4, SOCKS_IP_TOS_IPV6, anytime, 0, 0, 0, 0, SOCKS_IP_TOS_NAME },
   { 23, int_val, IP_TOS, SOCKS_IP_TOS_LVL, SOCKS_IP_TOS_IPV4, SOCKS_IP_TOS_IPV6, anytime, 2, 0x3F, 0, 0, SOCKS_IP_TOS_DSCP_NAME },
   { 24, int_val, IP_TOS, SOCKS_IP_TOS_LVL, SOCKS_IP_TOS_IPV4, SOCKS_IP_TOS_IPV6, anytime, 5, 0x7, 0, 0, SOCKS_IP_TOS_PREC_NAME },
   { 25, int_val, IP_TOS, SOCKS_IP_TOS_LVL, SOCKS_IP_TOS_IPV4, SOCKS_IP_TOS_IPV6, anytime, 1, 0xf, 0, 0, SOCKS_IP_TOS_TOS_NAME },
   { 26, int_val, IP_TTL, SOCKS_IP_TTL_LVL, SOCKS_IP_TTL_IPV4, SOCKS_IP_TTL_IPV6, preonly, 0, 0, 0, 0, SOCKS_IP_TTL_NAME },
   { 27, int_val, IPV6_UNICAST_HOPS, SOCKS_IPV6_UNICAST_HOPS_LVL, SOCKS_IPV6_UNICAST_HOPS_IPV4, SOCKS_IPV6_UNICAST_HOPS_IPV6, preonly, 0, 0, 0, 0, SOCKS_IPV6_UNICAST_HOPS_NAME },
   { 28, int_val, IPV6_CHECKSUM, SOCKS_IPV6_CHECKSUM_LVL, SOCKS_IPV6_CHECKSUM_IPV4, SOCKS_IPV6_CHECKSUM_IPV6, preonly, 0, 0, 0, 0, SOCKS_IPV6_CHECKSUM_NAME },
   { 29, int_val, IPV6_DONTFRAG, SOCKS_IPV6_DONTFRAG_LVL, SOCKS_IPV6_DONTFRAG_IPV4, SOCKS_IPV6_DONTFRAG_IPV6, preonly, 0, 0, 0, 0, SOCKS_IPV6_DONTFRAG_NAME },
   { 30, int_val, IPV6_DSTOPTS, SOCKS_IPV6_DSTOPTS_LVL, SOCKS_IPV6_DSTOPTS_IPV4, SOCKS_IPV6_DSTOPTS_IPV6, preonly, 0, 0, 0, 0, SOCKS_IPV6_DSTOPTS_NAME },
   { 31, int_val, IPV6_DSTOPTS, SOCKS_IPV6_DSTOPTS_LVL, SOCKS_IPV6_DSTOPTS_IPV4, SOCKS_IPV6_DSTOPTS_IPV6, preonly, 0, 0, 0, 0, SOCKS_IPV6_DSTOPTS_NAME },
   { 32, int_val, IPV6_HOPLIMIT, SOCKS_IPV6_HOPLIMIT_LVL, SOCKS_IPV6_HOPLIMIT_IPV4, SOCKS_IPV6_HOPLIMIT_IPV6, preonly, 0, 0, 0, 0, SOCKS_IPV6_HOPLIMIT_NAME },
   { 33, int_val, IPV6_HOPLIMIT, SOCKS_IPV6_HOPLIMIT_LVL, SOCKS_IPV6_HOPLIMIT_IPV4, SOCKS_IPV6_HOPLIMIT_IPV6, preonly, 0, 0, 0, 0, SOCKS_IPV6_HOPLIMIT_NAME },
   { 34, int_val, IPV6_HOPOPTS, SOCKS_IPV6_HOPOPTS_LVL, SOCKS_IPV6_HOPOPTS_IPV4, SOCKS_IPV6_HOPOPTS_IPV6, preonly, 0, 0, 0, 0, SOCKS_IPV6_HOPOPTS_NAME },
   { 35, int_val, IPV6_HOPOPTS, SOCKS_IPV6_HOPOPTS_LVL, SOCKS_IPV6_HOPOPTS_IPV4, SOCKS_IPV6_HOPOPTS_IPV6, preonly, 0, 0, 0, 0, SOCKS_IPV6_HOPOPTS_NAME },
   { 36, int_val, IPV6_IPSEC_POLICY, SOCKS_IPV6_IPSEC_POLICY_LVL, SOCKS_IPV6_IPSEC_POLICY_IPV4, SOCKS_IPV6_IPSEC_POLICY_IPV6, preonly, 0, 0, 0, 0, SOCKS_IPV6_IPSEC_POLICY_NAME },
   { 37, int_val, IPV6_JOIN_GROUP, SOCKS_IPV6_JOIN_GROUP_LVL, SOCKS_IPV6_JOIN_GROUP_IPV4, SOCKS_IPV6_JOIN_GROUP_IPV6, preonly, 0, 0, 0, 0, SOCKS_IPV6_JOIN_GROUP_NAME },
   { 38, int_val, IPV6_LEAVE_GROUP, SOCKS_IPV6_LEAVE_GROUP_LVL, SOCKS_IPV6_LEAVE_GROUP_IPV4, SOCKS_IPV6_LEAVE_GROUP_IPV6, preonly, 0, 0, 0, 0, SOCKS_IPV6_LEAVE_GROUP_NAME },
   { 39, int_val, IPV6_NEXTHOP, SOCKS_IPV6_NEXTHOP_LVL, SOCKS_IPV6_NEXTHOP_IPV4, SOCKS_IPV6_NEXTHOP_IPV6, preonly, 0, 0, 0, 0, SOCKS_IPV6_NEXTHOP_NAME },
   { 40, int_val, IPV6_PATHMTU, SOCKS_IPV6_PATHMTU_LVL, SOCKS_IPV6_PATHMTU_IPV4, SOCKS_IPV6_PATHMTU_IPV6, preonly, 0, 0, 0, 0, SOCKS_IPV6_PATHMTU_NAME },
   { 41, int_val, IPV6_PKTINFO, SOCKS_IPV6_PKTINFO_LVL, SOCKS_IPV6_PKTINFO_IPV4, SOCKS_IPV6_PKTINFO_IPV6, preonly, 0, 0, 0, 0, SOCKS_IPV6_PKTINFO_NAME },
   { 42, int_val, IPV6_PORTRANGE, SOCKS_IPV6_PORTRANGE_LVL, SOCKS_IPV6_PORTRANGE_IPV4, SOCKS_IPV6_PORTRANGE_IPV6, preonly, 0, 0, 0, 0, SOCKS_IPV6_PORTRANGE_NAME },
   { 43, int_val, IPV6_RTHDR, SOCKS_IPV6_RTHDR_LVL, SOCKS_IPV6_RTHDR_IPV4, SOCKS_IPV6_RTHDR_IPV6, preonly, 0, 0, 0, 0, SOCKS_IPV6_RTHDR_NAME },
   { 44, int_val, IPV6_RTHDRDSTOPTS, SOCKS_IPV6_RTHDRDSTOPTS_LVL, SOCKS_IPV6_RTHDRDSTOPTS_IPV4, SOCKS_IPV6_RTHDRDSTOPTS_IPV6, preonly, 0, 0, 0, 0, SOCKS_IPV6_RTHDRDSTOPTS_NAME },
   { 45, int_val, IPV6_TCLASS, SOCKS_IPV6_TCLASS_LVL, SOCKS_IPV6_TCLASS_IPV4, SOCKS_IPV6_TCLASS_IPV6, preonly, 0, 0, 0, 0, SOCKS_IPV6_TCLASS_NAME },
   { 46, int_val, IPV6_UNICAST_HOPS, SOCKS_IPV6_UNICAST_HOPS_LVL, SOCKS_IPV6_UNICAST_HOPS_IPV4, SOCKS_IPV6_UNICAST_HOPS_IPV6, preonly, 0, 0, 0, 0, SOCKS_IPV6_UNICAST_HOPS_NAME },
   { 47, int_val, IPV6_USE_MIN_MTU, SOCKS_IPV6_USE_MIN_MTU_LVL, SOCKS_IPV6_USE_MIN_MTU_IPV4, SOCKS_IPV6_USE_MIN_MTU_IPV6, preonly, 0, 0, 0, 0, SOCKS_IPV6_USE_MIN_MTU_NAME },
   { 48, int_val, IPV6_V6ONLY, SOCKS_IPV6_V6ONLY_LVL, SOCKS_IPV6_V6ONLY_IPV4, SOCKS_IPV6_V6ONLY_IPV6, preonly, 0, 0, 0, 0, SOCKS_IPV6_V6ONLY_NAME },
   { 49, int_val, SO_ERROR, SOCKS_SO_ERROR_LVL, SOCKS_SO_ERROR_IPV4, SOCKS_SO_ERROR_IPV6, invalid, 0, 0, 0, 0, SOCKS_SO_ERROR_NAME },
   { 50, int_val, SO_REUSEADDR, SOCKS_SO_REUSEADDR_LVL, SOCKS_SO_REUSEADDR_IPV4, SOCKS_SO_REUSEADDR_IPV6, invalid, 0, 0, 0, 0, SOCKS_SO_REUSEADDR_NAME },
   { 51, int_val, SO_REUSEPORT, SOCKS_SO_REUSEPORT_LVL, SOCKS_SO_REUSEPORT_IPV4, SOCKS_SO_REUSEPORT_IPV6, invalid, 0, 0, 0, 0, SOCKS_SO_REUSEPORT_NAME },
   { 52, int_val, SO_ACCEPTCONN, SOCKS_SO_ACCEPTCONN_LVL, SOCKS_SO_ACCEPTCONN_IPV4, SOCKS_SO_ACCEPTCONN_IPV6, invalid, 0, 0, 0, 0, SOCKS_SO_ACCEPTCONN_NAME },
   { 53, int_val, SO_TYPE, SOCKS_SO_TYPE_LVL, SOCKS_SO_TYPE_IPV4, SOCKS_SO_TYPE_IPV6, invalid, 0, 0, 0, 0, SOCKS_SO_TYPE_NAME },
   { 54, int_val, IP_ADD_MEMBERSHIP, SOCKS_IP_ADD_MEMBERSHIP_LVL, SOCKS_IP_ADD_MEMBERSHIP_IPV4, SOCKS_IP_ADD_MEMBERSHIP_IPV6, invalid, 0, 0, 0, 0, SOCKS_IP_ADD_MEMBERSHIP_NAME },
   { 55, int_val, IP_DROP_MEMBERSHIP, SOCKS_IP_DROP_MEMBERSHIP_LVL, SOCKS_IP_DROP_MEMBERSHIP_IPV4, SOCKS_IP_DROP_MEMBERSHIP_IPV6, invalid, 0, 0, 0, 0, SOCKS_IP_DROP_MEMBERSHIP_NAME },
   { 56, int_val, IP_DROP_MEMBERSHIP, SOCKS_IP_DROP_MEMBERSHIP_LVL, SOCKS_IP_DROP_MEMBERSHIP_IPV4, SOCKS_IP_DROP_MEMBERSHIP_IPV6, invalid, 0, 0, 0, 0, SOCKS_IP_DROP_MEMBERSHIP_NAME },
   { 57, int_val, IP_HDRINCL, SOCKS_IP_HDRINCL_LVL, SOCKS_IP_HDRINCL_IPV4, SOCKS_IP_HDRINCL_IPV6, invalid, 0, 0, 0, 0, SOCKS_IP_HDRINCL_NAME },
   { 58, int_val, IP_HDRINCL, SOCKS_IP_HDRINCL_LVL, SOCKS_IP_HDRINCL_IPV4, SOCKS_IP_HDRINCL_IPV6, invalid, 0, 0, 0, 0, SOCKS_IP_HDRINCL_NAME },
   { 59, int_val, IP_MULTICAST_IF, SOCKS_IP_MULTICAST_IF_LVL, SOCKS_IP_MULTICAST_IF_IPV4, SOCKS_IP_MULTICAST_IF_IPV6, invalid, 0, 0, 0, 0, SOCKS_IP_MULTICAST_IF_NAME },
   { 60, int_val, IP_MULTICAST_LOOP, SOCKS_IP_MULTICAST_LOOP_LVL, SOCKS_IP_MULTICAST_LOOP_IPV4, SOCKS_IP_MULTICAST_LOOP_IPV6, invalid, 0, 0, 0, 0, SOCKS_IP_MULTICAST_LOOP_NAME },
   { 61, int_val, IP_MULTICAST_TTL, SOCKS_IP_MULTICAST_TTL_LVL, SOCKS_IP_MULTICAST_TTL_IPV4, SOCKS_IP_MULTICAST_TTL_IPV6, invalid, 0, 0, 0, 0, SOCKS_IP_MULTICAST_TTL_NAME },
   { 62, int_val, IP_OPTIONS, SOCKS_IP_OPTIONS_LVL, SOCKS_IP_OPTIONS_IPV4, SOCKS_IP_OPTIONS_IPV6, invalid, 0, 0, 0, 0, SOCKS_IP_OPTIONS_NAME },
   { 63, int_val, IP_RECVDSTADDR, SOCKS_IP_RECVDSTADDR_LVL, SOCKS_IP_RECVDSTADDR_IPV4, SOCKS_IP_RECVDSTADDR_IPV6, invalid, 0, 0, 0, 0, SOCKS_IP_RECVDSTADDR_NAME },
   { 64, int_val, IP_RECVIF, SOCKS_IP_RECVIF_LVL, SOCKS_IP_RECVIF_IPV4, SOCKS_IP_RECVIF_IPV6, invalid, 0, 0, 0, 0, SOCKS_IP_RECVIF_NAME },
   { 65, int_val, IP_RECVTTL, SOCKS_IP_RECVTTL_LVL, SOCKS_IP_RECVTTL_IPV4, SOCKS_IP_RECVTTL_IPV6, invalid, 0, 0, 0, 0, SOCKS_IP_RECVTTL_NAME },
   { 66, int_val, IP_RECVTTL, SOCKS_IP_RECVTTL_LVL, SOCKS_IP_RECVTTL_IPV4, SOCKS_IP_RECVTTL_IPV6, invalid, 0, 0, 0, 0, SOCKS_IP_RECVTTL_NAME },
   { 67, int_val, IPV6_MULTICAST_HOPS, SOCKS_IPV6_MULTICAST_HOPS_LVL, SOCKS_IPV6_MULTICAST_HOPS_IPV4, SOCKS_IPV6_MULTICAST_HOPS_IPV6, invalid, 0, 0, 0, 0, SOCKS_IPV6_MULTICAST_HOPS_NAME },
   { 68, int_val, IPV6_MULTICAST_IF, SOCKS_IPV6_MULTICAST_IF_LVL, SOCKS_IPV6_MULTICAST_IF_IPV4, SOCKS_IPV6_MULTICAST_IF_IPV6, invalid, 0, 0, 0, 0, SOCKS_IPV6_MULTICAST_IF_NAME },
   { 69, int_val, IPV6_MULTICAST_LOOP, SOCKS_IPV6_MULTICAST_LOOP_LVL, SOCKS_IPV6_MULTICAST_LOOP_IPV4, SOCKS_IPV6_MULTICAST_LOOP_IPV6, invalid, 0, 0, 0, 0, SOCKS_IPV6_MULTICAST_LOOP_NAME },
   { 70, int_val, IPV6_RECVDSTOPTS, SOCKS_IPV6_RECVDSTOPTS_LVL, SOCKS_IPV6_RECVDSTOPTS_IPV4, SOCKS_IPV6_RECVDSTOPTS_IPV6, invalid, 0, 0, 0, 0, SOCKS_IPV6_RECVDSTOPTS_NAME },
   { 71, int_val, IPV6_RECVHOPLIMIT, SOCKS_IPV6_RECVHOPLIMIT_LVL, SOCKS_IPV6_RECVHOPLIMIT_IPV4, SOCKS_IPV6_RECVHOPLIMIT_IPV6, invalid, 0, 0, 0, 0, SOCKS_IPV6_RECVHOPLIMIT_NAME },
   { 72, int_val, IPV6_RECVHOPOPTS, SOCKS_IPV6_RECVHOPOPTS_LVL, SOCKS_IPV6_RECVHOPOPTS_IPV4, SOCKS_IPV6_RECVHOPOPTS_IPV6, invalid, 0, 0, 0, 0, SOCKS_IPV6_RECVHOPOPTS_NAME },
   { 73, int_val, IPV6_RECVPATHMTU, SOCKS_IPV6_RECVPATHMTU_LVL, SOCKS_IPV6_RECVPATHMTU_IPV4, SOCKS_IPV6_RECVPATHMTU_IPV6, invalid, 0, 0, 0, 0, SOCKS_IPV6_RECVPATHMTU_NAME },
   { 74, int_val, IPV6_RECVPKTINFO, SOCKS_IPV6_RECVPKTINFO_LVL, SOCKS_IPV6_RECVPKTINFO_IPV4, SOCKS_IPV6_RECVPKTINFO_IPV6, invalid, 0, 0, 0, 0, SOCKS_IPV6_RECVPKTINFO_NAME },
   { 75, int_val, IPV6_RECVRTHDR, SOCKS_IPV6_RECVRTHDR_LVL, SOCKS_IPV6_RECVRTHDR_IPV4, SOCKS_IPV6_RECVRTHDR_IPV6, invalid, 0, 0, 0, 0, SOCKS_IPV6_RECVRTHDR_NAME },
   { 76, int_val, IPV6_RECVTCLASS, SOCKS_IPV6_RECVTCLASS_LVL, SOCKS_IPV6_RECVTCLASS_IPV4, SOCKS_IPV6_RECVTCLASS_IPV6, invalid, 0, 0, 0, 0, SOCKS_IPV6_RECVTCLASS_NAME },
};

static const sockoptvalsym_t sockoptvalsyms[] = {
   { 21, { .int_val = IP_PORTRANGE_DEFAULT }, SOCKS_IP_PORTRANGE_DEFAULT_SYMNAME },
   { 21, { .int_val = IP_PORTRANGE_HIGH }, SOCKS_IP_PORTRANGE_HIGH_SYMNAME },
   { 21, { .int_val = IP_PORTRANGE_LOW }, SOCKS_IP_PORTRANGE_LOW_SYMNAME },
   { 23, { .int_val = SOCKS_IP_TOS_DSCP_AF11 }, SOCKS_IP_TOS_DSCP_AF11_SYMNAME },
   { 23, { .int_val = SOCKS_IP_TOS_DSCP_AF12 }, SOCKS_IP_TOS_DSCP_AF12_SYMNAME },
   { 23, { .int_val = SOCKS_IP_TOS_DSCP_AF13 }, SOCKS_IP_TOS_DSCP_AF13_SYMNAME },
   { 23, { .int_val = SOCKS_IP_TOS_DSCP_AF21 }, SOCKS_IP_TOS_DSCP_AF21_SYMNAME },
   { 23, { .int_val = SOCKS_IP_TOS_DSCP_AF22 }, SOCKS_IP_TOS_DSCP_AF22_SYMNAME },
   { 23, { .int_val = SOCKS_IP_TOS_DSCP_AF23 }, SOCKS_IP_TOS_DSCP_AF23_SYMNAME },
   { 23, { .int_val = SOCKS_IP_TOS_DSCP_AF31 }, SOCKS_IP_TOS_DSCP_AF31_SYMNAME },
   { 23, { .int_val = SOCKS_IP_TOS_DSCP_AF32 }, SOCKS_IP_TOS_DSCP_AF32_SYMNAME },
   { 23, { .int_val = SOCKS_IP_TOS_DSCP_AF33 }, SOCKS_IP_TOS_DSCP_AF33_SYMNAME },
   { 23, { .int_val = SOCKS_IP_TOS_DSCP_AF41 }, SOCKS_IP_TOS_DSCP_AF41_SYMNAME },
   { 23, { .int_val = SOCKS_IP_TOS_DSCP_AF42 }, SOCKS_IP_TOS_DSCP_AF42_SYMNAME },
   { 23, { .int_val = SOCKS_IP_TOS_DSCP_AF43 }, SOCKS_IP_TOS_DSCP_AF43_SYMNAME },
   { 23, { .int_val = SOCKS_IP_TOS_DSCP_CS0 }, SOCKS_IP_TOS_DSCP_CS0_SYMNAME },
   { 23, { .int_val = SOCKS_IP_TOS_DSCP_CS1 }, SOCKS_IP_TOS_DSCP_CS1_SYMNAME },
   { 23, { .int_val = SOCKS_IP_TOS_DSCP_CS2 }, SOCKS_IP_TOS_DSCP_CS2_SYMNAME },
   { 23, { .int_val = SOCKS_IP_TOS_DSCP_CS3 }, SOCKS_IP_TOS_DSCP_CS3_SYMNAME },
   { 23, { .int_val = SOCKS_IP_TOS_DSCP_CS4 }, SOCKS_IP_TOS_DSCP_CS4_SYMNAME },
   { 23, { .int_val = SOCKS_IP_TOS_DSCP_CS5 }, SOCKS_IP_TOS_DSCP_CS5_SYMNAME },
   { 23, { .int_val = SOCKS_IP_TOS_DSCP_CS6 }, SOCKS_IP_TOS_DSCP_CS6_SYMNAME },
   { 23, { .int_val = SOCKS_IP_TOS_DSCP_CS7 }, SOCKS_IP_TOS_DSCP_CS7_SYMNAME },
   { 23, { .int_val = SOCKS_IP_TOS_DSCP_EF }, SOCKS_IP_TOS_DSCP_EF_SYMNAME },
   { 24, { .int_val = SOCKS_IP_TOS_PREC_NETCONTROL }, SOCKS_IP_TOS_PREC_NETCONTROL_SYMNAME },
   { 24, { .int_val = SOCKS_IP_TOS_PREC_INTERNETCONTROL }, SOCKS_IP_TOS_PREC_INTERNETCONTROL_SYMNAME },
   { 24, { .int_val = SOCKS_IP_TOS_PREC_CRITIC_ECP }, SOCKS_IP_TOS_PREC_CRITIC_ECP_SYMNAME },
   { 24, { .int_val = SOCKS_IP_TOS_PREC_FLASHOVERRIDE }, SOCKS_IP_TOS_PREC_FLASHOVERRIDE_SYMNAME },
   { 24, { .int_val = SOCKS_IP_TOS_PREC_FLASH }, SOCKS_IP_TOS_PREC_FLASH_SYMNAME },
   { 24, { .int_val = SOCKS_IP_TOS_PREC_IMMEDIATE }, SOCKS_IP_TOS_PREC_IMMEDIATE_SYMNAME },
   { 24, { .int_val = SOCKS_IP_TOS_PREC_PRIORITY }, SOCKS_IP_TOS_PREC_PRIORITY_SYMNAME },
   { 24, { .int_val = SOCKS_IP_TOS_PREC_ROUTINE }, SOCKS_IP_TOS_PREC_ROUTINE_SYMNAME },
   { 25, { .int_val = SOCKS_IP_TOS_TOS_LOWDELAY }, SOCKS_IP_TOS_TOS_LOWDELAY_SYMNAME },
   { 25, { .int_val = SOCKS_IP_TOS_TOS_THROUGHPUT }, SOCKS_IP_TOS_TOS_THROUGHPUT_SYMNAME },
   { 25, { .int_val = SOCKS_IP_TOS_TOS_RELIABILITY }, SOCKS_IP_TOS_TOS_RELIABILITY_SYMNAME },
};
