This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Does FreeBSD stack support multiple IP addresses?
- From: Grant Edwards <grant dot b dot edwards at gmail dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Fri, 19 Feb 2016 18:11:58 +0000 (UTC)
- Subject: Re: Does FreeBSD stack support multiple IP addresses?
- Authentication-results: sourceware.org; auth=none
- References: <na7g8p$a83$1 at ger dot gmane dot org>
On 2016-02-19, Grant Edwards <grant.b.edwards@gmail.com> wrote:
> Can one assign multiple IP addresses (on different subnets) to a
> single interface when using the eCos FreeBSD network stack?
>
> I know modern BSD and Linux stacks all support that, but does the eCos
> implementation?
Some poking through the source doe and subsequent experimentation has
answered my question in the affirmative.
You use SIOCAIFADDR(_IN6) instead of SIOCASIFADDR and its brethren.
--
Grant Edwards grant.b.edwards Yow! Today, THREE WINOS
at from DETROIT sold me a
gmail.com framed photo of TAB HUNTER
before his MAKEOVER!
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss