aboutsummaryrefslogtreecommitdiff
path: root/sbin/ifconfig
diff options
context:
space:
mode:
authorJonathan Lemon <jlemon@FreeBSD.org>2001-09-18 20:13:48 +0000
committerJonathan Lemon <jlemon@FreeBSD.org>2001-09-18 20:13:48 +0000
commit5fc10eaf8e40b6cefe60f289f9491a67d168b4f0 (patch)
tree9b4e6910079a343b46dcaccb8d4649b6f578511f /sbin/ifconfig
parentf7d866924c5018f6b87ce0aedf8a35385c3abbc7 (diff)
downloadsrc-5fc10eaf8e40b6cefe60f289f9491a67d168b4f0.tar.gz
src-5fc10eaf8e40b6cefe60f289f9491a67d168b4f0.zip
Split hwcsum into rxcsum and txcsum components.
Notes
Notes: svn path=/head/; revision=83637
Diffstat (limited to 'sbin/ifconfig')
-rw-r--r--sbin/ifconfig/ifconfig.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index f04d4f8a8f55..ca7b52aa606d 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -274,8 +274,10 @@ struct cmd {
{ "nwkey", NEXTARG, set80211nwkey }, /* NetBSD */
{ "-nwkey", 0, set80211wep }, /* NetBSD */
#endif
- { "hwcsum", IFCAP_HWCSUM, setifcap },
- { "-hwcsum", -IFCAP_HWCSUM, setifcap },
+ { "rxcsum", IFCAP_RXCSUM, setifcap },
+ { "-rxcsum", -IFCAP_RXCSUM, setifcap },
+ { "txcsum", IFCAP_TXCSUM, setifcap },
+ { "-txcsum", -IFCAP_TXCSUM, setifcap },
{ "netcons", IFCAP_NETCONS, setifcap },
{ "-netcons", -IFCAP_NETCONS, setifcap },
{ "normal", -IFF_LINK0, setifflags },
@@ -1116,7 +1118,7 @@ setiflladdr(val, dummy, s, afp)
"\20MULTICAST"
#define IFCAPBITS \
-"\002\1hwcsum\2netcons"
+"\003\1rxcsum\2txcsum\3netcons"
/*
* Print the status of the interface. If an address family was