MCPcopy 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
162static int
163IpAddr(char *s, struct in_addr *addr)
164{
165 if (inet_aton(s, addr) == 0)
166 return (-1);
167 else
168 return (0);
169}
170
171static int
172IpPort(char *s, int proto, int *port)

Callers 1

LibAliasProxyRuleFunction · 0.85

Calls 1

inet_atonFunction · 0.85

Tested by

no test coverage detected