Function gnunet_sys::GNUNET_TUN_ipv4toregexsearch[][src]

pub unsafe extern "C" fn GNUNET_TUN_ipv4toregexsearch(
    ip: *const in_addr,
    port: u16,
    rxstr: *mut c_char
)

Create a regex in @a rxstr from the given @a ip and @a port.

@param ip IPv4 representation. @param port destination port @param rxstr generated regex, must be at least #GNUNET_TUN_IPV4_REGEXLEN bytes long.