mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 20:25:08 +00:00
16 lines
242 B
C
16 lines
242 B
C
#pragma once
|
|
|
|
#include <bits/stdint.h>
|
|
#include <sys/cdefs.h>
|
|
|
|
__BEGIN_DECLS
|
|
|
|
typedef uint32_t in_addr_t;
|
|
in_addr_t inet_addr(const char*);
|
|
|
|
#define INADDR_ANY ((in_addr_t)0)
|
|
#define INADDR_NONE ((in_addr_t)-1)
|
|
|
|
#define IP_TTL 2
|
|
|
|
__END_DECLS
|