Skip to content

OSSockOpt

[Source]

Convenience functions to fetch the option level and option name constants (arguments #2 and #3) for the getsockopt(2) and setsockopt(2) operating system calls.

The values of the option level and option name constants are typically C preprocessor macros, e.g., #define SOMETHING 42. These macro names are upper case and may contain multiple consecutive underscore characters (though this is rare, for example, IP_NAT__XXX). The function names in this primitive are derived by the C macro name and then:

  • converted to lower case
  • any double underscore (__) is converted to a single underscore (_).

These constants are not stable between Pony releases. Values returned by this function may be held by long-lived variables by the calling process: values cannot change while the process runs. Programmers must not cache any of these values for purposes of sharing them for use by any other Pony program (for example, sharing via serialization & deserialization or via direct shared memory).

Many functions may return -1, which means that the constant's value could not be determined at the Pony runtime library compile time. One cause may be that the option truly isn't available, for example, the option level constant IPPROTO_3PC is available on MacOS 10.x but not on Linux 4.4. Another cause may be the Pony runtime library's compilation did not include the correct header file(s) for the target OS platform.

A third cause of error is due to the regular expression-based approach used to harvest desirable constants. It is not fool-proof. The regexp used is too broad and finds some macros that are not supposed to be used with getsockopt(2) and setsockopt(2). Please consult your platform's documentation to verify the names of the option level and option name macros.

The following code fragments are equivalent: set the socket receive buffer size for the file descriptor fd to 4455.

/* In C */
int option_value = 4455;
setsockopt(fd, SOL_SOCKET, SO_RCVBUF, &option_value, 4);

/* In Pony */
var option: I32 = 4455;
@setsockopt[I32](fd, OSSockOpt.sol_socket(), OSSockOpt.so_rcvbuf(),
  addressof option, I32(4))
primitive val OSSockOpt

Constructors

create

[Source]

new val create()
: OSSockOpt val^

Returns


Public Functions

ipproto_3pc

[Source]

fun box ipproto_3pc()
: I32 val

Returns


ipproto_adfs

[Source]

fun box ipproto_adfs()
: I32 val

Returns


ipproto_ah

[Source]

fun box ipproto_ah()
: I32 val

Returns


ipproto_ahip

[Source]

fun box ipproto_ahip()
: I32 val

Returns


ipproto_apes

[Source]

fun box ipproto_apes()
: I32 val

Returns


ipproto_argus

[Source]

fun box ipproto_argus()
: I32 val

Returns


ipproto_ax25

[Source]

fun box ipproto_ax25()
: I32 val

Returns


ipproto_beetph

[Source]

fun box ipproto_beetph()
: I32 val

Returns


ipproto_bha

[Source]

fun box ipproto_bha()
: I32 val

Returns


ipproto_blt

[Source]

fun box ipproto_blt()
: I32 val

Returns


ipproto_brsatmon

[Source]

fun box ipproto_brsatmon()
: I32 val

Returns


ipproto_carp

[Source]

fun box ipproto_carp()
: I32 val

Returns


ipproto_cftp

[Source]

fun box ipproto_cftp()
: I32 val

Returns


ipproto_chaos

[Source]

fun box ipproto_chaos()
: I32 val

Returns


ipproto_cmtp

[Source]

fun box ipproto_cmtp()
: I32 val

Returns


ipproto_comp

[Source]

fun box ipproto_comp()
: I32 val

Returns


ipproto_cphb

[Source]

fun box ipproto_cphb()
: I32 val

Returns


ipproto_cpnx

[Source]

fun box ipproto_cpnx()
: I32 val

Returns


ipproto_dccp

[Source]

fun box ipproto_dccp()
: I32 val

Returns


ipproto_ddp

[Source]

fun box ipproto_ddp()
: I32 val

Returns


ipproto_dgp

[Source]

fun box ipproto_dgp()
: I32 val

Returns


ipproto_divert

[Source]

fun box ipproto_divert()
: I32 val

Returns


ipproto_done

[Source]

fun box ipproto_done()
: I32 val

Returns


ipproto_dstopts

[Source]

fun box ipproto_dstopts()
: I32 val

Returns


ipproto_egp

[Source]

fun box ipproto_egp()
: I32 val

Returns


ipproto_emcon

[Source]

fun box ipproto_emcon()
: I32 val

Returns


ipproto_encap

[Source]

fun box ipproto_encap()
: I32 val

Returns


ipproto_eon

[Source]

fun box ipproto_eon()
: I32 val

Returns


ipproto_esp

[Source]

fun box ipproto_esp()
: I32 val

Returns


ipproto_etherip

[Source]

fun box ipproto_etherip()
: I32 val

Returns


ipproto_fragment

[Source]

fun box ipproto_fragment()
: I32 val

Returns


ipproto_ggp

[Source]

fun box ipproto_ggp()
: I32 val

Returns


ipproto_gmtp

[Source]

fun box ipproto_gmtp()
: I32 val

Returns


ipproto_gre

[Source]

fun box ipproto_gre()
: I32 val

Returns


ipproto_hello

[Source]

fun box ipproto_hello()
: I32 val

Returns


ipproto_hip

[Source]

fun box ipproto_hip()
: I32 val

Returns


ipproto_hmp

[Source]

fun box ipproto_hmp()
: I32 val

Returns


ipproto_hopopts

[Source]

fun box ipproto_hopopts()
: I32 val

Returns


ipproto_icmp

[Source]

fun box ipproto_icmp()
: I32 val

Returns


ipproto_icmpv6

[Source]

fun box ipproto_icmpv6()
: I32 val

Returns


ipproto_idp

[Source]

fun box ipproto_idp()
: I32 val

Returns


ipproto_idpr

[Source]

fun box ipproto_idpr()
: I32 val

Returns


ipproto_idrp

[Source]

fun box ipproto_idrp()
: I32 val

Returns


ipproto_igmp

[Source]

fun box ipproto_igmp()
: I32 val

Returns


ipproto_igp

[Source]

fun box ipproto_igp()
: I32 val

Returns


ipproto_igrp

[Source]

fun box ipproto_igrp()
: I32 val

Returns


ipproto_il

[Source]

fun box ipproto_il()
: I32 val

Returns


ipproto_inlsp

[Source]

fun box ipproto_inlsp()
: I32 val

Returns


ipproto_inp

[Source]

fun box ipproto_inp()
: I32 val

Returns


ipproto_ip

[Source]

fun box ipproto_ip()
: I32 val

Returns


ipproto_ipcomp

[Source]

fun box ipproto_ipcomp()
: I32 val

Returns


ipproto_ipcv

[Source]

fun box ipproto_ipcv()
: I32 val

Returns


ipproto_ipeip

[Source]

fun box ipproto_ipeip()
: I32 val

Returns


ipproto_ipip

[Source]

fun box ipproto_ipip()
: I32 val

Returns


ipproto_ippc

[Source]

fun box ipproto_ippc()
: I32 val

Returns


ipproto_ipv4

[Source]

fun box ipproto_ipv4()
: I32 val

Returns


ipproto_ipv6

[Source]

fun box ipproto_ipv6()
: I32 val

Returns


ipproto_irtp

[Source]

fun box ipproto_irtp()
: I32 val

Returns


ipproto_kryptolan

[Source]

fun box ipproto_kryptolan()
: I32 val

Returns


ipproto_larp

[Source]

fun box ipproto_larp()
: I32 val

Returns


ipproto_leaf1

[Source]

fun box ipproto_leaf1()
: I32 val

Returns


ipproto_leaf2

[Source]

fun box ipproto_leaf2()
: I32 val

Returns


ipproto_max

[Source]

fun box ipproto_max()
: I32 val

Returns


ipproto_maxid

[Source]

fun box ipproto_maxid()
: I32 val

Returns


ipproto_meas

[Source]

fun box ipproto_meas()
: I32 val

Returns


ipproto_mh

[Source]

fun box ipproto_mh()
: I32 val

Returns


ipproto_mhrp

[Source]

fun box ipproto_mhrp()
: I32 val

Returns


ipproto_micp

[Source]

fun box ipproto_micp()
: I32 val

Returns


ipproto_mobile

[Source]

fun box ipproto_mobile()
: I32 val

Returns


ipproto_mpls

[Source]

fun box ipproto_mpls()
: I32 val

Returns


ipproto_mtp

[Source]

fun box ipproto_mtp()
: I32 val

Returns


ipproto_mux

[Source]

fun box ipproto_mux()
: I32 val

Returns


ipproto_nd

[Source]

fun box ipproto_nd()
: I32 val

Returns


ipproto_nhrp

[Source]

fun box ipproto_nhrp()
: I32 val

Returns


ipproto_none

[Source]

fun box ipproto_none()
: I32 val

Returns


ipproto_nsp

[Source]

fun box ipproto_nsp()
: I32 val

Returns


ipproto_nvpii

[Source]

fun box ipproto_nvpii()
: I32 val

Returns


ipproto_old_divert

[Source]

fun box ipproto_old_divert()
: I32 val

Returns


ipproto_ospfigp

[Source]

fun box ipproto_ospfigp()
: I32 val

Returns


ipproto_pfsync

[Source]

fun box ipproto_pfsync()
: I32 val

Returns


ipproto_pgm

[Source]

fun box ipproto_pgm()
: I32 val

Returns


ipproto_pigp

[Source]

fun box ipproto_pigp()
: I32 val

Returns


ipproto_pim

[Source]

fun box ipproto_pim()
: I32 val

Returns


ipproto_prm

[Source]

fun box ipproto_prm()
: I32 val

Returns


ipproto_pup

[Source]

fun box ipproto_pup()
: I32 val

Returns


ipproto_pvp

[Source]

fun box ipproto_pvp()
: I32 val

Returns


ipproto_raw

[Source]

fun box ipproto_raw()
: I32 val

Returns


ipproto_rccmon

[Source]

fun box ipproto_rccmon()
: I32 val

Returns


ipproto_rdp

[Source]

fun box ipproto_rdp()
: I32 val

Returns


ipproto_reserved_253

[Source]

fun box ipproto_reserved_253()
: I32 val

Returns


ipproto_reserved_254

[Source]

fun box ipproto_reserved_254()
: I32 val

Returns


ipproto_routing

[Source]

fun box ipproto_routing()
: I32 val

Returns


ipproto_rsvp

[Source]

fun box ipproto_rsvp()
: I32 val

Returns


ipproto_rvd

[Source]

fun box ipproto_rvd()
: I32 val

Returns


ipproto_satexpak

[Source]

fun box ipproto_satexpak()
: I32 val

Returns


ipproto_satmon

[Source]

fun box ipproto_satmon()
: I32 val

Returns


ipproto_sccsp

[Source]

fun box ipproto_sccsp()
: I32 val

Returns


ipproto_sctp

[Source]

fun box ipproto_sctp()
: I32 val

Returns


ipproto_sdrp

[Source]

fun box ipproto_sdrp()
: I32 val

Returns


ipproto_send

[Source]

fun box ipproto_send()
: I32 val

Returns


ipproto_sep

[Source]

fun box ipproto_sep()
: I32 val

Returns


ipproto_shim6

[Source]

fun box ipproto_shim6()
: I32 val

Returns


ipproto_skip

[Source]

fun box ipproto_skip()
: I32 val

Returns


ipproto_spacer

[Source]

fun box ipproto_spacer()
: I32 val

Returns


ipproto_srpc

[Source]

fun box ipproto_srpc()
: I32 val

Returns


ipproto_st

[Source]

fun box ipproto_st()
: I32 val

Returns


ipproto_svmtp

[Source]

fun box ipproto_svmtp()
: I32 val

Returns


ipproto_swipe

[Source]

fun box ipproto_swipe()
: I32 val

Returns


ipproto_tcf

[Source]

fun box ipproto_tcf()
: I32 val

Returns


ipproto_tcp

[Source]

fun box ipproto_tcp()
: I32 val

Returns


ipproto_tlsp

[Source]

fun box ipproto_tlsp()
: I32 val

Returns


ipproto_tp

[Source]

fun box ipproto_tp()
: I32 val

Returns


ipproto_tpxx

[Source]

fun box ipproto_tpxx()
: I32 val

Returns


ipproto_trunk1

[Source]

fun box ipproto_trunk1()
: I32 val

Returns


ipproto_trunk2

[Source]

fun box ipproto_trunk2()
: I32 val

Returns


ipproto_ttp

[Source]

fun box ipproto_ttp()
: I32 val

Returns


ipproto_udp

[Source]

fun box ipproto_udp()
: I32 val

Returns


ipproto_udplite

[Source]

fun box ipproto_udplite()
: I32 val

Returns


ipproto_vines

[Source]

fun box ipproto_vines()
: I32 val

Returns


ipproto_visa

[Source]

fun box ipproto_visa()
: I32 val

Returns


ipproto_vmtp

[Source]

fun box ipproto_vmtp()
: I32 val

Returns


ipproto_wbexpak

[Source]

fun box ipproto_wbexpak()
: I32 val

Returns


ipproto_wbmon

[Source]

fun box ipproto_wbmon()
: I32 val

Returns


ipproto_wsn

[Source]

fun box ipproto_wsn()
: I32 val

Returns


ipproto_xnet

[Source]

fun box ipproto_xnet()
: I32 val

Returns


ipproto_xtp

[Source]

fun box ipproto_xtp()
: I32 val

Returns


sol_atalk

[Source]

fun box sol_atalk()
: I32 val

Returns


sol_ax25

[Source]

fun box sol_ax25()
: I32 val

Returns


sol_hci_raw

[Source]

fun box sol_hci_raw()
: I32 val

Returns


sol_ipx

[Source]

fun box sol_ipx()
: I32 val

Returns


sol_l2cap

[Source]

fun box sol_l2cap()
: I32 val

Returns


sol_local

[Source]

fun box sol_local()
: I32 val

Returns


sol_ndrvproto

[Source]

fun box sol_ndrvproto()
: I32 val

Returns


sol_netrom

[Source]

fun box sol_netrom()
: I32 val

Returns


sol_rds

[Source]

fun box sol_rds()
: I32 val

Returns


sol_rfcomm

[Source]

fun box sol_rfcomm()
: I32 val

Returns


sol_rose

[Source]

fun box sol_rose()
: I32 val

Returns


sol_sco

[Source]

fun box sol_sco()
: I32 val

Returns


sol_socket

[Source]

fun box sol_socket()
: I32 val

Returns


sol_tipc

[Source]

fun box sol_tipc()
: I32 val

Returns


sol_udp

[Source]

fun box sol_udp()
: I32 val

Returns


af_coip

[Source]

fun box af_coip()
: I32 val

Returns


af_inet

[Source]

fun box af_inet()
: I32 val

Returns


af_inet6

[Source]

fun box af_inet6()
: I32 val

Returns


bluetooth_proto_sco

[Source]

fun box bluetooth_proto_sco()
: I32 val

Returns


dccp_nr_pkt_types

[Source]

fun box dccp_nr_pkt_types()
: I32 val

Returns


dccp_service_list_max_len

[Source]

fun box dccp_service_list_max_len()
: I32 val

Returns


dccp_single_opt_maxlen

[Source]

fun box dccp_single_opt_maxlen()
: I32 val

Returns


dccp_sockopt_available_ccids

[Source]

fun box dccp_sockopt_available_ccids()
: I32 val

Returns


dccp_sockopt_ccid

[Source]

fun box dccp_sockopt_ccid()
: I32 val

Returns


dccp_sockopt_ccid_rx_info

[Source]

fun box dccp_sockopt_ccid_rx_info()
: I32 val

Returns


dccp_sockopt_ccid_tx_info

[Source]

fun box dccp_sockopt_ccid_tx_info()
: I32 val

Returns


dccp_sockopt_change_l

[Source]

fun box dccp_sockopt_change_l()
: I32 val

Returns


dccp_sockopt_change_r

[Source]

fun box dccp_sockopt_change_r()
: I32 val

Returns


dccp_sockopt_get_cur_mps

[Source]

fun box dccp_sockopt_get_cur_mps()
: I32 val

Returns


dccp_sockopt_packet_size

[Source]

fun box dccp_sockopt_packet_size()
: I32 val

Returns


dccp_sockopt_qpolicy_id

[Source]

fun box dccp_sockopt_qpolicy_id()
: I32 val

Returns


dccp_sockopt_qpolicy_txqlen

[Source]

fun box dccp_sockopt_qpolicy_txqlen()
: I32 val

Returns


dccp_sockopt_recv_cscov

[Source]

fun box dccp_sockopt_recv_cscov()
: I32 val

Returns


dccp_sockopt_rx_ccid

[Source]

fun box dccp_sockopt_rx_ccid()
: I32 val

Returns


dccp_sockopt_send_cscov

[Source]

fun box dccp_sockopt_send_cscov()
: I32 val

Returns


dccp_sockopt_server_timewait

[Source]

fun box dccp_sockopt_server_timewait()
: I32 val

Returns


dccp_sockopt_service

[Source]

fun box dccp_sockopt_service()
: I32 val

Returns


dccp_sockopt_tx_ccid

[Source]

fun box dccp_sockopt_tx_ccid()
: I32 val

Returns


dso_acceptmode

[Source]

fun box dso_acceptmode()
: I32 val

Returns


dso_conaccept

[Source]

fun box dso_conaccept()
: I32 val

Returns


dso_conaccess

[Source]

fun box dso_conaccess()
: I32 val

Returns


dso_condata

[Source]

fun box dso_condata()
: I32 val

Returns


dso_conreject

[Source]

fun box dso_conreject()
: I32 val

Returns


dso_cork

[Source]

fun box dso_cork()
: I32 val

Returns


dso_disdata

[Source]

fun box dso_disdata()
: I32 val

Returns


dso_info

[Source]

fun box dso_info()
: I32 val

Returns


dso_linkinfo

[Source]

fun box dso_linkinfo()
: I32 val

Returns


dso_max

[Source]

fun box dso_max()
: I32 val

Returns


dso_maxwindow

[Source]

fun box dso_maxwindow()
: I32 val

Returns


dso_nodelay

[Source]

fun box dso_nodelay()
: I32 val

Returns


dso_seqpacket

[Source]

fun box dso_seqpacket()
: I32 val

Returns


dso_services

[Source]

fun box dso_services()
: I32 val

Returns


dso_stream

[Source]

fun box dso_stream()
: I32 val

Returns


icmp_address

[Source]

fun box icmp_address()
: I32 val

Returns


icmp_addressreply

[Source]

fun box icmp_addressreply()
: I32 val

Returns


icmp_dest_unreach

[Source]

fun box icmp_dest_unreach()
: I32 val

Returns


icmp_echo

[Source]

fun box icmp_echo()
: I32 val

Returns


icmp_echoreply

[Source]

fun box icmp_echoreply()
: I32 val

Returns


icmp_exc_fragtime

[Source]

fun box icmp_exc_fragtime()
: I32 val

Returns


icmp_exc_ttl

[Source]

fun box icmp_exc_ttl()
: I32 val

Returns


icmp_filter

[Source]

fun box icmp_filter()
: I32 val

Returns


icmp_frag_needed

[Source]

fun box icmp_frag_needed()
: I32 val

Returns


icmp_host_ano

[Source]

fun box icmp_host_ano()
: I32 val

Returns


icmp_host_isolated

[Source]

fun box icmp_host_isolated()
: I32 val

Returns


icmp_host_unknown

[Source]

fun box icmp_host_unknown()
: I32 val

Returns


icmp_host_unreach

[Source]

fun box icmp_host_unreach()
: I32 val

Returns


icmp_host_unr_tos

[Source]

fun box icmp_host_unr_tos()
: I32 val

Returns


icmp_info_reply

[Source]

fun box icmp_info_reply()
: I32 val

Returns


icmp_info_request

[Source]

fun box icmp_info_request()
: I32 val

Returns


icmp_net_ano

[Source]

fun box icmp_net_ano()
: I32 val

Returns


icmp_net_unknown

[Source]

fun box icmp_net_unknown()
: I32 val

Returns


icmp_net_unreach

[Source]

fun box icmp_net_unreach()
: I32 val

Returns


icmp_net_unr_tos

[Source]

fun box icmp_net_unr_tos()
: I32 val

Returns


icmp_parameterprob

[Source]

fun box icmp_parameterprob()
: I32 val

Returns


icmp_pkt_filtered

[Source]

fun box icmp_pkt_filtered()
: I32 val

Returns


icmp_port_unreach

[Source]

fun box icmp_port_unreach()
: I32 val

Returns


icmp_prec_cutoff

[Source]

fun box icmp_prec_cutoff()
: I32 val

Returns


icmp_prec_violation

[Source]

fun box icmp_prec_violation()
: I32 val

Returns


icmp_prot_unreach

[Source]

fun box icmp_prot_unreach()
: I32 val

Returns


icmp_redirect

[Source]

fun box icmp_redirect()
: I32 val

Returns


icmp_redir_host

[Source]

fun box icmp_redir_host()
: I32 val

Returns


icmp_redir_hosttos

[Source]

fun box icmp_redir_hosttos()
: I32 val

Returns


icmp_redir_net

[Source]

fun box icmp_redir_net()
: I32 val

Returns


icmp_redir_nettos

[Source]

fun box icmp_redir_nettos()
: I32 val

Returns


icmp_source_quench

[Source]

fun box icmp_source_quench()
: I32 val

Returns


icmp_sr_failed

[Source]

fun box icmp_sr_failed()
: I32 val

Returns


icmp_timestamp

[Source]

fun box icmp_timestamp()
: I32 val

Returns


icmp_timestampreply

[Source]

fun box icmp_timestampreply()
: I32 val

Returns


icmp_time_exceeded

[Source]

fun box icmp_time_exceeded()
: I32 val

Returns


ipctl_acceptsourceroute

[Source]

fun box ipctl_acceptsourceroute()
: I32 val

Returns


ipctl_defmtu

[Source]

fun box ipctl_defmtu()
: I32 val

Returns


ipctl_defttl

[Source]

fun box ipctl_defttl()
: I32 val

Returns


ipctl_directedbroadcast

[Source]

fun box ipctl_directedbroadcast()
: I32 val

Returns


ipctl_fastforwarding

[Source]

fun box ipctl_fastforwarding()
: I32 val

Returns


ipctl_forwarding

[Source]

fun box ipctl_forwarding()
: I32 val

Returns


ipctl_gif_ttl

[Source]

fun box ipctl_gif_ttl()
: I32 val

Returns


ipctl_intrdqdrops

[Source]

fun box ipctl_intrdqdrops()
: I32 val

Returns


ipctl_intrdqmaxlen

[Source]

fun box ipctl_intrdqmaxlen()
: I32 val

Returns


ipctl_intrqdrops

[Source]

fun box ipctl_intrqdrops()
: I32 val

Returns


ipctl_intrqmaxlen

[Source]

fun box ipctl_intrqmaxlen()
: I32 val

Returns


ipctl_keepfaith

[Source]

fun box ipctl_keepfaith()
: I32 val

Returns


ipctl_maxid

[Source]

fun box ipctl_maxid()
: I32 val

Returns


ipctl_rtexpire

[Source]

fun box ipctl_rtexpire()
: I32 val

Returns


ipctl_rtmaxcache

[Source]

fun box ipctl_rtmaxcache()
: I32 val

Returns


ipctl_rtminexpire

[Source]

fun box ipctl_rtminexpire()
: I32 val

Returns


ipctl_sendredirects

[Source]

fun box ipctl_sendredirects()
: I32 val

Returns


ipctl_sourceroute

[Source]

fun box ipctl_sourceroute()
: I32 val

Returns


ipctl_stats

[Source]

fun box ipctl_stats()
: I32 val

Returns


ipport_ephemeralfirst

[Source]

fun box ipport_ephemeralfirst()
: I32 val

Returns


ipport_ephemerallast

[Source]

fun box ipport_ephemerallast()
: I32 val

Returns


ipport_hifirstauto

[Source]

fun box ipport_hifirstauto()
: I32 val

Returns


ipport_hilastauto

[Source]

fun box ipport_hilastauto()
: I32 val

Returns


ipport_max

[Source]

fun box ipport_max()
: I32 val

Returns


ipport_reserved

[Source]

fun box ipport_reserved()
: I32 val

Returns


ipport_reservedstart

[Source]

fun box ipport_reservedstart()
: I32 val

Returns


ipport_userreserved

[Source]

fun box ipport_userreserved()
: I32 val

Returns


ipv6_2292dstopts

[Source]

fun box ipv6_2292dstopts()
: I32 val

Returns


ipv6_2292hoplimit

[Source]

fun box ipv6_2292hoplimit()
: I32 val

Returns


ipv6_2292hopopts

[Source]

fun box ipv6_2292hopopts()
: I32 val

Returns


ipv6_2292pktinfo

[Source]

fun box ipv6_2292pktinfo()
: I32 val

Returns


ipv6_2292pktoptions

[Source]

fun box ipv6_2292pktoptions()
: I32 val

Returns


ipv6_2292rthdr

[Source]

fun box ipv6_2292rthdr()
: I32 val

Returns


ipv6_addrform

[Source]

fun box ipv6_addrform()
: I32 val

Returns


ipv6_addr_preferences

[Source]

fun box ipv6_addr_preferences()
: I32 val

Returns


ipv6_add_membership

[Source]

fun box ipv6_add_membership()
: I32 val

Returns


ipv6_authhdr

[Source]

fun box ipv6_authhdr()
: I32 val

Returns


ipv6_autoflowlabel

[Source]

fun box ipv6_autoflowlabel()
: I32 val

Returns


ipv6_checksum

[Source]

fun box ipv6_checksum()
: I32 val

Returns


ipv6_dontfrag

[Source]

fun box ipv6_dontfrag()
: I32 val

Returns


ipv6_drop_membership

[Source]

fun box ipv6_drop_membership()
: I32 val

Returns


ipv6_dstopts

[Source]

fun box ipv6_dstopts()
: I32 val

Returns


ipv6_flowinfo

[Source]

fun box ipv6_flowinfo()
: I32 val

Returns


ipv6_flowinfo_flowlabel

[Source]

fun box ipv6_flowinfo_flowlabel()
: I32 val

Returns


ipv6_flowinfo_priority

[Source]

fun box ipv6_flowinfo_priority()
: I32 val

Returns


ipv6_flowinfo_send

[Source]

fun box ipv6_flowinfo_send()
: I32 val

Returns


ipv6_flowlabel_mgr

[Source]

fun box ipv6_flowlabel_mgr()
: I32 val

Returns


ipv6_fl_a_get

[Source]

fun box ipv6_fl_a_get()
: I32 val

Returns


ipv6_fl_a_put

[Source]

fun box ipv6_fl_a_put()
: I32 val

Returns


ipv6_fl_a_renew

[Source]

fun box ipv6_fl_a_renew()
: I32 val

Returns


ipv6_fl_f_create

[Source]

fun box ipv6_fl_f_create()
: I32 val

Returns


ipv6_fl_f_excl

[Source]

fun box ipv6_fl_f_excl()
: I32 val

Returns


ipv6_fl_f_reflect

[Source]

fun box ipv6_fl_f_reflect()
: I32 val

Returns


ipv6_fl_f_remote

[Source]

fun box ipv6_fl_f_remote()
: I32 val

Returns


ipv6_fl_s_any

[Source]

fun box ipv6_fl_s_any()
: I32 val

Returns


ipv6_fl_s_excl

[Source]

fun box ipv6_fl_s_excl()
: I32 val

Returns


ipv6_fl_s_none

[Source]

fun box ipv6_fl_s_none()
: I32 val

Returns


ipv6_fl_s_process

[Source]

fun box ipv6_fl_s_process()
: I32 val

Returns


ipv6_fl_s_user

[Source]

fun box ipv6_fl_s_user()
: I32 val

Returns


ipv6_hoplimit

[Source]

fun box ipv6_hoplimit()
: I32 val

Returns


ipv6_hopopts

[Source]

fun box ipv6_hopopts()
: I32 val

Returns


ipv6_ipsec_policy

[Source]

fun box ipv6_ipsec_policy()
: I32 val

Returns


ipv6_join_anycast

[Source]

fun box ipv6_join_anycast()
: I32 val

Returns


ipv6_leave_anycast

[Source]

fun box ipv6_leave_anycast()
: I32 val

Returns


ipv6_minhopcount

[Source]

fun box ipv6_minhopcount()
: I32 val

Returns


ipv6_mtu

[Source]

fun box ipv6_mtu()
: I32 val

Returns


ipv6_mtu_discover

[Source]

fun box ipv6_mtu_discover()
: I32 val

Returns


ipv6_multicast_hops

[Source]

fun box ipv6_multicast_hops()
: I32 val

Returns


ipv6_multicast_if

[Source]

fun box ipv6_multicast_if()
: I32 val

Returns


ipv6_multicast_loop

[Source]

fun box ipv6_multicast_loop()
: I32 val

Returns


ipv6_nexthop

[Source]

fun box ipv6_nexthop()
: I32 val

Returns


ipv6_origdstaddr

[Source]

fun box ipv6_origdstaddr()
: I32 val

Returns


ipv6_pathmtu

[Source]

fun box ipv6_pathmtu()
: I32 val

Returns


ipv6_pktinfo

[Source]

fun box ipv6_pktinfo()
: I32 val

Returns


ipv6_pmtudisc_do

[Source]

fun box ipv6_pmtudisc_do()
: I32 val

Returns


ipv6_pmtudisc_dont

[Source]

fun box ipv6_pmtudisc_dont()
: I32 val

Returns


ipv6_pmtudisc_interface

[Source]

fun box ipv6_pmtudisc_interface()
: I32 val

Returns


ipv6_pmtudisc_omit

[Source]

fun box ipv6_pmtudisc_omit()
: I32 val

Returns


ipv6_pmtudisc_probe

[Source]

fun box ipv6_pmtudisc_probe()
: I32 val

Returns


ipv6_pmtudisc_want

[Source]

fun box ipv6_pmtudisc_want()
: I32 val

Returns


ipv6_prefer_src_cga

[Source]

fun box ipv6_prefer_src_cga()
: I32 val

Returns


ipv6_prefer_src_coa

[Source]

fun box ipv6_prefer_src_coa()
: I32 val

Returns


ipv6_prefer_src_home

[Source]

fun box ipv6_prefer_src_home()
: I32 val

Returns


ipv6_prefer_src_noncga

[Source]

fun box ipv6_prefer_src_noncga()
: I32 val

Returns


ipv6_prefer_src_public

[Source]

fun box ipv6_prefer_src_public()
: I32 val

Returns


ipv6_prefer_src_pubtmp_default

[Source]

fun box ipv6_prefer_src_pubtmp_default()
: I32 val

Returns


ipv6_prefer_src_tmp

[Source]

fun box ipv6_prefer_src_tmp()
: I32 val

Returns


ipv6_priority_10

[Source]

fun box ipv6_priority_10()
: I32 val

Returns


ipv6_priority_11

[Source]

fun box ipv6_priority_11()
: I32 val

Returns


ipv6_priority_12

[Source]

fun box ipv6_priority_12()
: I32 val

Returns


ipv6_priority_13

[Source]

fun box ipv6_priority_13()
: I32 val

Returns


ipv6_priority_14

[Source]

fun box ipv6_priority_14()
: I32 val

Returns


ipv6_priority_15

[Source]

fun box ipv6_priority_15()
: I32 val

Returns


ipv6_priority_8

[Source]

fun box ipv6_priority_8()
: I32 val

Returns


ipv6_priority_9

[Source]

fun box ipv6_priority_9()
: I32 val

Returns


ipv6_priority_bulk

[Source]

fun box ipv6_priority_bulk()
: I32 val

Returns


ipv6_priority_control

[Source]

fun box ipv6_priority_control()
: I32 val

Returns


ipv6_priority_filler

[Source]

fun box ipv6_priority_filler()
: I32 val

Returns


ipv6_priority_interactive

[Source]

fun box ipv6_priority_interactive()
: I32 val

Returns


ipv6_priority_reserved1

[Source]

fun box ipv6_priority_reserved1()
: I32 val

Returns


ipv6_priority_reserved2

[Source]

fun box ipv6_priority_reserved2()
: I32 val

Returns


ipv6_priority_unattended

[Source]

fun box ipv6_priority_unattended()
: I32 val

Returns


ipv6_priority_uncharacterized

[Source]

fun box ipv6_priority_uncharacterized()
: I32 val

Returns


ipv6_recvdstopts

[Source]

fun box ipv6_recvdstopts()
: I32 val

Returns


ipv6_recverr

[Source]

fun box ipv6_recverr()
: I32 val

Returns


ipv6_recvhoplimit

[Source]

fun box ipv6_recvhoplimit()
: I32 val

Returns


ipv6_recvhopopts

[Source]

fun box ipv6_recvhopopts()
: I32 val

Returns


ipv6_recvorigdstaddr

[Source]

fun box ipv6_recvorigdstaddr()
: I32 val

Returns


ipv6_recvpathmtu

[Source]

fun box ipv6_recvpathmtu()
: I32 val

Returns


ipv6_recvpktinfo

[Source]

fun box ipv6_recvpktinfo()
: I32 val

Returns


ipv6_recvrthdr

[Source]

fun box ipv6_recvrthdr()
: I32 val

Returns


ipv6_recvtclass

[Source]

fun box ipv6_recvtclass()
: I32 val

Returns


ipv6_router_alert

[Source]

fun box ipv6_router_alert()
: I32 val

Returns


ipv6_rthdr

[Source]

fun box ipv6_rthdr()
: I32 val

Returns


ipv6_rthdrdstopts

[Source]

fun box ipv6_rthdrdstopts()
: I32 val

Returns


ipv6_tclass

[Source]

fun box ipv6_tclass()
: I32 val

Returns


ipv6_tlv_hao

[Source]

fun box ipv6_tlv_hao()
: I32 val

Returns


ipv6_tlv_jumbo

[Source]

fun box ipv6_tlv_jumbo()
: I32 val

Returns


ipv6_tlv_pad1

[Source]

fun box ipv6_tlv_pad1()
: I32 val

Returns


ipv6_tlv_padn

[Source]

fun box ipv6_tlv_padn()
: I32 val

Returns


ipv6_tlv_routeralert

[Source]

fun box ipv6_tlv_routeralert()
: I32 val

Returns


ipv6_transparent

[Source]

fun box ipv6_transparent()
: I32 val

Returns


ipv6_unicast_hops

[Source]

fun box ipv6_unicast_hops()
: I32 val

Returns


ipv6_unicast_if

[Source]

fun box ipv6_unicast_if()
: I32 val

Returns


ipv6_use_min_mtu

[Source]

fun box ipv6_use_min_mtu()
: I32 val

Returns


ipv6_v6only

[Source]

fun box ipv6_v6only()
: I32 val

Returns


ipv6_xfrm_policy

[Source]

fun box ipv6_xfrm_policy()
: I32 val

Returns


ipx_address

[Source]

fun box ipx_address()
: I32 val

Returns


ipx_address_notify

[Source]

fun box ipx_address_notify()
: I32 val

Returns


ipx_crtitf

[Source]

fun box ipx_crtitf()
: I32 val

Returns


ipx_dltitf

[Source]

fun box ipx_dltitf()
: I32 val

Returns


ipx_dstype

[Source]

fun box ipx_dstype()
: I32 val

Returns


ipx_extended_address

[Source]

fun box ipx_extended_address()
: I32 val

Returns


ipx_filterptype

[Source]

fun box ipx_filterptype()
: I32 val

Returns


ipx_frame_8022

[Source]

fun box ipx_frame_8022()
: I32 val

Returns


ipx_frame_8023

[Source]

fun box ipx_frame_8023()
: I32 val

Returns


ipx_frame_etherii

[Source]

fun box ipx_frame_etherii()
: I32 val

Returns


ipx_frame_none

[Source]

fun box ipx_frame_none()
: I32 val

Returns


ipx_frame_snap

[Source]

fun box ipx_frame_snap()
: I32 val

Returns


ipx_frame_tr_8022

[Source]

fun box ipx_frame_tr_8022()
: I32 val

Returns


ipx_getnetinfo

[Source]

fun box ipx_getnetinfo()
: I32 val

Returns


ipx_getnetinfo_norip

[Source]

fun box ipx_getnetinfo_norip()
: I32 val

Returns


ipx_immediatespxack

[Source]

fun box ipx_immediatespxack()
: I32 val

Returns


ipx_internal

[Source]

fun box ipx_internal()
: I32 val

Returns


ipx_maxsize

[Source]

fun box ipx_maxsize()
: I32 val

Returns


ipx_max_adapter_num

[Source]

fun box ipx_max_adapter_num()
: I32 val

Returns


ipx_mtu

[Source]

fun box ipx_mtu()
: I32 val

Returns


ipx_node_len

[Source]

fun box ipx_node_len()
: I32 val

Returns


ipx_primary

[Source]

fun box ipx_primary()
: I32 val

Returns


ipx_ptype

[Source]

fun box ipx_ptype()
: I32 val

Returns


ipx_receive_broadcast

[Source]

fun box ipx_receive_broadcast()
: I32 val

Returns


ipx_recvhdr

[Source]

fun box ipx_recvhdr()
: I32 val

Returns


ipx_reripnetnumber

[Source]

fun box ipx_reripnetnumber()
: I32 val

Returns


ipx_route_no_router

[Source]

fun box ipx_route_no_router()
: I32 val

Returns


ipx_rt_8022

[Source]

fun box ipx_rt_8022()
: I32 val

Returns


ipx_rt_bluebook

[Source]

fun box ipx_rt_bluebook()
: I32 val

Returns


ipx_rt_routed

[Source]

fun box ipx_rt_routed()
: I32 val

Returns


ipx_rt_snap

[Source]

fun box ipx_rt_snap()
: I32 val

Returns


ipx_special_none

[Source]

fun box ipx_special_none()
: I32 val

Returns


ipx_spxgetconnectionstatus

[Source]

fun box ipx_spxgetconnectionstatus()
: I32 val

Returns


ipx_stopfilterptype

[Source]

fun box ipx_stopfilterptype()
: I32 val

Returns


ipx_type

[Source]

fun box ipx_type()
: I32 val

Returns


ip_add_membership

[Source]

fun box ip_add_membership()
: I32 val

Returns


ip_add_source_membership

[Source]

fun box ip_add_source_membership()
: I32 val

Returns


ip_bindany

[Source]

fun box ip_bindany()
: I32 val

Returns


ip_bindmulti

[Source]

fun box ip_bindmulti()
: I32 val

Returns


ip_bind_address_no_port

[Source]

fun box ip_bind_address_no_port()
: I32 val

Returns


ip_block_source

[Source]

fun box ip_block_source()
: I32 val

Returns


ip_bound_if

[Source]

fun box ip_bound_if()
: I32 val

Returns


ip_checksum

[Source]

fun box ip_checksum()
: I32 val

Returns


ip_default_multicast_loop

[Source]

fun box ip_default_multicast_loop()
: I32 val

Returns


ip_default_multicast_ttl

[Source]

fun box ip_default_multicast_ttl()
: I32 val

Returns


ip_dontfrag

[Source]

fun box ip_dontfrag()
: I32 val

Returns


ip_drop_membership

[Source]

fun box ip_drop_membership()
: I32 val

Returns


ip_drop_source_membership

[Source]

fun box ip_drop_source_membership()
: I32 val

Returns


ip_dummynet3

[Source]

fun box ip_dummynet3()
: I32 val

Returns


ip_dummynet_configure

[Source]

fun box ip_dummynet_configure()
: I32 val

Returns


ip_dummynet_del

[Source]

fun box ip_dummynet_del()
: I32 val

Returns


ip_dummynet_flush

[Source]

fun box ip_dummynet_flush()
: I32 val

Returns


ip_dummynet_get

[Source]

fun box ip_dummynet_get()
: I32 val

Returns


ip_faith

[Source]

fun box ip_faith()
: I32 val

Returns


ip_flowid

[Source]

fun box ip_flowid()
: I32 val

Returns


ip_flowtype

[Source]

fun box ip_flowtype()
: I32 val

Returns


ip_freebind

[Source]

fun box ip_freebind()
: I32 val

Returns


ip_fw3

[Source]

fun box ip_fw3()
: I32 val

Returns


ip_fw_add

[Source]

fun box ip_fw_add()
: I32 val

Returns


ip_fw_del

[Source]

fun box ip_fw_del()
: I32 val

Returns


ip_fw_flush

[Source]

fun box ip_fw_flush()
: I32 val

Returns


ip_fw_get

[Source]

fun box ip_fw_get()
: I32 val

Returns


ip_fw_nat_cfg

[Source]

fun box ip_fw_nat_cfg()
: I32 val

Returns


ip_fw_nat_del

[Source]

fun box ip_fw_nat_del()
: I32 val

Returns


ip_fw_nat_get_config

[Source]

fun box ip_fw_nat_get_config()
: I32 val

Returns


ip_fw_nat_get_log

[Source]

fun box ip_fw_nat_get_log()
: I32 val

Returns


ip_fw_resetlog

[Source]

fun box ip_fw_resetlog()
: I32 val

Returns


ip_fw_table_add

[Source]

fun box ip_fw_table_add()
: I32 val

Returns


ip_fw_table_del

[Source]

fun box ip_fw_table_del()
: I32 val

Returns


ip_fw_table_flush

[Source]

fun box ip_fw_table_flush()
: I32 val

Returns


ip_fw_table_getsize

[Source]

fun box ip_fw_table_getsize()
: I32 val

Returns


ip_fw_table_list

[Source]

fun box ip_fw_table_list()
: I32 val

Returns


ip_fw_zero

[Source]

fun box ip_fw_zero()
: I32 val

Returns


ip_hdrincl

[Source]

fun box ip_hdrincl()
: I32 val

Returns


ip_ipsec_policy

[Source]

fun box ip_ipsec_policy()
: I32 val

Returns


ip_max_group_src_filter

[Source]

fun box ip_max_group_src_filter()
: I32 val

Returns


ip_max_memberships

[Source]

fun box ip_max_memberships()
: I32 val

Returns


ip_max_sock_mute_filter

[Source]

fun box ip_max_sock_mute_filter()
: I32 val

Returns


ip_max_sock_src_filter

[Source]

fun box ip_max_sock_src_filter()
: I32 val

Returns


ip_max_source_filter

[Source]

fun box ip_max_source_filter()
: I32 val

Returns


ip_minttl

[Source]

fun box ip_minttl()
: I32 val

Returns


ip_min_memberships

[Source]

fun box ip_min_memberships()
: I32 val

Returns


ip_msfilter

[Source]

fun box ip_msfilter()
: I32 val

Returns


ip_mtu

[Source]

fun box ip_mtu()
: I32 val

Returns


ip_mtu_discover

[Source]

fun box ip_mtu_discover()
: I32 val

Returns


ip_multicast_all

[Source]

fun box ip_multicast_all()
: I32 val

Returns


ip_multicast_if

[Source]

fun box ip_multicast_if()
: I32 val

Returns


ip_multicast_ifindex

[Source]

fun box ip_multicast_ifindex()
: I32 val

Returns


ip_multicast_loop

[Source]

fun box ip_multicast_loop()
: I32 val

Returns


ip_multicast_ttl

[Source]

fun box ip_multicast_ttl()
: I32 val

Returns


ip_multicast_vif

[Source]

fun box ip_multicast_vif()
: I32 val

Returns


ip_nat_xxx

[Source]

fun box ip_nat_xxx()
: I32 val

Returns


ip_nodefrag

[Source]

fun box ip_nodefrag()
: I32 val

Returns


ip_old_fw_add

[Source]

fun box ip_old_fw_add()
: I32 val

Returns


ip_old_fw_del

[Source]

fun box ip_old_fw_del()
: I32 val

Returns


ip_old_fw_flush

[Source]

fun box ip_old_fw_flush()
: I32 val

Returns


ip_old_fw_get

[Source]

fun box ip_old_fw_get()
: I32 val

Returns


ip_old_fw_resetlog

[Source]

fun box ip_old_fw_resetlog()
: I32 val

Returns


ip_old_fw_zero

[Source]

fun box ip_old_fw_zero()
: I32 val

Returns


ip_onesbcast

[Source]

fun box ip_onesbcast()
: I32 val

Returns


ip_options

[Source]

fun box ip_options()
: I32 val

Returns


ip_origdstaddr

[Source]

fun box ip_origdstaddr()
: I32 val

Returns


ip_passsec

[Source]

fun box ip_passsec()
: I32 val

Returns


ip_pktinfo

[Source]

fun box ip_pktinfo()
: I32 val

Returns


ip_pktoptions

[Source]

fun box ip_pktoptions()
: I32 val

Returns


ip_pmtudisc_do

[Source]

fun box ip_pmtudisc_do()
: I32 val

Returns


ip_pmtudisc_dont

[Source]

fun box ip_pmtudisc_dont()
: I32 val

Returns


ip_pmtudisc_interface

[Source]

fun box ip_pmtudisc_interface()
: I32 val

Returns


ip_pmtudisc_omit

[Source]

fun box ip_pmtudisc_omit()
: I32 val

Returns


ip_pmtudisc_probe

[Source]

fun box ip_pmtudisc_probe()
: I32 val

Returns


ip_pmtudisc_want

[Source]

fun box ip_pmtudisc_want()
: I32 val

Returns


ip_portrange

[Source]

fun box ip_portrange()
: I32 val

Returns


ip_portrange_default

[Source]

fun box ip_portrange_default()
: I32 val

Returns


ip_portrange_high

[Source]

fun box ip_portrange_high()
: I32 val

Returns


ip_portrange_low

[Source]

fun box ip_portrange_low()
: I32 val

Returns


ip_recvdstaddr

[Source]

fun box ip_recvdstaddr()
: I32 val

Returns


ip_recverr

[Source]

fun box ip_recverr()
: I32 val

Returns


ip_recvflowid

[Source]

fun box ip_recvflowid()
: I32 val

Returns


ip_recvif

[Source]

fun box ip_recvif()
: I32 val

Returns


ip_recvopts

[Source]

fun box ip_recvopts()
: I32 val

Returns


ip_recvorigdstaddr

[Source]

fun box ip_recvorigdstaddr()
: I32 val

Returns


ip_recvpktinfo

[Source]

fun box ip_recvpktinfo()
: I32 val

Returns


ip_recvretopts

[Source]

fun box ip_recvretopts()
: I32 val

Returns


ip_recvrssbucketid

[Source]

fun box ip_recvrssbucketid()
: I32 val

Returns


ip_recvtos

[Source]

fun box ip_recvtos()
: I32 val

Returns


ip_recvttl

[Source]

fun box ip_recvttl()
: I32 val

Returns


ip_retopts

[Source]

fun box ip_retopts()
: I32 val

Returns


ip_router_alert

[Source]

fun box ip_router_alert()
: I32 val

Returns


ip_rssbucketid

[Source]

fun box ip_rssbucketid()
: I32 val

Returns


ip_rss_listen_bucket

[Source]

fun box ip_rss_listen_bucket()
: I32 val

Returns


ip_rsvp_off

[Source]

fun box ip_rsvp_off()
: I32 val

Returns


ip_rsvp_on

[Source]

fun box ip_rsvp_on()
: I32 val

Returns


ip_rsvp_vif_off

[Source]

fun box ip_rsvp_vif_off()
: I32 val

Returns


ip_rsvp_vif_on

[Source]

fun box ip_rsvp_vif_on()
: I32 val

Returns


ip_sendsrcaddr

[Source]

fun box ip_sendsrcaddr()
: I32 val

Returns


ip_striphdr

[Source]

fun box ip_striphdr()
: I32 val

Returns


ip_tos

[Source]

fun box ip_tos()
: I32 val

Returns


ip_traffic_mgt_background

[Source]

fun box ip_traffic_mgt_background()
: I32 val

Returns


ip_transparent

[Source]

fun box ip_transparent()
: I32 val

Returns


ip_ttl

[Source]

fun box ip_ttl()
: I32 val

Returns


ip_unblock_source

[Source]

fun box ip_unblock_source()
: I32 val

Returns


ip_unicast_if

[Source]

fun box ip_unicast_if()
: I32 val

Returns


ip_xfrm_policy

[Source]

fun box ip_xfrm_policy()
: I32 val

Returns


local_connwait

[Source]

fun box local_connwait()
: I32 val

Returns


local_creds

[Source]

fun box local_creds()
: I32 val

Returns


local_peercred

[Source]

fun box local_peercred()
: I32 val

Returns


local_peerepid

[Source]