Current Path : /compat/linux/proc/self/root/usr/local/share/doc/libnet11/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/local/share/doc/libnet11/structlibnet__802__1q__hdr.html |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>libnet: libnet_802_1q_hdr struct Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.4 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div> <h1>libnet_802_1q_hdr Struct Reference</h1><code>#include <<a class="el" href="libnet-headers_8h-source.html">libnet-headers.h</a>></code> <p> <table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>u_int8_t </td><td class="memItemRight" valign=bottom><a class="el" href="structlibnet__802__1q__hdr.html#o0">vlan_dhost</a> [ETHER_ADDR_LEN]</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>u_int8_t </td><td class="memItemRight" valign=bottom><a class="el" href="structlibnet__802__1q__hdr.html#o1">vlan_shost</a> [ETHER_ADDR_LEN]</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>u_int16_t </td><td class="memItemRight" valign=bottom><a class="el" href="structlibnet__802__1q__hdr.html#o2">vlan_tpi</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>u_int16_t </td><td class="memItemRight" valign=bottom><a class="el" href="structlibnet__802__1q__hdr.html#o3">vlan_priority_c_vid</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>u_int16_t </td><td class="memItemRight" valign=bottom><a class="el" href="structlibnet__802__1q__hdr.html#o4">vlan_len</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> IEEE 802.1Q (Virtual Local Area Network) VLAN header, static header size: 18 bytes <p> <hr><h2>Field Documentation</h2> <a class="anchor" name="o0" doxytag="libnet_802_1q_hdr::vlan_dhost" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> u_int8_t <a class="el" href="structlibnet__802__1q__hdr.html#o0">libnet_802_1q_hdr::vlan_dhost</a>[ETHER_ADDR_LEN] </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> destination ethernet address </td> </tr> </table> <a class="anchor" name="o4" doxytag="libnet_802_1q_hdr::vlan_len" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> u_int16_t <a class="el" href="structlibnet__802__1q__hdr.html#o4">libnet_802_1q_hdr::vlan_len</a> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> length or type (802.3 / Eth 2) </td> </tr> </table> <a class="anchor" name="o3" doxytag="libnet_802_1q_hdr::vlan_priority_c_vid" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> u_int16_t <a class="el" href="structlibnet__802__1q__hdr.html#o3">libnet_802_1q_hdr::vlan_priority_c_vid</a> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> priority | VLAN ID </td> </tr> </table> <a class="anchor" name="o1" doxytag="libnet_802_1q_hdr::vlan_shost" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> u_int8_t <a class="el" href="structlibnet__802__1q__hdr.html#o1">libnet_802_1q_hdr::vlan_shost</a>[ETHER_ADDR_LEN] </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> source ethernet address </td> </tr> </table> <a class="anchor" name="o2" doxytag="libnet_802_1q_hdr::vlan_tpi" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> u_int16_t <a class="el" href="structlibnet__802__1q__hdr.html#o2">libnet_802_1q_hdr::vlan_tpi</a> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> tag protocol ID </td> </tr> </table> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="libnet-headers_8h-source.html">libnet-headers.h</a></ul> <hr size="1"><address style="align: right;"><small>Generated on Wed Mar 10 13:23:38 2004 for libnet by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.4 </small></address> </body> </html>