X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/blobdiff_plain/786989941b7b4504f0234c4a318f929802e981ad..5290b9d5791238de2e19ec479087bda6e3c787e2:/common/protocol.h diff --git a/common/protocol.h b/common/protocol.h index 6ffaeb2d..dbb3bea6 100644 --- a/common/protocol.h +++ b/common/protocol.h @@ -1,13 +1,11 @@ /* -*-c-*- - * - * $Id$ * * Protocol definition for TrIPE * * (c) 2003 Straylight/Edgeware */ -/*----- Licensing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of Trivial IP Encryption (TrIPE). * @@ -15,12 +13,12 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * TrIPE is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with TrIPE; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -31,6 +29,8 @@ /*----- TrIPE protocol ----------------------------------------------------*/ +#define TRIPE_PORT 4070 /* Assigned by IANA */ + /* --- TrIPE message format --- * * * A packet begins with a single-byte message type. The top four bits are a