Function capsules::net::sixlowpan_compression::compute_udp_checksum [] [src]

fn compute_udp_checksum(
    ip6_header: &IP6Header,
    udp_header: &[u8],
    udp_length: u16,
    payload: &[u8]
) -> u16

Computes the UDP checksum for a UDP packet sent over IPv6. Returns the checksum in host byte-order.