Re: [Diffserv] APIs for diffserv

Jukka MJ Manner <jmanner@cs.Helsinki.FI> Wed, 16 October 2002 07:07 UTC

Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA20598 for <diffserv-archive@odin.ietf.org>; Wed, 16 Oct 2002 03:07:54 -0400 (EDT)
Received: (from mailnull@localhost) by www1.ietf.org (8.11.6/8.11.6) id g9G79j114470 for diffserv-archive@odin.ietf.org; Wed, 16 Oct 2002 03:09:45 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9G6skv13174; Wed, 16 Oct 2002 02:54:46 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9G6fKv12736 for <diffserv@optimus.ietf.org>; Wed, 16 Oct 2002 02:41:20 -0400
Received: from porsta.cs.Helsinki.FI (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA19931 for <diffserv@ietf.org>; Wed, 16 Oct 2002 02:38:59 -0400 (EDT)
Received: from melkinpaasi.cs.Helsinki.FI (IDENT:jmanner@melkinpaasi.cs.Helsinki.FI [128.214.10.13]) by porsta.cs.Helsinki.FI (8.11.6/8.11.6) with ESMTP id g9G6bmo17930; Wed, 16 Oct 2002 09:37:48 +0300
Date: Wed, 16 Oct 2002 09:37:47 +0300 (EEST)
From: Jukka MJ Manner <jmanner@cs.Helsinki.FI>
To: Thomas Narten <narten@us.ibm.com>
cc: diffserv@ietf.org, <ipng@sunroof.eng.sun.com>
Subject: Re: [Diffserv] APIs for diffserv
In-Reply-To: <200210151342.g9FDgF122300@rotala.raleigh.ibm.com>
Message-ID: <Pine.LNX.4.44.0210160929350.5018-100000@melkinpaasi.cs.Helsinki.FI>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: diffserv-admin@ietf.org
Errors-To: diffserv-admin@ietf.org
X-BeenThere: diffserv@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/diffserv>, <mailto:diffserv-request@ietf.org?subject=unsubscribe>
List-Id: Diffserv Discussion List <diffserv.ietf.org>
List-Post: <mailto:diffserv@ietf.org>
List-Help: <mailto:diffserv-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/diffserv>, <mailto:diffserv-request@ietf.org?subject=subscribe>

	Hi, a quick answer, 


On Tue, 15 Oct 2002, Thomas Narten wrote:

> 3) What about APIs for IPv4? Aren't they needed too?

  (On Linux) The application can use:

  setsockopt(fd,IPPROTO_IP,IP_TOS, &optval, sizeof(optval));

  where optval includes the DSCP value to be used. The "IPTOS_TOS_MASK"  
is used to mask bits out, eg. the ECN bits.


	Regards,

	Jukka

Research Scient
Department of Computer Science
University of Helsinki, Finland
http://www.cs.Helsinki.Fi/u/jmanner/

_______________________________________________
diffserv mailing list
diffserv@ietf.org
https://www1.ietf.org/mailman/listinfo/diffserv
Archive: http://www.ietf.org/mail-archive/working-groups/diffserv/current/maillist.html