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

How to enable IP Forwarding in RTEMS



Chris Johns wrote:

> My limited understanding of how the interface works is by the kernel 
> automatically registering various services to the sysctl manager. This 
> is a linker managed process to create special sections. This means you 
> can add or remove sysctl parts by linking in or not linking the specific 
> object files. The sysctl manager is a text name to function translation.
> 
>  [hint: a similar system could be followed and used for score
>         manager initialisation :-)]

nudge nudge.. wink wink... do you know of any simple examples?

You are right.  This could be a simple mechanism to get avoid
having manager code in when it is not needed.

It might not work on all targets though.  It might be ELF
specific.

--joel