📄 globalvariables_8h.html
字号:
<td><p>Fields from Ethernet packet (dest/source hardware address, protocol, frame size, start of the Ethernet packet in Ethernet controller) are stored in this structure. These values are later used from upper layer protocols (IP, ARP). See <a class="el" href="structethernet__frame.html">ethernet_frame</a> definition for more information about struct fields. <p>Definition at line <a class="el" href="globalvariables_8h-source.html#l00084">84</a> of file <a class="el" href="globalvariables_8h-source.html">globalvariables.h</a>. </td> </tr></table><a name="a5" doxytag="globalvariables.h::send_frame"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> struct <a class="el" href="structethernet__frame.html">ethernet_frame</a> send_frame </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Fields from Ethernet packet (dest/source hardware address, protocol, frame size) are stored in this structure by the upper layer protocols (IP, ARP, other). These values are then used for initializing transmission of an Ethernet frame. See <a class="el" href="structethernet__frame.html">ethernet_frame</a> definition for more information about struct fields. <p>Definition at line <a class="el" href="globalvariables_8h-source.html#l00085">85</a> of file <a class="el" href="globalvariables_8h-source.html">globalvariables.h</a>. </td> </tr></table><a name="a6" doxytag="globalvariables.h::localmachine"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> struct <a class="el" href="structnetif.html">netif</a> localmachine </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p><b> MUST BE PUT SOMEWHERE </b> <p>Definition at line <a class="el" href="globalvariables_8h-source.html#l00086">86</a> of file <a class="el" href="globalvariables_8h-source.html">globalvariables.h</a>. </td> </tr></table><a name="a7" doxytag="globalvariables.h::received_ip_packet"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> struct <a class="el" href="structip__frame.html">ip_frame</a> received_ip_packet </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Various fields from the IP packet are stored in this structure. These values are later used from other upper layer protocols (ICMP, UDP, TCP and possibly others) to extract needed information about the received packet. See <a class="el" href="structip__frame.html">ip_frame</a> definition for struct information. <p>Definition at line <a class="el" href="globalvariables_8h-source.html#l00087">87</a> of file <a class="el" href="globalvariables_8h-source.html">globalvariables.h</a>. </td> </tr></table><a name="a8" doxytag="globalvariables.h::send_ip_packet"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> struct <a class="el" href="structip__frame.html">ip_frame</a> send_ip_packet </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Various fields from the IP packet are stored in this structure. These values are filled based on the information supplied by the upper layer protocols (ICMP, UDP, TCP and possibly others) and used to form a correct IP packet (correct filed values, checksum,..). See <a class="el" href="structip__frame.html">ip_frame</a> definition for struct information. <p>Definition at line <a class="el" href="globalvariables_8h-source.html#l00088">88</a> of file <a class="el" href="globalvariables_8h-source.html">globalvariables.h</a>. </td> </tr></table><a name="a9" doxytag="globalvariables.h::received_udp_packet"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> struct <a class="el" href="structudp__frame.html">udp_frame</a> received_udp_packet </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Various fields from the received UDP packet are stored in this variable. See <a class="el" href="structudp__frame.html">udp_frame</a> definition for struct information. <p>Definition at line <a class="el" href="globalvariables_8h-source.html#l00089">89</a> of file <a class="el" href="globalvariables_8h-source.html">globalvariables.h</a>. </td> </tr></table><a name="a10" doxytag="globalvariables.h::received_tcp_packet"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> struct <a class="el" href="structtcp__frame.html">tcp_frame</a> received_tcp_packet </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Various fields from the TCP packet are stored in this variable. These values are then used to perform the necessary actions as defined by the TCP specification: correctnes of the received TCP packet is checked by analyzing these fields, appropriate socket data is adjusted and/or control packet is sent based on it. See <a class="el" href="structtcp__frame.html">tcp_frame</a> definition for struct information. <p>Definition at line <a class="el" href="globalvariables_8h-source.html#l00090">90</a> of file <a class="el" href="globalvariables_8h-source.html">globalvariables.h</a>. </td> </tr></table><hr><address style="align: right;"><small>Generated on Sun Aug 3 20:33:00 2003 for OpenTCP by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -