Commit aba36da1 authored by Mike Perry's avatar Mike Perry
Browse files

fixup! TOR_VEGAS: Implement Prop#324 TOR_VEGAS.

Header and guardrails rename
parent 53fd8df7
Pipeline #10024 passed with stage
in 18 minutes and 24 seconds
......@@ -2,12 +2,12 @@
/* See LICENSE for licensing information */
/**
* \file sendme_vegas.c
* \file congestion_control_vegas.c
* \brief Code that implements the TOR_VEGAS congestion control algorithm
* from Proposal #324.
*/
#define SENDME_VEGAS_PRIVATE
#define TOR_CONGESTION_CONTROL_VEGAS_PRIVATE
#include "core/or/or.h"
......
......@@ -2,12 +2,12 @@
/* See LICENSE for licensing information */
/**
* \file sendme_vegas.h
* \brief Header file for sendme_vegas.c.
* \file congestion_control_vegas.h
* \brief Private-ish APIs for the TOR_VEGAS congestion control algorithm
**/
#ifndef TOR_SENDME_VEGAS_H
#define TOR_SENDME_VEGAS_H
#ifndef TOR_CONGESTION_CONTROL_VEGAS_H
#define TOR_CONGESTION_CONTROL_VEGAS_H
#include "core/or/crypt_path_st.h"
#include "core/or/circuit_st.h"
......@@ -19,7 +19,7 @@ int congestion_control_vegas_process_sendme(struct congestion_control_t *cc,
void congestion_control_vegas_set_params(struct congestion_control_t *cc);
/* Private section starts. */
#ifdef SENDME_VEGAS_PRIVATE
#ifdef TOR_CONGESTION_CONTROL_VEGAS_PRIVATE
/*
* Unit tests declaractions.
......@@ -28,6 +28,6 @@ void congestion_control_vegas_set_params(struct congestion_control_t *cc);
#endif /* defined(TOR_UNIT_TESTS) */
#endif /* defined(SENDME_VEGAS_PRIVATE) */
#endif /* defined(TOR_CONGESTION_CONTROL_VEGAS_PRIVATE) */
#endif /* !defined(TOR_SENDME_VEGAS_H) */
#endif /* !defined(TOR_CONGESTION_CONTROL_VEGAS_H) */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment