143 lines
2.5 KiB
HTML
143 lines
2.5 KiB
HTML
|
<HTML>
|
||
|
<!-- THIS FILE IS GENERATED FROM ANOTHER SOURCE FILE -->
|
||
|
<HEAD>
|
||
|
<TITLE>IPPacket</TITLE>
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="ffffff">
|
||
|
<DL>
|
||
|
<DT><H1>IPPacket</H1></DT>
|
||
|
<DD>
|
||
|
|
||
|
A packet carrying IP header.
|
||
|
</DD>
|
||
|
<DT><H2>Super Class:</H2></DT>
|
||
|
<DD><DL><DT><A HREF="Packet.html"><CODE>Packet</CODE></A></DT></DL></DD>
|
||
|
<DT><H2>Methods:</H2></DT>
|
||
|
<DL COMPACT>
|
||
|
<DT>
|
||
|
<A NAME="ip_data"><CODE>ip_data</CODE></A>
|
||
|
<DD>
|
||
|
<p>
|
||
|
|
||
|
Return data part as <A HREF="http://www.ruby-lang.org/en/man-1.4/String.html"><CODE>String</CODE></A>.
|
||
|
</p>
|
||
|
<DT>
|
||
|
<A NAME="ip_df?"><CODE>ip_df?</CODE></A>
|
||
|
<DD>
|
||
|
<p>
|
||
|
|
||
|
Return <CODE>true</CODE> if Don't Fragment bit is set.
|
||
|
</p>
|
||
|
<DT>
|
||
|
<A NAME="ip_dst"><CODE>ip_dst</CODE></A>
|
||
|
<DD>
|
||
|
<DT>
|
||
|
<A NAME="dst"><CODE>dst</CODE></A>
|
||
|
<DD>
|
||
|
<p>
|
||
|
|
||
|
Return destination IP address as <A HREF="IPAddress.html"><CODE>IPAddress</CODE></A>.
|
||
|
</p>
|
||
|
<DT>
|
||
|
<A NAME="ip_flags"><CODE>ip_flags</CODE></A>
|
||
|
<DD>
|
||
|
<p>
|
||
|
|
||
|
Return the value of 3-bits IP flag field.
|
||
|
</p>
|
||
|
<DT>
|
||
|
<A NAME="ip_hlen"><CODE>ip_hlen</CODE></A>
|
||
|
<DD>
|
||
|
<p>
|
||
|
|
||
|
Return header length. (Unit: 4 octets)
|
||
|
</p>
|
||
|
<DT>
|
||
|
<A NAME="ip_id"><CODE>ip_id</CODE></A>
|
||
|
<DD>
|
||
|
<p>
|
||
|
|
||
|
Return identification.
|
||
|
</p>
|
||
|
<DT>
|
||
|
<A NAME="ip_len"><CODE>ip_len</CODE></A>
|
||
|
<DD>
|
||
|
<p>
|
||
|
|
||
|
Return total length.
|
||
|
</p>
|
||
|
<DT>
|
||
|
<A NAME="ip_mf?"><CODE>ip_mf?</CODE></A>
|
||
|
<DD>
|
||
|
<p>
|
||
|
|
||
|
Return <CODE>true</CODE> if More Fragment bit is set.
|
||
|
</p>
|
||
|
<DT>
|
||
|
<A NAME="ip_off"><CODE>ip_off</CODE></A>
|
||
|
<DD>
|
||
|
<p>
|
||
|
|
||
|
Return fragment offset.
|
||
|
</p>
|
||
|
<DT>
|
||
|
<A NAME="ip_proto"><CODE>ip_proto</CODE></A>
|
||
|
<DD>
|
||
|
<p>
|
||
|
|
||
|
Return the value of protocol field.
|
||
|
</p>
|
||
|
<DT>
|
||
|
<A NAME="ip_src"><CODE>ip_src</CODE></A>
|
||
|
<DD>
|
||
|
<DT>
|
||
|
<A NAME="src"><CODE>src</CODE></A>
|
||
|
<DD>
|
||
|
<p>
|
||
|
|
||
|
Return source IP address as <A HREF="IPAddress.html"><CODE>IPAddress</CODE></A>.
|
||
|
</p>
|
||
|
<DT>
|
||
|
<A NAME="ip_sum"><CODE>ip_sum</CODE></A>
|
||
|
<DD>
|
||
|
<p>
|
||
|
|
||
|
Return the value of checksum field.
|
||
|
</p>
|
||
|
<DT>
|
||
|
<A NAME="ip_tos"><CODE>ip_tos</CODE></A>
|
||
|
<DD>
|
||
|
<p>
|
||
|
|
||
|
Return the value of TOS field.
|
||
|
</p>
|
||
|
<DT>
|
||
|
<A NAME="ip_ttl"><CODE>ip_ttl</CODE></A>
|
||
|
<DD>
|
||
|
<p>
|
||
|
|
||
|
Return TTL.
|
||
|
</p>
|
||
|
<DT>
|
||
|
<A NAME="ip_ver"><CODE>ip_ver</CODE></A>
|
||
|
<DD>
|
||
|
<p>
|
||
|
|
||
|
Return IP version.
|
||
|
</p>
|
||
|
<DT>
|
||
|
<A NAME="to_s"><CODE>to_s</CODE></A>
|
||
|
<DD>
|
||
|
<p>
|
||
|
|
||
|
Return string representation.
|
||
|
</p>
|
||
|
</DL>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
<P ALIGN="RIGHT">
|
||
|
<A HREF="mailto:fukusima@goto.info.waseda.ac.jp">fukusima@goto.info.waseda.ac.jp</A><BR>
|
||
|
</P>
|
||
|
</BODY>
|
||
|
</HTML>
|