1 Star 0 Fork 4.9K

Lin_bruin / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ether-h.md 3.83 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

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.

1
https://gitee.com/dreaminghell/docs.git
git@gitee.com:dreaminghell/docs.git
dreaminghell
docs
docs
master

搜索帮助