Re: APIs for diffserv

Jukka MJ Manner <[email protected]> Wed, 16 Oct 2002 09:37:47 +0300 (EEST)
Newsgroups gmane.ietf.diffserv,gmane.ietf.ipv6
Message-ID <Pine.LNX.4.44.0210160929350.5018-100000@melkinpaasi.cs.Helsinki.FI>
	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
[email protected]
https://www1.ietf.org/mailman/listinfo/diffserv
Archive: http://www.ietf.org/mail-archive/working-groups/diffserv/current/maillist.html