Index Index for
Section 9
Index Alphabetical
listing for I
Bottom of page Bottom of
page

if_attach(9r)

NAME

if_attach - Network: Attaches an interface to the list of active interfaces

SYNOPSIS

void if_attach( struct ifnet *ifp );

ARGUMENTS

ifp Specifies a pointer to an ifnet data structure. This structure contains such information as pointers to the network driver's associated interfaces. For example, the if_init, if_output, and if_ioctl members point to the network driver's init, output, and ioctl interfaces. The structure also contains generic interface statistics.

DESCRIPTION

The if_attach() routine attaches an interface to the list of active interfaces.

RETURN VALUES

None

SEE ALSO

Data Structures: ifnet(9s) Routines: if_alloc(9r), if_detach(9r), if_dealloc(9r)

Index Index for
Section 9
Index Alphabetical
listing for I
Top of page Top of
page