You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

48 lines
1.6 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../musl/musl-0003-add-missing-IPPROTO.patch
# Copyright (C) 2013 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
From 404ba86f89baa16256b51bbab2ad017ae8374158 Mon Sep 17 00:00:00 2001
From: Christian Wiese <[email protected]>
Date: Tue, 1 Jan 2013 23:14:02 +0100
Subject: [PATCH] netinet/in.h: add defines for IPPROTO_{DCCP,SCTP,UDPLITE}
---
include/netinet/in.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/netinet/in.h b/include/netinet/in.h
index f2f89ab..1086f07 100644
--- a/include/netinet/in.h
+++ b/include/netinet/in.h
@@ -81,6 +81,7 @@ uint16_t ntohs(uint16_t);
#define IPPROTO_UDP 17
#define IPPROTO_IDP 22
#define IPPROTO_TP 29
+#define IPPROTO_DCCP 33
#define IPPROTO_IPV6 41
#define IPPROTO_ROUTING 43
#define IPPROTO_FRAGMENT 44
@@ -95,6 +96,8 @@ uint16_t ntohs(uint16_t);
#define IPPROTO_ENCAP 98
#define IPPROTO_PIM 103
#define IPPROTO_COMP 108
+#define IPPROTO_SCTP 132
+#define IPPROTO_UDPLITE 136
#define IPPROTO_RAW 255
#define IPPROTO_MAX 256
--
1.7.2.3