Content-type: text/html Man page of if.h

if.h

Section: Headers (3HEAD)
Updated: 10 Sep 2004
Index Return to Main Contents
 

NAME

if.h, if - sockets local interfaces  

SYNOPSIS

#include <net/if.h>
 

DESCRIPTION

The <net/if.h> header defines the if_nameindex structure, which includes the following members:

unsigned if_index     /* numeric index of the interface */
char     *if_name     /* null-terminated name of the interface */

The <net/if.h> header defines the following macro for the length of a buffer containing an interface name (including the terminating null character):

IF_NAMESIZE interface name length

 

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
Interface StabilityStandard

 

SEE ALSO

if_nametoindex(3XNET), attributes(5), standards(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
ATTRIBUTES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:37:12 GMT, October 02, 2010