Show Table of Contents
3.8. net_cls
net_cls 서브시스템은 네트워크 패킷을 클래스 식별자(classid)로 태그하여 Linux 트래픽 컨트롤러 (tc)가 특정 cgroup에서 발생하는 패킷들을 식별할 수 있게 합니다. 트래픽 컨트롤러는 서로 다른 cgroup에서 발생하는 패킷에 대해 다른 우선 순위를 할당하도록 설정할 수 있습니다.
- net_cls.classid
net_cls.classid에는 트래픽 컨트롤 핸들(handle)을 표시하는 16진수 값이 포함되어 있습니다. 예를 들어0x100001은 iproute2에 의해 사용되는 형식에서 핸들을10:1라고 쓰기도 합니다.이러한 핸들 형식은0xAAAABBBB입니다. 여기서 AAAA는 16 진수의 주 번호이고 BBBB는 16 진수의 부 번호입니다. 또한 선행 0을 생략할 수 있으며0x10001은0x00010001과 같고1:1을 나타냅니다.
tc의 매뉴얼 페이지(man page)를 참조해서 트래픽 컨트롤러를
net_cls가 네트워크 패킷에 추가하는 핸들을 활용하도록 설정하는 방법을 배우십시오.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.