diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-08-14 17:02:32 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-08-14 17:02:32 -0700 |
commit | 7618310d969295b610805b7240048e7e2a737f36 (patch) | |
tree | 87bef146a2b3ef15f1535c22d04137d165edb73b | |
parent | 149f063107024f61295ceef6e5905f8123c490b7 (diff) |
add TCP and UDP to net/netinet/in.h
-rw-r--r-- | system/include/net/netinet/in.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/system/include/net/netinet/in.h b/system/include/net/netinet/in.h index 9229ca84..2e4e4e57 100644 --- a/system/include/net/netinet/in.h +++ b/system/include/net/netinet/in.h @@ -9,6 +9,10 @@ extern "C" { enum { IPPROTO_IP = 0, #define IPPROTO_IP IPPROTO_IP + IPPROTO_TCP = 1, +#define IPPROTO_TCP IPPROTO_TCP + IPPROTO_UDP = 2, +#define IPPROTO_UDP IPPROTO_UDP IPPROTO_MAX }; |