Re: Getting interface list and details

Borek Lupomesky (Borek.Lupomesky@ujep.cz)
Thu, 9 Dec 1999 12:52:07 +0100 (CET)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 9 Dec 1999, Glynn Clements wrote:

>
>
> Borek Lupomesky wrote:
>
> > > > and details about network interfaces?
> > >
> > > The SIOCGIF* ioctl()s.
> >
> > But how do I create the socket to perform these ioctl's
> > on? socket(AF_PACKET, SOCK_DGRAM, ...) ?
>
> socket(AF_INET, SOCK_DGRAM, IPPROTO_IP);

I've already found this... but (just curiosity) what happens, when I
have kernel without IP networking?
Thanks anyway.

Bye Borek

- --

=====================================================================
BOREK LUPOMESKY, network administrator University of J. E. Purkyne
Ceske mladeze 8
WWW: http://www.ujep.cz/~lupomesk/ Usti nad Labem, 40096
IRCnet: Borek @ #usti The Czech Republic
PGP keyid: B6A06AEB ICQ: 10139578 tel: +420-602-376368
==========[ MIME/ISO-8859-2 & PGP encrypted mail welcome ]===========

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE4T5fqA6dWI7agausRAozZAJwNr9DhGrJ6rnVLDX1GrzANvOvrxwCeM5Nx
qijN9N86YqC3aFQ1dejbL5Y=
=JOhD
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu