Subject: Dupilicate a packet in kernel
To: None <tech-net@netbsd.org>
From: Ruibiao Qiu <ruibiao@arl.wustl.edu>
List: tech-net
Date: 01/11/2001 12:32:11
Hi, all

I want to duplicate a packet in atm_input().  The received packet
is passed as an mbuf pointer.  Is m_copypacket() the right
function to do the job?  Do I need to allocate mbuf myself, or it
is done by m_copypacket()?  Thanks.

          Regards

            Ruibiao

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
   Ruibiao Qiu                      ruibiao@arl.wustl.edu
   Research Assistant               ruibiao@cs.wustl.edu
   Applied Research Laboratory      rq1@cec.wustl.edu
   Department of Computer Science   ruibiao@acm.org
   Washington University            http://www.arl.wustl.edu/~ruibiao
   Campus Box 1045                  http://www.cs.wustl.edu/~ruibiao
   One Brookings Drive              Tel. (314)935-4163
   St. Louis, MO 63130-4899 USA     Fax  (314)935-7302
\____________________________________________________________________/