> I am working on cleaning up the ndd status reports and moving them to
> mdb as macros. (CR
> *http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4616660)*
>
> For some of the status reports such as ip_ill_status and ip_ipif_status,
> I wanted to seek some input on what information from the ill_t and
> ipif_t structures are more useful to debuggers.
>
> The ndd report for ip_ill_status does not give much information except
> for the ill address, read queue and the write queue pointers; and for
> ip_ipif_status, it displays the local address, mtu, flags and zone for
> each ip interface which can already be seen with ifconfig.
>
> Developers who extensively use mdb for debugging the stacks will be able
> to provide me with some input on what is needed from these structures to
> help the debugging.
The fields I look at most often in the ill are:
ill_name
ill_wq (ill_rq is easy to derive from ill_wq; no need to print both)
ill_dl_up
ill_mactype or ill_type
ill_flags
ill_state_flags
ill_phyint
ill_isv6
ill_refcnt, ill_ire_cnt, ill_nce_cnt, ill_ilm_cnt
ill_ilm_walker_cnt
ill_waiters
ill_ipst
ill_grp
Also, the pointers to the ill_ipif and ill_ilm lists, but some thought
would need to be put into how to display those meaningfully.
For the ipif_t:
name (derived from both the ill name and ipif_id)
ipif_ill pointer
ipif_v6lcl_addr (displayed in a.b.c.d/n notation)
ipif_flags
ipif_state_flags
ipif_addr_ready
ipif_refcnt, ipif_ire_cnt, ipif_ilm_cnt
--
meme
_______________________________________________
networking-discuss mailing list
[email protected]