Function gnunet_sys::GNUNET_TUN_calculate_udp6_checksum [−][src]
pub unsafe extern "C" fn GNUNET_TUN_calculate_udp6_checksum(
ip: *const GNUNET_TUN_IPv6Header,
udp: *mut GNUNET_TUN_UdpHeader,
payload: *const c_void,
payload_length: u16
)
Calculate IPv6 UDP checksum.
@param ip ipv6 header fully initialized @param udp UDP header (initialized except for CRC) @param payload the UDP payload @param payload_length number of bytes of @a payload