Hi,
I'm modifying the Linux kernel (2.4.7.10) to support IPv6 multicast
forwarding. As required by IPv6 multicast routing protocol, the IPv6 address
of next hop towards destination is needed. So how can I get this
information?
Calling struct dst_entry * ip6_route_output(struct sock *sk, struct flowi
*fl)
can get dst_entry which has a member
struct neighbour *neighbour;
But I don't know which member in 'struct neighbor' stores the IPv6 address.
It seems that
u8 primary_key[0];
is responsible for it.
Is it right?
Thanks,
Zheng Jianping
----------------------------------------------------------------------------
---------------------------
Multimedia Communication & Network Engneering Research Center
Institue of Software, Chiese Academy of Sciences
Email: zjp@xxxxxxxxxxx
Tel: 6255,5523
|