MCPcopy Create free account
hub / github.com/F-Stack/f-stack / IpChecksum

Function IpChecksum

freebsd/netinet/libalias/alias_util.c:99–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97
98#ifndef _KERNEL
99u_short
100IpChecksum(struct ip *pip)
101{
102 return (LibAliasInternetChecksum(NULL, (u_short *) pip,
103 (pip->ip_hl << 2)));
104
105}
106
107u_short
108TcpChecksum(struct ip *pip)

Callers 1

ProxyEncodeIpHeaderFunction · 0.85

Calls 1

LibAliasInternetChecksumFunction · 0.85

Tested by

no test coverage detected