[email protected] wrote:
> On (01/30/09 19:16), Peter Memishian wrote:
>   
>> 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.
>>     
>
> It would be good if Vasumathi could come up with some sample output
> for us to talk about.. I have this picture in my head that "::ill -v"
> would display the first line with the name, flags, cnts  etc
> and subsequent lines displaying addresses on the ill, one per line
> but as Meem points out, we'd have to think about how to make
> this user-friendly
>   
 I have copied some of the preliminary output below for ill and ipif to 
get a feedback.
For ipif, we could display the name of the flags instead of the magic 
number in the extended output.
We could have separate dcmd options to show just the flags or the ref 
counts.

 > ::ill
    ADDR     NAME   ILL_WQ TYPE      IPST    FLAGS   REFCNT   IRECNT   
NCECNT
ca9ac004      lo0        0 0     c9cd9000  1000800        0        
0        0
c9beb8d4     bge0 caa5d678 6     c9cd9000  1000800        2        
0       13
ca9ac244      lo0        0 0     c9cd9000  2000800        0        
0        0
c9bebb94     bge0 caa5d098 6     c9cd9000  2000800        2        
0        6
d0cdc704      lo0        0 0x0     ca1ac000  1000800        0        
0        0
d1e7e994     bge1 d1555448 6     ca1ac000  1000800        2        
0       10
cb3e26c4      lo0        0 0     ca1ac000  2000800        0        
0        0
ce0c70d4     bge1 d2dcdca0 6     ca1ac000  2000800        2        
0        6

 > ::ipif  
    ADDR       ID    FLAGS ST_FLAGS   REFCNT   IRECNT   ILMCNT
caa5cf14    lo0:0 00000001 00000000        0        0        1
cdc835ac   bge0:0 00004003 00000000        0        0       21
ca50900c    lo0:0 00000001 00000000        0        0        1
cdc832dc   bge0:0 00000001 00000000        0        0        7
ce9f1c44   bge0:1 00080001 00000000        0        0        2
cb5474bc    lo0:0 00000001 00000000        0        0        1
cb5470fc   bge1:0 00000003 00000000        0        0       17
cb5471ec    lo0:0 00000001 00000000        0        0        1
ce9f12e4   bge1:0 00004001 00000000        0        0        7



 > ::ipif -v
    ADDR       ID    FLAGS ST_FLAGS   REFCNT   IRECNT   ILMCNT
                         LOCAL SRC                          
                        SUBNET NETMASK                      
                        BRDCST PPDEST                         
-----------------------------------------------------------------------------------------------
caa5cf14    lo0:0 00000001 00000000        0        0        1
              ::ffff:127.0.0.1 ::ffff:127.0.0.1             
              ::ffff:127.0.0.0 ffff:ffff:ffff:ffff:ffff:ffff:ff00:
                ::ffff:0.0.0.0 ::ffff:0.0.0.0               
cdc835ac   bge0:0 00004003 00000000        0        0       21
             ::ffff:10.8.57.40 ::ffff:10.8.57.40            
              ::ffff:10.8.57.0 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ff00
            ::ffff:10.8.57.255 ::ffff:0.0.0.0               
ca50900c    lo0:0 00000001 00000000        0        0        1
                           ::1 ::1                          
                           ::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
                            :: ::                           
cdc832dc   bge0:0 00000001 00000000        0        0        7
      fe80::203:baff:fe94:2f00 fe80::203:baff:fe94:2f00     
                        fe80:: ffc0::                       
                            :: ::                           


_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to