From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Guangyu Pei To: Gary Thomas Cc: ecos-discuss@sourceware.cygnus.com Subject: RE: [ECOS] Support BSD sysctl() compile failed Date: Thu, 14 Sep 2000 16:39:00 -0000 Message-id: References: X-SW-Source: 2000-09/msg00232.html 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? |