[ECOS] Support BSD sysctl() compile failed

Gary Guangyu Pei pei@CS.UCLA.EDU
Thu Sep 14 16:39:00 GMT 2000


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?
|



More information about the Ecos-discuss mailing list