[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Minios-devel] [UNIKRAFT/LWIP PATCH 2/3] netinet/tcp.h: Add header guards
- To: minios-devel@xxxxxxxxxxxxx
- From: Vlad-Andrei BĂDOIU <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
- Date: Tue, 31 Mar 2020 17:39:46 +0300
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stud.acs.upb.ro; dmarc=pass action=none header.from=stud.acs.upb.ro; dkim=pass header.d=stud.acs.upb.ro; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YtFPsTAP7chdJ/xDuzlMV/Z+I+z2ylTx/RhJAh0HU8g=; b=e45PPDQgtLbyMHHzfA7J7eJrerBhQCbGRIl46MFOmfD1U6qOGBuLOAPjKRT3iQEPbSgCvaQncwl3Ad4RUxYGRduOAMSRHa2qYS2a0a5B8gnbibqxX5jj981D7C78QS25eUT25cM1j0sZEuGzUXTe3WAJ5+F0Tgfot2nijhI/ipqVDd40aUXFJnmBF1oIVQKy/buUo2IhAADBugs0xKZ6K2Z5F1EKt85jBg0aj6vCHzZdiYOJZNOju+/CJrYV455LCvnHKs4TE5/ZjMRumL+Zvh9fWHZ7u8WPiiGSApfEAWcMIyuzzbuYDUtkTZxC+sQjovDPB0T1nm0JtbpIPCOvGQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Oyr4C8Gi7HvdKGLZLcRMnbk5F/VbyAlJk0RaMF1HEjOcEOM4uC86Y+xHV4w7lufUgPxpErOURpf6Kj52NanhbRBe207v07sXQsOMWtSlv5lkoulPw/a3ZQnHIZI/fzU92AnIfk/BfNRDhHlcw5667JygFAEWNi15n7uu7dGjdNtkdJ1QGZtYi1i022Rf6SdYJmjLPVk/acfOzwjqgMfhIQvhTI4MTKfA8h3jfPPDi35AczI8yqOA620iyCIbFRHuop8GETuKPlUg8NQsPeup7tupXq0F+shb4cva+hC8/4rSZTEhAB9Ok0drERp4uwnlHno0vqu+EVvZIaOkk23g+w==
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
- Cc: felipe.huici@xxxxxxxxx, Vlad-Andrei BĂDOIU <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
- Delivery-date: Tue, 31 Mar 2020 14:40:08 +0000
- List-id: Mini-os development list <minios-devel.lists.xenproject.org>
tcp.h is missing the header guards, we add
them in this patch.
Signed-off-by: Vlad-Andrei BĂDOIU <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
---
include/netinet/tcp.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h
index bc3a7b4..84b2549 100644
--- a/include/netinet/tcp.h
+++ b/include/netinet/tcp.h
@@ -33,6 +33,9 @@
* @(#)tcp.h 8.1 (Berkeley) 6/10/93
*/
+#ifndef _TCP_H_
+#define _TCP_H_
+
typedef u_long tcp_seq;
/*
* TCP header.
@@ -89,3 +92,5 @@ struct tcphdr {
#define TCP_NODELAY 0x01 /* don't delay send to coalesce packets
*/
#define TCP_MAXSEG 0x02 /* set maximum segment size */
#define TCP_CORK 0x03 /* don't send out partial frames. Not
supported/stub */
+
+#endif
--
2.20.1
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel
|