webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Macros | Functions
sctp_crc32.c File Reference
#include <netinet/sctp_os.h>
#include <netinet/sctp.h>
#include <netinet/sctp_crc32.h>
#include <netinet/sctp_pcb.h>

Macros

#define SCTP_CRC32C(c, d)   (c=(c>>8)^sctp_crc_c[(c^(d))&0xFF])
 

Functions

uint32_t sctp_calculate_cksum (struct mbuf *m, uint32_t offset)
 

Macro Definition Documentation

◆ SCTP_CRC32C

#define SCTP_CRC32C (   c,
  d 
)    (c=(c>>8)^sctp_crc_c[(c^(d))&0xFF])

Function Documentation

◆ sctp_calculate_cksum()

uint32_t sctp_calculate_cksum ( struct mbuf m,
uint32_t  offset 
)