public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Nick Barnes <Nick.Barnes@pobox.com>
To: bartv@redhat.com
Cc: ecos-discuss@sourceware.cygnus.com
Subject: Re: [ECOS] Notes on static configuration of an eCos network interface
Date: Tue, 18 Jul 2000 05:52:00 -0000	[thread overview]
Message-ID: <145.963924726@raven.ravenbrook.com> (raw)
In-Reply-To: <200007171359.OAA06167@sheesh.cygnus.co.uk>

At 2000-07-17 13:59:42+0000, Bart Veer writes:
> I am not qualified to answer most of these points, but:
> 
> >>>>> "Nick" == Nick Barnes <Nick.Barnes@pobox.com> writes:
>     Nick> Notes on static configuration of an eCos network interface
> 
>     <snip>
>     Nick> 5.4. multiple static routes
> 
>     Nick> The config tool, build_bootp_record() and init_net() should
>     Nick> be extended to allow the specification of multiple static
>     Nick> routes, through TAG_IP_STATIC_ROUTES.
> 
> The current implementation of CDL does not allow for multiple
> instantiations of something, e.g. you cannot have a configuration
> option that says I want n routes, and then configuration options
> are created on the fly to support the new routes (or existing
> configuration options are removed).
> 
> Instead you could have an upper bound on the number of such routes and
> have the appropriate number of config options. Or you could put
> multiple routes into one configuration value, although extracting all
> the information at compile-time can then prove tricky. Alternatively
> the configury would support only the most common situation of a single
> route, with an opt-out to defer the whole thing to application code.
> I am not sure which of these approaches would be most appropriate in
> this case.

Either way.  This isn't very important to me.

Another option would be to have a single string option for additional
static routes, which is then parsed in network_support.c.

It's an interesting problem.  As other writers have pointed out,
there's a case for taking this out of the kernel configuration
altogether.  For my project I'm now intending to use the ioctl()s
directly, and never call init_all_network_interfaces().

Nick B


--
FreeBSD 2.2.8-RELEASE: up 16 days, 18:42
last reboot Sat Jul 1 19:26 (lightning strike)

  parent reply	other threads:[~2000-07-18  5:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-17  5:45 Nick Barnes
2000-07-17  6:59 ` Bart Veer
2000-07-17  7:07   ` [ECOS] Notes on static configuration of an eCos network inte Gary Thomas
2000-07-18  5:52   ` Nick Barnes [this message]
2000-07-18  8:03     ` [ECOS] Notes on static configuration of an eCos network interface Grant Edwards
2000-07-17  8:52 ` Grant Edwards
2000-07-17  9:03   ` [ECOS] Notes on static configuration of an eCos network inte Gary Thomas
2000-07-17  9:28     ` Andrew Lunn
2000-07-17  9:40       ` Grant Edwards
2000-07-17  9:47         ` Andrew Lunn
2000-07-17  9:29     ` Grant Edwards
2000-07-17  9:45       ` Gary Thomas
2000-07-17 10:01         ` Grant Edwards
2000-07-17  9:45   ` [ECOS] Notes on static configuration of an eCos network interface Hugo 'NOx' Tyson
2000-07-20  7:00 ` Hugo 'NOx' Tyson
2000-07-20  9:57   ` Bart Veer
2000-07-20 11:00     ` Hugo 'NOx' Tyson
2000-07-20 11:19       ` Bart Veer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=145.963924726@raven.ravenbrook.com \
    --to=nick.barnes@pobox.com \
    --cc=bartv@redhat.com \
    --cc=ecos-discuss@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).