Thread (17 messages) 17 messages, 3 authors, 2012-12-23

Re: IPv6 over Firewire

From: YOSHIFUJI Hideaki <hidden>
Date: 2012-12-21 17:53:31

(2012年12月22日 02:03), Stephan Gatzka wrote:
To make the address mapping to the firewire link layer RFC3146 mandates to use neighbor discovery with a certain format of the source/target link-layer address option.

While it is not too complicated to build that up, I'm wondering how I can reserve enough memory in the corresponding skb.

One possibility is to introduce some option padding in ndisc_addr_option_pad() but I think that's somehow weird.

The second option I see is to set needed_tailroom in struct netdevice for firewire net devices. That's the way I would go for.

Because I'm not really familiar with the whole network infrastructure in Linux, a confirmation for the way to go would be nice.
If you are talking about how to build NS/NA/RS/Redirect messages, you
can just use ndisc_opt_addr_space() and ndisc_fill_addr_option() here.

--yoshfuji
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help