Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ IpAddr
Function
IpAddr
freebsd/netinet/libalias/alias_proxy.c:162–169 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
160
}
161
162
static int
163
IpAddr(char *s, struct in_addr *addr)
164
{
165
if (inet_aton(s, addr) == 0)
166
return (-1);
167
else
168
return (0);
169
}
170
171
static int
172
IpPort(char *s, int proto, int *port)
Callers
1
LibAliasProxyRule
Function · 0.85
Calls
1
inet_aton
Function · 0.85
Tested by
no test coverage detected