148 lines
4.1 KiB
HTML
148 lines
4.1 KiB
HTML
|
<HTML>
|
|||
|
<!-- THIS FILE IS GENERATED FROM ANOTHER SOURCE FILE -->
|
|||
|
<HEAD>
|
|||
|
<TITLE>Capture</TITLE>
|
|||
|
</HEAD>
|
|||
|
<BODY BGCOLOR="ffffff">
|
|||
|
<DL>
|
|||
|
<DT><H1>Capture</H1></DT>
|
|||
|
<DD>
|
|||
|
|
|||
|
<20>ѥ<EFBFBD><D1A5>åȥ<C3A5><C8A5><EFBFBD><EFBFBD>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD><EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</DD>
|
|||
|
<DT><H2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>饹:</H2></DT>
|
|||
|
<DD><DL><DT><A HREF="http://www.ruby-lang.org/ja/man-1.4/Object.html"><CODE>Object</CODE></A></DT></DL></DD>
|
|||
|
<DT><H2><EFBFBD><EFBFBD><EFBFBD>롼<EFBFBD>ɤ<EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>⥸<EFBFBD>塼<EFBFBD><EFBFBD>:</H2></DT>
|
|||
|
<DL>
|
|||
|
<DT><A HREF="http://www.ruby-lang.org/ja/man-1.4/Enum.html"><CODE>Enumerable</CODE></A></DT>
|
|||
|
</DL>
|
|||
|
<DT><H2><EFBFBD><EFBFBD><EFBFBD>饹<EFBFBD><EFBFBD>å<EFBFBD>:</H2></DT>
|
|||
|
<DL COMPACT>
|
|||
|
<DT>
|
|||
|
<A NAME=".open_live"><CODE>open_live(<var>device</var>[, <var>snaplen</var>[, <var>promisc</var>[, <var>to_ms</var>]]])</CODE></A>
|
|||
|
<DD>
|
|||
|
<p>
|
|||
|
|
|||
|
<20>ǥХ<C7A5><D0A5><EFBFBD><EFBFBD><EFBFBD><F2A5AAA1>ץ<D7A5> <CODE>Capture</CODE> <20><><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4><EFBFBD>
|
|||
|
<20><><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
<VAR>snaplen</VAR>, <VAR>promisc</VAR>,
|
|||
|
<VAR>to_ms</VAR> <20>Υǥե<C7A5><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͤϤ<CDA4><CFA4>줾<EFBFBD><ECA4BE> 68 <20><><EFBFBD><EFBFBD><EFBFBD>ƥå<C6A5>,
|
|||
|
<CODE>true</CODE>, 1000 <20>ߥ<EFBFBD><DFA5>äǤ<C3A4><C7A4><EFBFBD>
|
|||
|
</p>
|
|||
|
<DT>
|
|||
|
<A NAME=".open_offline"><CODE>open_offline(<var>filename</var>)</CODE></A>
|
|||
|
<DD>
|
|||
|
<p>
|
|||
|
|
|||
|
<VAR>filename</VAR> <20>ǻ<EFBFBD><C7BB>ꤵ<EFBFBD>줿<EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><F2A5AAA1>ץ<D7A5>
|
|||
|
<CODE>Capture</CODE><EFBFBD><EFBFBD><EFBFBD>֥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD>֤<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</p>
|
|||
|
</DL>
|
|||
|
<DT><H2><EFBFBD><EFBFBD>å<EFBFBD>:</H2></DT>
|
|||
|
<DL COMPACT>
|
|||
|
<DT>
|
|||
|
<A NAME="close"><CODE>close</CODE></A>
|
|||
|
<DD>
|
|||
|
<p>
|
|||
|
|
|||
|
<CODE>Capture</CODE><EFBFBD><EFBFBD><EFBFBD>֥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</p>
|
|||
|
<DT>
|
|||
|
<A NAME="datalink"><CODE>datalink</CODE></A>
|
|||
|
<DD>
|
|||
|
<p>
|
|||
|
|
|||
|
<20>ǡ<EFBFBD><C7A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Υ<F3A5AFA4><CEA5><EFBFBD><EFBFBD>פ<EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><D6A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
(<A HREF="Pcap.html#::DLT_EN10MB"><CODE>DLT_EN10MB</CODE></A> <20><>)
|
|||
|
</p>
|
|||
|
<DT>
|
|||
|
<A NAME="dispatch"><CODE>dispatch([<var>count</var>]) {|<var>packet</var>|...}</CODE></A>
|
|||
|
<DD>
|
|||
|
<p>
|
|||
|
|
|||
|
<P>
|
|||
|
|
|||
|
<20>ƥѥ<C6A5><D1A5>åȤ<C3A5><C8A4>Ф<EFBFBD><D0A4>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD>֤<EFBFBD><D6A4>ޤ<EFBFBD><DEA4><EFBFBD><EFBFBD>֥<EFBFBD><D6A5>å<EFBFBD><C3A5>ˤ<EFBFBD>
|
|||
|
<A HREF="Packet.html"><CODE>Packet</CODE></A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Υ<EFBFBD><EFBFBD>֥<EFBFBD><EFBFBD>饹<EFBFBD>Υ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</P>
|
|||
|
|
|||
|
<P>
|
|||
|
|
|||
|
<VAR>count</VAR> <20>ˤϽ<CBA4><CFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѥ<EFBFBD><D1A5>åȤκ<C8A4><CEBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꤷ<EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
<VAR>count</VAR> <20><> -1 <20><><EFBFBD><EFBFBD><EFBFBD>ꤹ<EFBFBD><EAA4B9><EFBFBD>ȥХåե<C3A5><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>äƤ<C3A4><C6A4><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<20><><EFBFBD>å<EFBFBD><C3A5><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD><VAR>count</VAR> <20><> 0 <20><><EFBFBD><EFBFBD><EFBFBD>ꤹ<EFBFBD><EAA4B9><EFBFBD><EFBFBD>
|
|||
|
<20><><EFBFBD>顼<EFBFBD><E9A1BC><EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ν<EFBFBD><CEBD><EFBFBD><EFBFBD>꤫<EFBFBD><EAA4AB><EFBFBD><EFBFBD><EFBFBD>ॢ<EFBFBD><E0A5A2><EFBFBD>Ȥ<EFBFBD>ã<EFBFBD><C3A3><EFBFBD><EFBFBD><EFBFBD>ޤǥѥ<C7A5><D1A5>å<EFBFBD>
|
|||
|
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
<VAR>count</VAR> <20>Υǥե<C7A5><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͤ<EFBFBD> -1 <20>Ǥ<EFBFBD><C7A4><EFBFBD>
|
|||
|
</P>
|
|||
|
|
|||
|
</p>
|
|||
|
<DT>
|
|||
|
<A NAME="each_packet"><CODE>each_packet([<var>count</var>]) {|<var>packet</var>|...}</CODE></A>
|
|||
|
<DD>
|
|||
|
<DT>
|
|||
|
<A NAME="each"><CODE>each([<var>count</var>]) {|<var>packet</var>|...}</CODE></A>
|
|||
|
<DD>
|
|||
|
<DT>
|
|||
|
<A NAME="loop"><CODE>loop([<var>count</var>]) {|<var>packet</var>|...}</CODE></A>
|
|||
|
<DD>
|
|||
|
<p>
|
|||
|
|
|||
|
<P>
|
|||
|
|
|||
|
<20>ƥѥ<C6A5><D1A5>åȤ<C3A5><C8A4>Ф<EFBFBD><D0A4>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD>֤<EFBFBD><D6A4>ޤ<EFBFBD><DEA4><EFBFBD><EFBFBD>֥<EFBFBD><D6A5>å<EFBFBD><C3A5>ˤ<EFBFBD>
|
|||
|
<A HREF="Packet.html"><CODE>Packet</CODE></A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Υ<EFBFBD><EFBFBD>֥<EFBFBD><EFBFBD>饹<EFBFBD>Υ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</P>
|
|||
|
|
|||
|
<P>
|
|||
|
|
|||
|
<VAR>count</VAR> <20>ˤϽ<CBA4><CFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѥ<EFBFBD><D1A5>åȤκ<C8A4><CEBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꤷ<EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
<VAR>count</VAR> <20><><EFBFBD><EFBFBD><EFBFBD>ο<EFBFBD><CEBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꤹ<EFBFBD><EAA4B9><EFBFBD>ȥ<EFBFBD><C8A5>顼<EFBFBD><E9A1BC><EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ν<EFBFBD><CEBD><EFBFBD>
|
|||
|
<20><><EFBFBD><EFBFBD>ã<EFBFBD><C3A3><EFBFBD><EFBFBD><EFBFBD>ޤǥѥ<C7A5><D1A5>åȤ<C3A5><C8A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD><VAR>count</VAR> <20>Υǥե<C7A5>
|
|||
|
<20><><EFBFBD><EFBFBD><EFBFBD>ͤ<EFBFBD> -1 <20>Ǥ<EFBFBD><C7A4><EFBFBD>
|
|||
|
</P>
|
|||
|
|
|||
|
</p>
|
|||
|
<DT>
|
|||
|
<A NAME="snapshot"><CODE>snapshot</CODE></A>
|
|||
|
<DD>
|
|||
|
<DT>
|
|||
|
<A NAME="snaplen"><CODE>snaplen</CODE></A>
|
|||
|
<DD>
|
|||
|
<p>
|
|||
|
|
|||
|
snapshot <20><>Ĺ<EFBFBD><C4B9><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><D6A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
</p>
|
|||
|
<DT>
|
|||
|
<A NAME="setfilter"><CODE>setfilter(<var>filter</var>[, <var>optimize</var>])</CODE></A>
|
|||
|
<DD>
|
|||
|
<p>
|
|||
|
|
|||
|
<VAR>filter</VAR> <20>ǻ<EFBFBD><C7BB>ꤵ<EFBFBD>줿ʸ<ECA4BF><CAB8><EFBFBD>ޤ<F3A1A2A4><DEA4><EFBFBD><A HREF="Filter.html"><CODE>Filter</CODE></A><EFBFBD><EFBFBD>
|
|||
|
<20>ե<EFBFBD><D5A5>륿<EFBFBD>Ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꤷ<EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
<VAR>optimize</VAR> <20><> <CODE>true</CODE> <20>ξ<EFBFBD><CEBE><EFBFBD><EFBFBD>Ϻ<EFBFBD>Ŭ<EFBFBD><C5AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<20><><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD><VAR>optimize</VAR> <20>Υǥե<C7A5><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͤ<EFBFBD>
|
|||
|
<CODE>true</CODE> <20>Ǥ<EFBFBD><C7A4><EFBFBD>
|
|||
|
</p>
|
|||
|
<DT>
|
|||
|
<A NAME="stats"><CODE>stats</CODE></A>
|
|||
|
<DD>
|
|||
|
<p>
|
|||
|
|
|||
|
<20>ѥ<EFBFBD><D1A5>åȥ<C3A5><C8A5><EFBFBD><EFBFBD>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD>ˤĤ<CBA4><C4A4>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD>פ<EFBFBD><D7A4>ޤ<EFBFBD> <A HREF="http://www.ruby-lang.org/ja/man-1.4/Struct.html"><CODE>Struct</CODE></A>
|
|||
|
<20><><EFBFBD>֤<EFBFBD><D6A4>ޤ<EFBFBD><DEA4><EFBFBD><EFBFBD><EFBFBD>¤<EFBFBD>Τϰʲ<CFB0><CAB2>Υ<EFBFBD><CEA5><EFBFBD><EFBFBD>Ф<EFBFBD><D0A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
<BLOCKQUOTE>
|
|||
|
<DL COMPACT>
|
|||
|
<DT><CODE>recv</CODE></DT><DD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѥ<EFBFBD><EFBFBD>åȤο<EFBFBD></DD><DT><CODE>drop</CODE></DT><DD><EFBFBD><EFBFBD><EFBFBD>ꤳ<EFBFBD>ܤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѥ<EFBFBD><EFBFBD>åȤο<EFBFBD></DD></DL>
|
|||
|
</BLOCKQUOTE>
|
|||
|
|
|||
|
</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>
|