tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ETHERCAP_* & ioctl()
In article <5090FC73.4060700%execsw.org@localhost>,
Masanobu SAITOH <msaitoh%execsw.org@localhost> wrote:
> Hi, all.
>
> I sent the followin mail more than two years ago.
>
>> http://mail-index.netbsd.org/tech-kern/2010/07/28/msg008613.html
>
> As the starting point to solve this problem, I committed the change to
>add SIOCGETHERCAP stuff.
>
> Example:
>> msk0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
>> ec_capabilities=5<VLAN_MTU,JUMBO_MTU>
>> ec_enabled=0
>> address: 00:50:43:00:4b:c5
>> media: Ethernet autoselect
>> status: no carrier
>> wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>>
>capabilities=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx,TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
>>
>enabled=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx,TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
>> ec_capabilities=7<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU>
>> ec_enabled=0
>> address: 00:1b:21:58:68:34
>> media: Ethernet autoselect (1000baseT
>full-duplex,flowcontrol,rxpause,txpause)
>> status: active
>> inet 192.168.1.5 netmask 0xffffff00 broadcast 192.168.1.255
>> inet6 fe80::21b:21ff:fe58:6834%wm0 prefixlen 64 scopeid 0x2
>> inet6 2001:240:694:1:21b:21ff:fe58:6834 prefixlen 64
>
>
> What do you think about this output?
Very nice!
christos
Home |
Main Index |
Thread Index |
Old Index