view toynet.h @ 958:019f54d50c8b

More ifconfig cleanup: Remove if_list, unify get_device_info and display_ifconfig(), inline another magic constant #define that's only used once.
author Rob Landley <rob@landley.net>
date Mon, 22 Jul 2013 01:54:28 -0500
parents aca8323e2690
children
line wrap: on
line source

// Included after toys.h, for network stuff.  Some build environments
// don't include network support, so we shouldn't include it unless we're
// going to build it.

#include <arpa/inet.h>
#include <netdb.h>
#include <net/if.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <poll.h>
#include <sys/socket.h>
#include <sys/un.h>