* How to get the IPv6 address of next hop towards destination?
@ 2002-11-29 4:13 Zheng Jianping
2002-11-29 4:16 ` YOSHIFUJI Hideaki / 吉藤英明
0 siblings, 1 reply; 3+ messages in thread
From: Zheng Jianping @ 2002-11-29 4:13 UTC (permalink / raw)
To: netdev; +Cc: Pedro Roque, kuznet
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@iscas.ac.cn
Tel: 6255,5523
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to get the IPv6 address of next hop towards destination?
2002-11-29 4:13 How to get the IPv6 address of next hop towards destination? Zheng Jianping
@ 2002-11-29 4:16 ` YOSHIFUJI Hideaki / 吉藤英明
2002-12-12 2:11 ` Zheng Jianping
0 siblings, 1 reply; 3+ messages in thread
From: YOSHIFUJI Hideaki / 吉藤英明 @ 2002-11-29 4:16 UTC (permalink / raw)
To: zjp; +Cc: netdev, roque, kuznet
In article <000d01c2975d$a2ad3c10$6c06a8c0@zhengjp> (at Fri, 29 Nov 2002 12:13:13 +0800), "Zheng Jianping" <zjp@iscas.ac.cn> says:
> It seems that
> u8 primary_key[0];
> is responsible for it.
>
> Is it right?
yes.
--yoshfuji
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to get the IPv6 address of next hop towards destination?
2002-11-29 4:16 ` YOSHIFUJI Hideaki / 吉藤英明
@ 2002-12-12 2:11 ` Zheng Jianping
0 siblings, 0 replies; 3+ messages in thread
From: Zheng Jianping @ 2002-12-12 2:11 UTC (permalink / raw)
To: yoshfuji; +Cc: netdev
Hi, Yoshfuji,
What's type of the address stored in primary_key[0], link-local or global?
Thanks,
Zheng
> In article <000d01c2975d$a2ad3c10$6c06a8c0@zhengjp> (at Fri, 29 Nov 2002
12:13:13 +0800), "Zheng Jianping" <zjp@iscas.ac.cn> says:
>
> > It seems that
> > u8 primary_key[0];
> > is responsible for it.
> >
> > Is it right?
>
> yes.
>
> --yoshfuji
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-12-12 2:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-29 4:13 How to get the IPv6 address of next hop towards destination? Zheng Jianping
2002-11-29 4:16 ` YOSHIFUJI Hideaki / 吉藤英明
2002-12-12 2:11 ` Zheng Jianping
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox