tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: route_protosw.pr_input



On Wed, Sep 05, 2018 at 06:19:31PM +0200, Maxime Villard wrote:
> Le 05/09/2018 à 17:42, Joerg Sonnenberger a écrit :
> > On Wed, Sep 05, 2018 at 08:21:12AM +0200, Maxime Villard wrote:
> > > In net/rtsock.c, I don't understand where we use the 'pr_input' field of
> > > COMPATNAME(route_protosw)[]. To me it can't be used: .pr_input takes a
> > > variadic function, but if you grep through the tree, you can see that
> > > the variadic .pr_input functions we call always take three arguments, as
> > > opposed to raw_input() which takes five.
> > 
> > ip_encap.c line 363?
> > 
> > Joerg
> 
> That's a different pr_input, this one is in struct encapsw4, which is not
> variadic; so it's not related to the problem

Ah, right. The 5 argument usage was part of netiso.

Joerg


Home | Main Index | Thread Index | Old Index