The DiffServ model allows transit nodes in a DS domain to check and modify the IP precedence, DSCP, or EXP value, which is called the class of service (CoS). Therefore, the CoS value may vary during packet transmission.
Carriers need to determine whether to trust the CoS information in an IP or MPLS packet that is entering an MPLS network or is leaving an MPLS network for an IP network. Relevant standards define three modes for processing the CoS: Uniform, Pipe, and Short Pipe.