函数逻辑报告 |
Source Code:lib\vsprintf.c |
Create Date:2022-07-27 07:09:29 |
| Last Modify:2022-05-21 09:47:42 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:ip6_compressed_string
函数原型:static __attribute__((__noinline__)) char *ip6_compressed_string(char *p, const char *addr)
返回类型:char
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| char * | p | |
| const char * | addr |
| 1333 | longest等于1 |
| 1334 | colonpos等于负1 |
| 1337 | bool needcolon = false |
| 1343 | useIPv4等于Note that we must __force cast these to unsigned long to make sparse happy,* since all of the endian-annotated types are fixed size regardless of arch.或ipv6_addr_is_isatap( & in6) |
| 1345 | memset(zerolength, 0, zerolength的长度) |
| 1349 | 否则range等于8 |
| 1361 | 如果zerolength[i]大于longest则 |
| 1362 | longest等于zerolength[i] |
| 1379 | 如果needcolon则 |
| 1387 | 如果hi则 |
| 1394 | 否则如果lo大于0x0f则p等于hex_byte_pack(p, lo) |
| 1396 | 否则p自加等于hex_asc_lo(lo) |
| 1398 | needcolon = true |
| 1401 | 如果useIPv4则 |
| 1406 | p等于'\0' |
| 1408 | 返回:p |
| 名称 | 描述 |
|---|---|
| ip6_addr_string | |
| ip6_addr_string_sa |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |