Add symbolic names for the IFF_PPROMISC and IFF_NEEDSGIANT flags

so that ifconfig(8) can print them.

MFC after:	5 days
This commit is contained in:
Yaroslav Tykhiy 2005-07-13 21:23:40 +00:00
parent 3431820a60
commit 2eb9396fb7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=147979

View File

@ -809,7 +809,7 @@ rt_xaddrs(caddr_t cp, caddr_t cplim, struct rt_addrinfo *rtinfo)
#define IFFBITS \
"\020\1UP\2BROADCAST\3DEBUG\4LOOPBACK\5POINTOPOINT\6SMART\7RUNNING" \
"\10NOARP\11PROMISC\12ALLMULTI\13OACTIVE\14SIMPLEX\15LINK0\16LINK1\17LINK2" \
"\20MULTICAST\21POLLING\23MONITOR\24STATICARP"
"\20MULTICAST\21POLLING\22PPROMISC\23MONITOR\24STATICARP\25NEEDSGIANT"
#define IFCAPBITS \
"\020\1RXCSUM\2TXCSUM\3NETCONS\4VLAN_MTU\5VLAN_HWTAGGING\6JUMBO_MTU\7POLLING"