svn commit: r204145 - head/sys/net
Bjoern A. Zeeb
bz at FreeBSD.org
Sun Feb 21 08:45:09 UTC 2010
On Sun, 21 Feb 2010, Andrew Thompson wrote:
> On Sat, Feb 20, 2010 at 10:09:48PM +0000, Bjoern A. Zeeb wrote:
>> Author: bz
>> Date: Sat Feb 20 22:09:48 2010
>> New Revision: 204145
>> URL: http://svn.freebsd.org/changeset/base/204145
>>
>> Log:
>> Start to implement ifnet DDB support:
>> - 'show ifnets' prints a list of ifnet *s per virtual network stack,
>> - 'show ifnet <struct ifnet *>' prints fields matching the given ifp.
>
> The existing style for this is 'show all xxx', maybe you want to follow
> that.
show allxxx, yeah I can do that, along with fixing the overlong show
vnet_sysuninit. I'll need to update the man page after that as well.
>> We do not yet print the complete set of fields and might want to
>> factor this out to an extra if_debug.c file in case this grows
>> a lot[1]. We may also want to grow 'show ifnet <if_xname>' support[1].
>>
>> Sponsored by: ISPsystem
>> Suggested by: rwatson [1]
>> Reviewed by: rwatson
>> MFC after: 5 days
>>
>> Modified:
>> head/sys/net/if.c
>>
>
--
Bjoern A. Zeeb It will not break if you know what you are doing.
More information about the svn-src-head
mailing list