Debian Codegraph @

src/include/override/netinet/in.h

raw
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3
4 #include <linux/in.h> /* IWYU pragma: export */
5 #include <linux/in6.h> /* IWYU pragma: export */
6 #include <linux/ipv6.h> /* IWYU pragma: export */
7 #include <stddef.h>
8 #include <stdint.h>
9 #include <sys/socket.h>
10
11 #define INET_ADDRSTRLEN 16
12 #define INET6_ADDRSTRLEN 46
13
14 extern const struct in6_addr in6addr_any; /* :: */
15 extern const struct in6_addr in6addr_loopback; /* ::1 */
16 #define IN6ADDR_ANY_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } }
17 #define IN6ADDR_LOOPBACK_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } }
18
19 typedef uint32_t in_addr_t;