xref: /illumos-gate/usr/src/man/man4ipp/dscpmk.4ipp (revision 2570281cf351044b6936651ce26dbe1f801dcbd8)
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 4IPP "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

dlcosmk (4IPP), flowacct (4IPP), ipgpc (4IPP), ipqos (4IPP), tokenmt (4IPP), tswtclmt (4IPP), ipqosconf (8)

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