Hello,
still doing thesis on ticket 629. I am currently working on option "pcapctl
list" for listing possible devices, packets from which can be dumped.

I wonder if there is any mapping between net/eth1 and
devices\/\\hw\\sys\\00:03.0\\port0? Or any other mapping with shorter names?

I can get "devices\/\\hw\\sys\\00:03.0\\port0" from category "pcap" with
help of locsrv. And now "pcapctl list" returns these long names. But it
would be easier for user to write "pcapctl start net/eth1 d.pcap" than
"pcapctl start devices\/\\hw\\sys\\00:03.0\\port0 d.pcap".

The only thing I found is that the name "net/eth1" is related to nic
structure and for option "inet list-addr" link names are saved in advance
during some initialization and that list is stored and returned when
needed, so I am a bit stuck.

Any advice would be appreciated,
Nataliia Korop
_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to