This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Support BSD sysctl() compile failed
- To: Gary Thomas <gthomas at redhat dot com>
- Subject: RE: [ECOS] Support BSD sysctl() compile failed
- From: Gary Guangyu Pei <pei at CS dot UCLA dot EDU>
- Date: Thu, 14 Sep 2000 16:39:43 -0700 (PDT)
- cc: ecos-discuss at sourceware dot cygnus dot com
I am trying to fetch and set values such as IPCTL_FORWARDING,
NET_RT_IFLIST etc. Is there an easy way to do this?
Thanks,
Gary Pei
On Thu, 14 Sep 2000, Gary Thomas wrote:
|
|On 14-Sep-2000 Gary Guangyu Pei wrote:
|> Hi,
|> When I choose this option, I got the following error:
|>
|> //D/eCos/packages/net/tcpip/current/src/sys/netinet/ip_input.c: In
|> function `ip_sysctl':
|> //D/eCos/packages/net/tcpip/current/src/sys/netinet/ip_input.c:1541:
|> warning: implicit declaration of function `sysctl_int'
|> //D/eCos/packages/net/tcpip/current/src/sys/netinet/ip_input.c:1555:
|> `securelevel' undeclared (first use in this function)
|> //D/eCos/packages/net/tcpip/current/src/sys/netinet/ip_input.c:1555: (Each
|> undeclared identifier is reported only once
|> //D/eCos/packages/net/tcpip/current/src/sys/netinet/ip_input.c:1555: for
|> each function it appears in.)
|> make[1]: *** [src/sys/netinet/ip_input.o.d] Error 1
|>
|> Would you please let me know if there is a way to use sysctl in the eCos?
|
|This function is not supported [at all] at this time. The remnants of
|it's use remain in the networking code only as placeholders for future
|service.
|
|What kind of 'sysctl()' functionality were you looking for?
|