X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=dccp.c;h=f5f940a665d1d4c160bd3b312f09c61c5e815ce5;hb=d2e164526bed7f523043b7e4ec5bd282d5bc6f19;hp=94cd7957bf9bbbb98685ee0f6338354f2a8fad45;hpb=523373e162230670cd9ce8adc51c07ea204e6ad7;p=paraslash.git diff --git a/dccp.c b/dccp.c index 94cd7957..f5f940a6 100644 --- a/dccp.c +++ b/dccp.c @@ -1,19 +1,7 @@ /* - * Copyright (C) 2006 Andre Noll + * Copyright (C) 2006-2007 Andre Noll * - * This program is free software; you can redistribute it and/or modify - * 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. - * - * This program 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 this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Licensed under the GPL v2. For licencing details see COPYING. */ /** \file dccp.c common functions of the dccp sender/receiver */ @@ -23,15 +11,14 @@ * (C) 2005 Ian McDonald */ +#include +#include + #include "para.h" #include "error.h" #include "dccp.h" #include "fd.h" - -/** \cond some magic dccp constants */ -#define SOCK_DCCP 6 -#define IPPROTO_DCCP 33 -/** \endcond */ +#include "net.h" /** * obtain a dccp socket for sending/receiving