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

ether_input(9r)

NAME

ether_input - Network: Processes a frame received from the network

SYNOPSIS

void ether_input( struct ifnet *ifp, struct ether_header *ether_head_p, struct mbuf *mbuf_p );

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. ether_head_p Specifies a pointer to an ether_header data structure. This structure contains header information from the frame. For FDDI, ether_input() is passed a fddi_header structure, which is cast to a structure of type ether_header. For token ring, a trn_header structure is passed. mbuf_p Specifies a pointer to an mbuf data structure containing a received frame from the network.

DESCRIPTION

The ether_input() routine processes a frame received from the network (can be Ethernet, token ring, or FDDI). The frame is in the mbuf chain without the ether_header structure, which is provided separately.

RETURN VALUES

None

SEE ALSO

Data Structures: ether_header(9s), mbuf(9s), ifnet(9s)

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