mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-17 09:21:35 +00:00
60 lines
2.0 KiB
Diff
60 lines
2.0 KiB
Diff
From 31ac0f46f4ee8849c019e237dd1e9a70c0d1c1de Mon Sep 17 00:00:00 2001
|
|
From: Suhas N Bhargav <quic_sbhargav@quicinc.com>
|
|
Date: Tue, 27 Jun 2023 12:27:27 +0530
|
|
Subject: [PATCH] etherip: Enable Etherip protocol number (97) in linux
|
|
|
|
Change-Id: I59f8eefe9a53eb0ab77a3a8a912a7866f5c8c333
|
|
Signed-off-by: Suhas N Bhargav <quic_sbhargav@quicinc.com>
|
|
---
|
|
include/uapi/linux/in.h | 4 +++-
|
|
tools/include/uapi/linux/in.h | 4 +++-
|
|
2 files changed, 6 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/include/uapi/linux/in.h b/include/uapi/linux/in.h
|
|
index 07a4cb149305..1c5639283f14 100644
|
|
--- a/include/uapi/linux/in.h
|
|
+++ b/include/uapi/linux/in.h
|
|
@@ -63,6 +63,8 @@ enum {
|
|
#define IPPROTO_MTP IPPROTO_MTP
|
|
IPPROTO_BEETPH = 94, /* IP option pseudo header for BEET */
|
|
#define IPPROTO_BEETPH IPPROTO_BEETPH
|
|
+ IPPROTO_ETHERIP = 97, /* ETHERIP protocol number */
|
|
+#define IPPROTO_ETHERIP IPPROTO_ETHERIP
|
|
IPPROTO_ENCAP = 98, /* Encapsulation Header */
|
|
#define IPPROTO_ENCAP IPPROTO_ENCAP
|
|
IPPROTO_PIM = 103, /* Protocol Independent Multicast */
|
|
@@ -325,7 +327,7 @@ struct sockaddr_in {
|
|
#endif
|
|
|
|
/* <asm/byteorder.h> contains the htonl type stuff.. */
|
|
-#include <asm/byteorder.h>
|
|
+#include <asm/byteorder.h>
|
|
|
|
|
|
#endif /* _UAPI_LINUX_IN_H */
|
|
diff --git a/tools/include/uapi/linux/in.h b/tools/include/uapi/linux/in.h
|
|
index 07a4cb149305..1c5639283f14 100644
|
|
--- a/tools/include/uapi/linux/in.h
|
|
+++ b/tools/include/uapi/linux/in.h
|
|
@@ -63,6 +63,8 @@ enum {
|
|
#define IPPROTO_MTP IPPROTO_MTP
|
|
IPPROTO_BEETPH = 94, /* IP option pseudo header for BEET */
|
|
#define IPPROTO_BEETPH IPPROTO_BEETPH
|
|
+ IPPROTO_ETHERIP = 97, /* ETHERIP protocol number */
|
|
+#define IPPROTO_ETHERIP IPPROTO_ETHERIP
|
|
IPPROTO_ENCAP = 98, /* Encapsulation Header */
|
|
#define IPPROTO_ENCAP IPPROTO_ENCAP
|
|
IPPROTO_PIM = 103, /* Protocol Independent Multicast */
|
|
@@ -325,7 +327,7 @@ struct sockaddr_in {
|
|
#endif
|
|
|
|
/* <asm/byteorder.h> contains the htonl type stuff.. */
|
|
-#include <asm/byteorder.h>
|
|
+#include <asm/byteorder.h>
|
|
|
|
|
|
#endif /* _UAPI_LINUX_IN_H */
|
|
--
|
|
2.34.1
|
|
|