Hello,

now, when hfc-e1 driver is ready, I have some question, as Daniele explained to me how to do passive monitoring on E1 stream, I need to spanned hfc-e1 card and one side RX is going to span1 and the second side RX is going to span2.

If I do:

tethereal -V -i visdn0
or
tethereal -V -i visdn1

I can see what is going on E1 D channel, it's what both sides sends to each other.

Because there is not much comments on visdn source code I can't figure out, how to open lapd socket to netdev (to read HDCL frames) and how to open /dev/visdn/streamport (to read B channels data).

What I have figured out when I need to open streamport to specific B channel I have to:

fd = open("/dev/visdn/streamport", O_RDWR);

and then send command using ioctl? Here I stuck :) and about opening lapd socket on netdev I have no idea too..

Can Daniele explaine please?

Regards,
Tomas Vilda
_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers

Reply via email to