Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines
if.h File Reference

Go to the source code of this file.


struct  ifreq
struct  ifaliasreq
struct  ifconf
union  ifreq.ifr_ifru
union  ifconf.ifc_ifcu


#define IFF_UP   0x1 /* interface is up */
#define IFF_BROADCAST   0x2 /* broadcast address valid */
#define IFF_DEBUG   0x4 /* turn on debugging */
#define IFF_LOOPBACK   0x8 /* is a loopback net */
#define IFF_POINTOPOINT   0x10 /* interface is point-to-point link */
#define IFF_NOTRAILERS   0x20 /* avoid use of trailers */
#define IFF_RUNNING   0x40 /* resources allocated */
#define IFF_NOARP   0x80 /* no address resolution protocol */
#define IFF_PROMISC   0x100 /* receive all packets */
#define IFF_ALLMULTI   0x200 /* receive all multicast packets */
#define IFF_OACTIVE   0x400 /* transmission in progress */
#define IFF_SIMPLEX   0x800 /* can't hear own transmissions */
#define IFF_LINK0   0x1000 /* per link layer defined bit */
#define IFF_LINK1   0x2000 /* per link layer defined bit */
#define IFF_LINK2   0x4000 /* per link layer defined bit */
#define IFF_MULTICAST   0x8000 /* supports multicast */
#define IFNAMSIZ   16
#define ifr_addr   ifr_ifru.ifru_addr /* address */
#define ifr_dstaddr   ifr_ifru.ifru_dstaddr /* other end of p-to-p link */
#define ifr_broadaddr   ifr_ifru.ifru_broadaddr /* broadcast address */
#define ifr_flags   ifr_ifru.ifru_flags /* flags */
#define ifr_metric   ifr_ifru.ifru_metric /* metric */
#define ifr_data   ifr_ifru.ifru_data /* for use by interface */
#define ifc_buf   ifc_ifcu.ifcu_buf /* buffer address */
#define ifc_req   ifc_ifcu.ifcu_req /* array of structures returned */

Class Documentation

struct ifreq

Definition at line 90 of file if.h.

Class Members
union ifreq ifr_ifru
char ifr_name
struct ifaliasreq

Definition at line 109 of file if.h.

Class Members
char ifra_name
struct ifconf

Definition at line 122 of file if.h.

Collaboration diagram for ifconf:
Class Members
union ifconf ifc_ifcu
int ifc_len
union ifreq.ifr_ifru

Definition at line 93 of file if.h.

Class Members
caddr_t ifru_data
short ifru_flags
int ifru_metric
union ifconf.ifc_ifcu

Definition at line 124 of file if.h.

Class Members
caddr_t ifcu_buf
struct ifreq * ifcu_req

Define Documentation

#define ifc_buf   ifc_ifcu.ifcu_buf /* buffer address */

Definition at line 128 of file if.h.

#define ifc_req   ifc_ifcu.ifcu_req /* array of structures returned */

Definition at line 129 of file if.h.

#define IFF_ALLMULTI   0x200 /* receive all multicast packets */

Definition at line 71 of file if.h.

#define IFF_BROADCAST   0x2 /* broadcast address valid */

Definition at line 63 of file if.h.


Definition at line 80 of file if.h.

#define IFF_DEBUG   0x4 /* turn on debugging */

Definition at line 64 of file if.h.

#define IFF_LINK0   0x1000 /* per link layer defined bit */

Definition at line 74 of file if.h.

#define IFF_LINK1   0x2000 /* per link layer defined bit */

Definition at line 75 of file if.h.

#define IFF_LINK2   0x4000 /* per link layer defined bit */

Definition at line 76 of file if.h.

#define IFF_LOOPBACK   0x8 /* is a loopback net */

Definition at line 65 of file if.h.

#define IFF_MULTICAST   0x8000 /* supports multicast */

Definition at line 77 of file if.h.

#define IFF_NOARP   0x80 /* no address resolution protocol */

Definition at line 69 of file if.h.

#define IFF_NOTRAILERS   0x20 /* avoid use of trailers */

Definition at line 67 of file if.h.

#define IFF_OACTIVE   0x400 /* transmission in progress */

Definition at line 72 of file if.h.

#define IFF_POINTOPOINT   0x10 /* interface is point-to-point link */

Definition at line 66 of file if.h.

#define IFF_PROMISC   0x100 /* receive all packets */

Definition at line 70 of file if.h.

#define IFF_RUNNING   0x40 /* resources allocated */

Definition at line 68 of file if.h.

#define IFF_SIMPLEX   0x800 /* can't hear own transmissions */

Definition at line 73 of file if.h.

#define IFF_UP   0x1 /* interface is up */

Definition at line 62 of file if.h.

#define IFNAMSIZ   16

Definition at line 91 of file if.h.

#define ifr_addr   ifr_ifru.ifru_addr /* address */

Definition at line 101 of file if.h.

#define ifr_broadaddr   ifr_ifru.ifru_broadaddr /* broadcast address */

Definition at line 103 of file if.h.

#define ifr_data   ifr_ifru.ifru_data /* for use by interface */

Definition at line 106 of file if.h.

#define ifr_dstaddr   ifr_ifru.ifru_dstaddr /* other end of p-to-p link */

Definition at line 102 of file if.h.

#define ifr_flags   ifr_ifru.ifru_flags /* flags */

Definition at line 104 of file if.h.

#define ifr_metric   ifr_ifru.ifru_metric /* metric */

Definition at line 105 of file if.h.