diff options
author | jlemon <jlemon@FreeBSD.org> | 2001-09-18 20:13:48 +0000 |
---|---|---|
committer | jlemon <jlemon@FreeBSD.org> | 2001-09-18 20:13:48 +0000 |
commit | ead81b8e599b0d82b0e0a20dbbed77bd21c45754 (patch) | |
tree | 9b4e6910079a343b46dcaccb8d4649b6f578511f /sbin/ifconfig/ifconfig.c | |
parent | 28193b25ab7bec0c525aac3dc9957b0199098d20 (diff) | |
download | FreeBSD-src-ead81b8e599b0d82b0e0a20dbbed77bd21c45754.zip FreeBSD-src-ead81b8e599b0d82b0e0a20dbbed77bd21c45754.tar.gz |
Split hwcsum into rxcsum and txcsum components.
Diffstat (limited to 'sbin/ifconfig/ifconfig.c')
-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 f04d4f8..ca7b52a 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 |