xref: /titanic_44/usr/src/man/man7ipp/dscpmk.7ipp (revision db8b037b5616a366b7dfdc01ef9552f02f9adfdd)
te
Copyright (c) 2003, Sun Microsystems Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
DSCPMK 7IPP "Sep 29, 2004"
NAME
dscpmk - Differentiated Services Code Point Marker
DESCRIPTION

The dscpmk marker is an action module that is executed as a result of classifying or metering packets. It sets a codepoint in the IP header as defined in RFC-2474: Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers.

STATISTICS

The dscpmk module exports the following statistics available through kstat:

Global statistics:

module: dscpmk instance: <action id>
 name: dscpmk stats class <action name>
 crtime
 snaptime
 npackets <number of packets>
 epackets <number of packets in error>
 ipackets <number of packets not processed>
 dscp_unchanged <number of packets with DSCP unchanged>
 dscp_changed <number of packets with DSCP changed>

Also, for each DSCP the following is exported:
 module: dscpmk instance: <action id>
 name: dscpmk_dscp0x<DSCP> value class: <action name>
 dscp <DSCP value>
 npackets <number of packets for this DSCP>
FILES
/kernel/ipp/sparcv9/dscpmk

64-bit module (SPARC only.)

SEE ALSO

ipqosconf(1M), dlcosmk(7ipp), flowacct(7ipp), ipqos(7ipp), ipgpc(7ipp), tokenmt(7ipp), tswtclmt(7ipp)

RFC 2474, Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers K. Nichols, S. Blake, F. Baker, D. Black \(em The Internet Society, 1998