Function report |
Source Code:arch\x86\include\asm\checksum_32.h |
Create Date:2022-07-28 05:51:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:csum_ipv6_magic
Proto:static inline __sum16 csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr, __u32 len, __u8 proto, __wsum sum)
Type:__sum16
Parameter:
Type | Parameter | Name |
---|---|---|
const struct in6_addr * | saddr | |
const struct in6_addr * | daddr | |
__u32 | len | |
__u8 | proto | |
__wsum | sum |
154 | asm("addl 0(%1), %0 ;\nadcl 4(%1), %0 ;\nadcl 8(%1), %0 ;\nadcl 12(%1), %0 ;\nadcl 0(%2), %0 ;\nadcl 4(%2), %0 ;\nadcl 8(%2), %0 ;\nadcl 12(%2), %0 ;\nadcl %3, %0 ;\nadcl %4, %0 ;\nadcl $0, %0 ;\n":"=&r"(sum):"r"(saddr), "r"(daddr), "r"(htonl), "r"(htonl), "0"(sum):"memory") |
170 | Return Fold a partial checksum |
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 |