struct iface
Tengo el siguiente problema:
Este es el código que aparece en el fichero /usr/src/include/linux/if.h:
----------------------------------------------------------------------------
----
/*
* The ifaddr structure contains information about one address
* of an interface. They are maintained by the different address
* families, are allocated and attached when an address is set,
* and are linked together so all addresses for an interface can
* be located.
*/
struct ifaddr
{
struct sockaddr ifa_addr; /* address of interface
*/
union {
struct sockaddr ifu_broadaddr;
struct sockaddr ifu_dstaddr;
} ifa_ifu;
struct iface *ifa_ifp; /* back-pointer to
interface */
struct ifaddr *ifa_next; /* next address for
interface */
};
#define ifa_broadaddr ifa_ifu.ifu_broadaddr /* broadcast address
*/
#define ifa_dstaddr ifa_ifu.ifu_dstaddr /* other end of link
*/
----------------------------------------------------------------------------
----
Alguien puede decirme donde puedo encontrar la definicion de la estructura
struct iface. He buscado en el codigo fuente y no la encuentro por ninguna
parte.
Tambien agradecería que alguien me dijera alguna lista de correo sobre la
implementacion de la familia de protocolos tcp/ip.
Gracias a todos.
Reply to: