Function report |
Source Code:lib\vsprintf.c |
Create Date:2022-07-28 06:12:13 |
| Last Modify:2022-05-21 09:47:42 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ip6_addr_string_sa
Proto:static __attribute__((__noinline__)) char *ip6_addr_string_sa(char *buf, char *end, const struct sockaddr_in6 *sa, struct printf_spec spec, const char *fmt)
Type:char
Parameter:
| Type | Parameter | Name |
|---|---|---|
| char * | buf | |
| char * | end | |
| const struct sockaddr_in6 * | sa | |
| struct printf_spec | spec | |
| const char * | fmt |
| 1461 | const u8 * addr = (const u8 * ) & IPv6 address |
| 1463 | off = 0 |
| 1465 | fmt++ |
| 1468 | Case fmt == 'p' |
| 1469 | have_p = true |
| 1470 | Break |
| 1471 | Case fmt == 'f' |
| 1472 | have_f = true |
| 1473 | Break |
| 1474 | Case fmt == 's' |
| 1475 | have_s = true |
| 1476 | Break |
| 1477 | Case fmt == 'c' |
| 1478 | have_c = true |
| 1479 | Break |
| 1496 | If have_p Then |
| 1500 | If have_f Then |
| 1501 | p++ = '/' |
| 1502 | p = number(p, pend, ntohl( IPv6 flow information & IPV6_FLOWINFO_MASK), spec) |
| 1505 | If have_s Then |
| 1509 | p = '\0' |
| 1511 | Return Handle string from a well known address. |
| Name | Describe |
|---|---|
| ip_addr_string |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |