summaryrefslogtreecommitdiffstats
path: root/sys/net/if.h
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-08-28 15:55:49 +0000
committersobomax <sobomax@FreeBSD.org>2002-08-28 15:55:49 +0000
commitfb383aafc75ac488266b7800dad41a7c1ece20f8 (patch)
treeb7733c400373f2ad8fc35b5f580c4449b5e1b01c /sys/net/if.h
parent57cc4cad8bd15400ff47b5f505a109cea12ff373 (diff)
downloadFreeBSD-src-fb383aafc75ac488266b7800dad41a7c1ece20f8.zip
FreeBSD-src-fb383aafc75ac488266b7800dad41a7c1ece20f8.tar.gz
Add IFF_POLLING into the list of flags which are protected from changing via
ioctl(SIOCSIFFLAGS). MFC after: 1 day
Diffstat (limited to 'sys/net/if.h')
-rw-r--r--sys/net/if.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index 8453ff5..a11dc39 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -145,7 +145,8 @@ struct if_data {
/* flags set internally only: */
#define IFF_CANTCHANGE \
(IFF_BROADCAST|IFF_POINTOPOINT|IFF_RUNNING|IFF_OACTIVE|\
- IFF_SIMPLEX|IFF_MULTICAST|IFF_ALLMULTI|IFF_SMART|IFF_PROMISC)
+ IFF_SIMPLEX|IFF_MULTICAST|IFF_ALLMULTI|IFF_SMART|IFF_PROMISC|\
+ IFF_POLLING)
/* Capabilities that interfaces can advertise. */
#define IFCAP_RXCSUM 0x0001 /* can offload checksum on RX */
OpenPOWER on IntegriCloud