Home
last modified time | relevance | path

Searched refs:crc32 (Results 1 – 2 of 2) sorted by relevance

/net/ipv4/netfilter/
Dnf_nat_proto_sctp.c39 __be32 crc32; in sctp_manip_pkt() local
59 crc32 = sctp_start_cksum((u8 *)hdr, skb_headlen(skb) - hdroff); in sctp_manip_pkt()
61 crc32 = sctp_update_cksum((u8 *)skb->data, skb_headlen(skb), in sctp_manip_pkt()
62 crc32); in sctp_manip_pkt()
63 crc32 = sctp_end_cksum(crc32); in sctp_manip_pkt()
64 hdr->checksum = crc32; in sctp_manip_pkt()
/net/sctp/
Doutput.c370 __be32 crc32 = __constant_cpu_to_be32(0); in sctp_packet_transmit() local
535 crc32 = sctp_start_cksum((__u8 *)sh, cksum_buf_len); in sctp_packet_transmit()
536 crc32 = sctp_end_cksum(crc32); in sctp_packet_transmit()
543 sh->checksum = crc32; in sctp_packet_transmit()