1ipgpc(7ipp) IP Quality of Service Modules ipgpc(7ipp)
2
3
4
6 ipgpc - IP Generic Packet Classifier
7
9 The IP Generic Packet Classifier (ipgpc) module provides packet classi‐
10 fication at the Solaris IP layer. ipgpc is an implementation of the
11 Multi-Field (MF) classifier as described in RFC2475: An Architecture
12 for Differentiated Services.
13
14
15 The classifier is configured, at startup or dynamically, using a set of
16 "filters." Filters describe selectors that are matched against input
17 packets that are processed by the classifier. Some selectors feature
18 exact matching data points, while others utilize non-exact or wildcard
19 data points.
20
21
22 Each filter is associated with a class describing the next actions to
23 process a packet. There is a many-to-one (M-to-1) mapping relationship
24 between filters and a class. Additionally, each class is aware of which
25 filters are associated with it. A class is configured with a class name
26 and a next action.
27
28
29 Unlike traditional classifiers used in edge routers, ipgpc is designed
30 for a host or server device. A host-based classifier provides access to
31 more resources and data than edge routers. User, project, and interface
32 information are available at the host.
33
35 The ipgpc module exports global and per-class statistics (available
36 through kstat:)
37
38
39 Global statistics:
40
41 module: ipgpc instance:<action id>
42 name: ipgpc global stats class: <action name>
43 crtime
44 snaptime
45 nbytes <number of classified bytes>
46 nclasses <number of classes>
47 nfilters <number of filters>
48 npackets <number of classified packets>
49 epackets <number of packets in error>
50
51
52
53 Per-class statistics:
54
55 module: ipgpc instance:<action id>
56 name: <class name> class: <action name>
57 crtime
58 snaptime
59 last match <time of last match>
60 nbytes <number of classified bytes>
61 npackets <number of classified packets>
62
63
65 /kernel/ipp/sparcv9/ipgpc 64-bit module (SPARC only.)
66
67
69 See attributes(5) for descriptions of the following attributes:
70
71
72
73
74 ┌─────────────────────────────┬─────────────────────────────┐
75 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
76 ├─────────────────────────────┼─────────────────────────────┤
77 │Availability │SUNWqos │
78 └─────────────────────────────┴─────────────────────────────┘
79
81 ipqosconf(1M), dlcosmk(7ipp), dscpmk(7ipp), flowacct(7ipp),
82 ipqos(7ipp), tokenmt(7ipp), tswtclmt(7ipp)
83
84
85 RFC 2475, An Architecture for Differentiated Services S. Blake, D.
86 Black, M. Carlson, E. Davies, Z. Wang, W. Weiss — The Internet Society,
87 1998
88
89
90
91SunOS 5.11 29 Sep 2004 ipgpc(7ipp)