summaryrefslogtreecommitdiff
path: root/components/net
diff options
context:
space:
mode:
authorzhkag <[email protected]>2023-05-05 15:50:29 +0800
committerMan, Jianting (Meco) <[email protected]>2023-05-05 19:29:38 -0400
commit3419e591da044749aed74e65d33de74b4668e037 (patch)
tree27f4dcbfede31381d07a1f9d8174e5bc3ca48867 /components/net
parent94ed48d3380195d67187ff9ed73f21821d549614 (diff)
[libc] redirecting header sys/ioctl to bits/ioctl
Diffstat (limited to 'components/net')
-rw-r--r--components/net/lwip/lwip-1.4.1/src/include/lwip/sockets.h2
-rw-r--r--components/net/lwip/lwip-2.0.3/src/include/lwip/sockets.h2
-rw-r--r--components/net/lwip/lwip-2.1.2/src/include/lwip/sockets.h2
3 files changed, 6 insertions, 0 deletions
diff --git a/components/net/lwip/lwip-1.4.1/src/include/lwip/sockets.h b/components/net/lwip/lwip-1.4.1/src/include/lwip/sockets.h
index 3ea32f13fb..b7a8424b6a 100644
--- a/components/net/lwip/lwip-1.4.1/src/include/lwip/sockets.h
+++ b/components/net/lwip/lwip-1.4.1/src/include/lwip/sockets.h
@@ -261,6 +261,8 @@ typedef struct ip_mreq {
#define SIOCGHIWAT _IOR('s', 1, unsigned long) /* get high watermark */
#define SIOCSLOWAT _IOW('s', 2, unsigned long) /* set low watermark */
#define SIOCGLOWAT _IOR('s', 3, unsigned long) /* get low watermark */
+#endif
+#ifndef SIOCATMARK
#define SIOCATMARK _IOR('s', 7, unsigned long) /* at oob mark? */
#endif
diff --git a/components/net/lwip/lwip-2.0.3/src/include/lwip/sockets.h b/components/net/lwip/lwip-2.0.3/src/include/lwip/sockets.h
index 2522056dba..ee04914811 100644
--- a/components/net/lwip/lwip-2.0.3/src/include/lwip/sockets.h
+++ b/components/net/lwip/lwip-2.0.3/src/include/lwip/sockets.h
@@ -378,6 +378,8 @@ typedef struct ip_mreq {
#define SIOCGHIWAT _IOR('s', 1, unsigned long) /* get high watermark */
#define SIOCSLOWAT _IOW('s', 2, unsigned long) /* set low watermark */
#define SIOCGLOWAT _IOR('s', 3, unsigned long) /* get low watermark */
+#endif
+#ifndef SIOCATMARK
#define SIOCATMARK _IOR('s', 7, unsigned long) /* at oob mark? */
#endif
diff --git a/components/net/lwip/lwip-2.1.2/src/include/lwip/sockets.h b/components/net/lwip/lwip-2.1.2/src/include/lwip/sockets.h
index 12ffbddccc..335bee358d 100644
--- a/components/net/lwip/lwip-2.1.2/src/include/lwip/sockets.h
+++ b/components/net/lwip/lwip-2.1.2/src/include/lwip/sockets.h
@@ -427,6 +427,8 @@ typedef struct ipv6_mreq {
#define SIOCGHIWAT _IOR('s', 1, unsigned long) /* get high watermark */
#define SIOCSLOWAT _IOW('s', 2, unsigned long) /* set low watermark */
#define SIOCGLOWAT _IOR('s', 3, unsigned long) /* get low watermark */
+#endif
+#ifndef SIOCATMARK
#define SIOCATMARK _IOR('s', 7, unsigned long) /* at oob mark? */
#endif