2 86b4b772 2022-07-29 stsp * Copyright (c) 2022 Stefan Sperling <stsp@openbsd.org>
4 86b4b772 2022-07-29 stsp * Permission to use, copy, modify, and distribute this software for any
5 86b4b772 2022-07-29 stsp * purpose with or without fee is hereby granted, provided that the above
6 86b4b772 2022-07-29 stsp * copyright notice and this permission notice appear in all copies.
8 86b4b772 2022-07-29 stsp * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 86b4b772 2022-07-29 stsp * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 86b4b772 2022-07-29 stsp * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 86b4b772 2022-07-29 stsp * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 86b4b772 2022-07-29 stsp * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 86b4b772 2022-07-29 stsp * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 86b4b772 2022-07-29 stsp * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 86b4b772 2022-07-29 stsp void got_sockaddr_inet_init(struct sockaddr_in *in, struct in_addr *ina);
18 86b4b772 2022-07-29 stsp void got_sockaddr_inet6_init(struct sockaddr_in6 *in6, struct in6_addr *in6a,
19 86b4b772 2022-07-29 stsp uint32_t sin6_scope_id);