This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Socket- How to register new address family.
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Biju PN <bijupn at gmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 12 May 2005 12:55:22 +0200
- Subject: Re: [ECOS] Socket- How to register new address family.
- References: <cdc0cf41050512033463038a45@mail.gmail.com>
tOn Thu, May 12, 2005 at 04:04:45PM +0530, Biju PN wrote:
> Hi all,
>
> I would like to know whether it is possible to register a new address
> family into the socket module in eCos. I am looking for something
> similar to sock_register() in Linux.
>
> Any help on this is highly appreciated.
I think this is a function of the netlink library, libnl. I also think
this is something very Linux specific since i think it uses the
netlink kernel calls to get access to raw packets etc.
The TCP/IP stack in eCos is the FreeBSD stack. It uses a different
architecture. So i don't think the netlink library is going to work on
eCos. You should look to see if there is a FreeBSD equivelent library
and use that.
There are lots of 'I think' there, so you should really check i have
this right.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss