Function gnunet_sys::GNUNET_NETWORK_test_pf[][src]

pub unsafe extern "C" fn GNUNET_NETWORK_test_pf(pf: c_int) -> c_int

Test if the given protocol family is supported by this system.

@param pf protocol family to test (PF_INET, PF_INET6, PF_UNIX) @return #GNUNET_OK if the PF is supported