code: def packet_queue(self, pkt):
          
          
          pkt.pos = 0
          pkt.to_process = pkt.packet_length
          
          self.out_packet.append(pkt)
          return NC.ERR_SUCCESS
docs: Enqueue packet to out_packet queue.