diff options
author | Jonathan Lemon <jlemon@FreeBSD.org> | 2001-09-18 20:13:48 +0000 |
---|---|---|
committer | Jonathan Lemon <jlemon@FreeBSD.org> | 2001-09-18 20:13:48 +0000 |
commit | 5fc10eaf8e40b6cefe60f289f9491a67d168b4f0 (patch) | |
tree | 9b4e6910079a343b46dcaccb8d4649b6f578511f /sbin/ifconfig | |
parent | f7d866924c5018f6b87ce0aedf8a35385c3abbc7 (diff) | |
download | src-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.c | 8 |
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 |