ether.h

Overview

Related Modules:

NET

Description:

Provides functions and data structures related to network operations. For example, you can use the functions to send and receive network data, manage network addresses, and convert bytes.

Since:

1.0

Version:

1.0

Summary

Functions

Function Name

Description

ether_ntoa (const struct ether_addr p_a)

char  

Converts binary data in network byte order into a standard 48-bit Ethernet host address in the colon hexadecimal notation.

ether_aton (const char x)

struct ether_addr  

Converts a standard 48-bit Ethernet host address in the colon hexadecimal notation into binary data in network byte order.

ether_ntoa_r (const struct ether_addr p_a, char x)

char  

Converts binary data in network byte order into a standard 48-bit Ethernet host address in the colon hexadecimal notation. This function is reentrant.

ether_aton_r (const char x, struct ether_addr p_a)

struct ether_addr  

Converts a standard 48-bit Ethernet host address in the colon hexadecimal notation into binary data in network byte order. This function is reentrant.