aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2020-01-23 01:41:09 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-07-11 11:52:46 +0200
commit301991542a4f030ae36ba51ccd715c3585866b12 (patch)
treede32f2eab92199fa4d0677144ae0727474cd5e64
parentebbb6536b7e53c2a7a5d8a9d3445dbb386f72820 (diff)
downloadnewlib-301991542a4f030ae36ba51ccd715c3585866b12.zip
newlib-301991542a4f030ae36ba51ccd715c3585866b12.tar.gz
newlib-301991542a4f030ae36ba51ccd715c3585866b12.tar.bz2
Introduce flag IFF_NEEDSEPOCH
that marks Ethernet interfaces that supposedly may call into ether_input() without network epoch. They all need to be reviewed before 13.0-RELEASE. Some may need be fixed. The flag is not planned to be used in the kernel for a long time.
-rw-r--r--newlib/libc/sys/rtems/include/net/if.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/sys/rtems/include/net/if.h b/newlib/libc/sys/rtems/include/net/if.h
index 512a926..2c1ecdf 100644
--- a/newlib/libc/sys/rtems/include/net/if.h
+++ b/newlib/libc/sys/rtems/include/net/if.h
@@ -144,7 +144,7 @@ struct if_data {
#define IFF_DEBUG 0x4 /* (n) turn on debugging */
#define IFF_LOOPBACK 0x8 /* (i) is a loopback net */
#define IFF_POINTOPOINT 0x10 /* (i) is a point-to-point link */
-/* 0x20 was IFF_SMART */
+#define IFF_NEEDSEPOCH 0x20 /* (i) calls if_input w/o epoch */
#define IFF_DRV_RUNNING 0x40 /* (d) resources allocated */
#define IFF_NOARP 0x80 /* (n) no address resolution protocol */
#define IFF_PROMISC 0x100 /* (n) receive all packets */