union rpc_sockopt_value

Storage sufficient for any fixed-size socket option value

#include <tapi_rpc_socket.h>

union rpc_sockopt_value {
    // fields

    int v_int;
    tarpc_linger v_linger;
    tarpc_timeval v_tv;
    tarpc_mreqn v_mreqn;
    tarpc_mreq_source v_mreq_source;
    struct in_addr v_ip4addr;
    struct in6_addr v_ip6addr;
};