From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: Initial SCTP support for the upcoming 1.6.5 release Date: Mon, 16 Aug 2004 10:40:17 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87657jc3v2.fsf@zip.com.au> References: <28C61BE4-EB92-11D8-9129-000D932C78D8@lurchi.franken.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1092616870 18113 80.91.224.253 (16 Aug 2004 00:41:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 Aug 2004 00:41:10 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Aug 16 02:41:00 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BwVYa-0003u7-00 for ; Mon, 16 Aug 2004 02:41:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BwVcf-0005ty-Ac for guile-devel@m.gmane.org; Sun, 15 Aug 2004 20:45:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BwVcS-0005tq-4O for guile-devel@gnu.org; Sun, 15 Aug 2004 20:45:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BwVcQ-0005tO-Vw for guile-devel@gnu.org; Sun, 15 Aug 2004 20:44:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BwVcQ-0005tL-TJ for guile-devel@gnu.org; Sun, 15 Aug 2004 20:44:58 -0400 Original-Received: from [61.8.0.85] (helo=mailout2.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BwVY7-0008VA-MB for guile-devel@gnu.org; Sun, 15 Aug 2004 20:40:32 -0400 Original-Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87]) by mailout2.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id i7G0eRje003303; Mon, 16 Aug 2004 10:40:27 +1000 Original-Received: from localhost (ppp26B7.dyn.pacific.net.au [61.8.38.183]) by mailproxy2.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id i7G0eQBW027603; Mon, 16 Aug 2004 10:40:26 +1000 Original-Received: from gg by localhost with local (Exim 3.36 #1 (Debian)) id 1BwVXv-0000Ih-00; Mon, 16 Aug 2004 10:40:19 +1000 Original-To: Michael Tuexen Mail-Copies-To: never In-Reply-To: (Michael Tuexen's message of "Sat, 14 Aug 2004 11:59:48 +0200") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:3959 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3959 Michael Tuexen writes: > > Is there a possibility to include > > #ifdef SOCK_SEQPACKET > scm_c_define ("SOCK_SEQPACKET", SCM_MAKINUM (SOCK_SEQPACKET)); > #endif I imagine so. > /* protocol numbers */ > #ifdef IPPROTO_SCTP > scm_c_define ("IPPROTO_SCTP", SCM_MAKINUM (IPPROTO_SCTP)); > #endif > > #ifdef IPPROTO_TCP > scm_c_define ("IPPROTO_TCP", SCM_MAKINUM (IPPROTO_TCP)); > #endif > > #ifdef IPPROTO_UDP > scm_c_define ("IPPROTO_UDP", SCM_MAKINUM (IPPROTO_UDP)); > #endif No, I think "man 5 protocols" advises using /etc/protocols, not hard coding numbers. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel