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

Function fill_sockaddr_inet

lib/ff_route.c:130–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130static inline void
131fill_sockaddr_inet(struct sockaddr_in *sin, struct in_addr addr)
132{
133 const struct sockaddr_in nsin = {
134 .sin_family = AF_INET,
135 .sin_len = sizeof(struct sockaddr_in),
136 .sin_addr = addr,
137 };
138 *sin = nsin;
139}
140
141#ifdef INET6
142static inline void

Callers 2

cleanup_xaddrs_gatewayFunction · 0.70
cleanup_xaddrs_inetFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected