This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Does FreeBSD stack support multiple IP addresses?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]