On (02/05/09 14:33), Vasumathi Sundaram wrote:
> > ::ill
>    ADDR     NAME   ILL_WQ TYPE      IPST    FLAGS   REFCNT   IRECNT    
> NCECNT

Some comments:
- the flags should be printed using some char mnemonic, not as a hex
  number (see, for example, the output of ::nce)

- refcnt should not be very large. And usually the irecnt and ncecnt
  should als not be very large, so maybe you can shrink the field width
  a bit and get more space here.

- I personally would prefer to see the ill name to be left justified,
  rather than right justified.
>
> > ::ipif -v
>    ADDR       ID    FLAGS ST_FLAGS   REFCNT   IRECNT   ILMCNT
>                         LOCAL SRC                                         
>         SUBNET NETMASK                                             BRDCST 

- again, for flags and st_flags, use a mnemonic, instead of printing
  hex values.

- The default (i.e, non "-v") output should show the address. And
  this address, as Meem suggested earlier, should be in cidr notation.
  So mapped v4 addrs should be printed as v4 addrs, and mask should be
  printed as /<masklen>

- might be better to print the broadcast and ppp dest addr (?) in the -v
  form. maybe we can also print some ipmp related info (like the bound ipif?)
  in the -v output.

--Sowmini

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to