public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
* sysctl_ip_default_ttl is not exported in 2.6
@ 2008-02-12 12:04 murtuja bharmal
  0 siblings, 0 replies; 2+ messages in thread
From: murtuja bharmal @ 2008-02-12 12:04 UTC (permalink / raw)
  To: linux-newbie

Hello,

I m doing porting of kernel module from 2.4 to 2.6 
kernel, during the porting I came to know some of the
Exported Symbol in 2.4, is now static in 2.6, which
our kernel module is using.

Like 
sysctl_ip_default_ttl
ip_options_compile

Following is the reference link
http://lists.linuxcoding.com/kernel/2005-q2/msg17865.html

Can anyone please suggest a possible solution for the
same.
Should I need to Export These kernel symbols again in
linux 2.6 kernel code.

Murtuja



      Why delete messages? Unlimited storage is just a click away. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: sysctl_ip_default_ttl is not exported in 2.6
@ 2008-02-12 10:05 Rodrigo Rubira Branco (BSDaemon)
  0 siblings, 0 replies; 2+ messages in thread
From: Rodrigo Rubira Branco (BSDaemon) @ 2008-02-12 10:05 UTC (permalink / raw)
  To: linux-newbie, "murtuja_bharmal

ip_options_compile is not static ;)

I think you can use:
dst_metric(nskb->dst, RTAX_HOPLIMIT);

To replace the sysctl_ip_default_ttl value...

Please, let me know if it works for you.


cya,


Rodrigo (BSDaemon).

--
http://www.kernelhacking.com/rodrigo

Kernel Hacking: If i really know, i can hack

GPG KeyID: 1FCEDEA1


--------- Mensagem Original --------
De: murtuja bharmal <murtuja_bharmal@yahoo.com>
Para: linux-newbie@vger.kernel.org <linux-newbie@vger.kernel.org>
Assunto: sysctl_ip_default_ttl is not exported in 2.6
Data: 12/02/08 08:41

>
> Hello,
>
> I m doing porting of kernel module from 2.4 to 2.6
> kernel, during the porting I came to know some of the
> Exported Symbol in 2.4, is now static in 2.6, which
> our kernel module is using.
>
> Like
> sysctl_ip_default_ttl
> ip_options_compile
>
> Following is the reference link
> http://lists.linuxcoding.com/kernel/2005-q2/msg17865.html
>
> Can anyone please suggest a possible solution for the
> same.
> Should I need to Export These kernel symbols again in
> linux 2.6 kernel code.
>
> Murtuja
>
>
>
>       Why delete messages? Unlimited storage is just a click away. Go to
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html
> -
> To unsubscribe from this list: send the line &quot;unsubscribe
linux-newbie&quot; in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
>
>
>
>
>

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-12 12:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-12 12:04 sysctl_ip_default_ttl is not exported in 2.6 murtuja bharmal
  -- strict thread matches above, loose matches on Subject: below --
2008-02-12 10:05 Rodrigo Rubira Branco (BSDaemon)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox