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

Function fill_sockaddr_inet6

lib/ff_route.c:142–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140
141#ifdef INET6
142static inline void
143fill_sockaddr_inet6(struct sockaddr_in6 *sin6, const struct in6_addr *addr6,
144 uint32_t scopeid)
145{
146
147 const struct sockaddr_in6 nsin6 = {
148 .sin6_family = AF_INET6,
149 .sin6_len = sizeof(struct sockaddr_in6),
150 .sin6_addr = *addr6,
151 .sin6_scope_id = scopeid,
152 };
153 *sin6 = nsin6;
154}
155#endif
156
157/*

Callers 2

cleanup_xaddrs_gatewayFunction · 0.70
cleanup_xaddrs_inet6Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected