Function gnunet_sys::GNUNET_TUN_initialize_ipv6_header [−][src]
pub unsafe extern "C" fn GNUNET_TUN_initialize_ipv6_header(
ip: *mut GNUNET_TUN_IPv6Header,
protocol: u8,
payload_length: u16,
src: *const in6_addr,
dst: *const in6_addr
)
Initialize an IPv6 header.
@param ip header to initialize @param protocol protocol to use (i.e. IPPROTO_UDP) @param payload_length number of bytes of payload that follow (excluding IPv4 header) @param src source IP address to use @param dst destination IP address to use