[mpls-linux-general] Basic Discovery Mechanism on ppp link
Status: Beta
Brought to you by:
jleu
|
From: <zjh...@so...> - 2002-05-13 13:18:30
|
hi,jim
how are you ? Are you busy ? Wish you happy in your life !
Now I have a question to discuss with you.
In your code you create a UDP socket to send LDP Link Hellos .This is basic discovery mechanism .In your LDP code you make the UDP socket join a multicast group by setsockopt( ). This work well on ethernet link because the if->destaddr is a multicast group addr.
In the case of PPP,you also join a multicast by this way;but in your code the destaddr of ppp interface is not a multicast group addr.So there is the problem .
Does I understand your code correctly ? Perhaps you can give me your design of the code.
Why your code have a destaddr in the ldp_if_linux struct. What's the use of the data element "destaddr "?
Forgive my pool English!! you can also mail me:jh...@ma... your answer!
All thanks!
your sincerely :
zhangjh
|