ifaddrs-h.md 2.7 KB
Newer Older
W
wenjun 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
# ifaddrs.h<a name="ZH-CN_TOPIC_0000001055189445"></a>

## **Overview**<a name="section805742054084830"></a>

**Related Modules:**

[NET](NET.md)

**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**<a name="section53138707084830"></a>

## Data Structures<a name="nested-classes"></a>

<a name="table243583307084830"></a>
<table><thead align="left"><tr id="row21424525084830"><th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.1"><p id="p2134615629084830"><a name="p2134615629084830"></a><a name="p2134615629084830"></a>Data Structure Name</p>
</th>
<th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.2"><p id="p185097218084830"><a name="p185097218084830"></a><a name="p185097218084830"></a>Description</p>
</th>
</tr>
</thead>
<tbody><tr id="row2072343395084830"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p124104803084830"><a name="p124104803084830"></a><a name="p124104803084830"></a><a href="ifaddrs.md">ifaddrs</a></p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1790193174084830"><a name="p1790193174084830"></a><a name="p1790193174084830"></a>Defines the network interface information. </p>
</td>
</tr>
</tbody>
</table>

## Functions<a name="func-members"></a>

<a name="table1583101259084830"></a>
<table><thead align="left"><tr id="row1576088969084830"><th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.1"><p id="p236984389084830"><a name="p236984389084830"></a><a name="p236984389084830"></a>Function Name</p>
</th>
<th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.2"><p id="p1974028521084830"><a name="p1974028521084830"></a><a name="p1974028521084830"></a>Description</p>
</th>
</tr>
</thead>
<tbody><tr id="row1721303116084830"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p242962858084830"><a name="p242962858084830"></a><a name="p242962858084830"></a><a href="NET.md#gabfdd6ca5469fe73ed88ba94bf8db57cc">freeifaddrs</a> (struct <a href="ifaddrs.md">ifaddrs</a> *ifp)</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p444744731084830"><a name="p444744731084830"></a><a name="p444744731084830"></a>void&nbsp;</p>
<p id="p772857227084830"><a name="p772857227084830"></a><a name="p772857227084830"></a>Frees the network interface information obtained by <strong id="b153069238084830"><a name="b153069238084830"></a><a name="b153069238084830"></a>getifaddrs</strong>. </p>
</td>
</tr>
</tbody>
</table>