函数逻辑报告 |
Source Code:lib\checksum.c |
Create Date:2022-07-27 08:15:27 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:do_csum
函数原型:static unsigned int do_csum(const unsigned char *buff, int len)
返回类型:unsigned int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const unsigned char * | buff | |
| int | len |
| 49 | result等于0 |
| 54 | 如果odd则 |
| 63 | 如果len大于等于2则 |
| 93 | result等于from32to16(result) |
| 96 | out : |
| 97 | 返回:result |
| 名称 | 描述 |
|---|---|
| ip_fast_csum | This is a version of ip_compute_csum() optimized for IP headers,* which always checksum on 4 octet boundaries. |
| csum_partial | mputes the checksum of a memory block at buff, length len,* and adds in "sum" (32-bit)* returns a 32-bit number suitable for feeding into itself* or csum_tcpudp_magic* this function must be called with even lengths, except* for the last fragment, which |
| ip_compute_csum | IP校验 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |