|
Lines 58-77
Link Here
|
| 58 |
This node type supports the generic control messages, plus the |
58 |
This node type supports the generic control messages, plus the |
| 59 |
following: |
59 |
following: |
| 60 |
.Bl -tag -width indent |
60 |
.Bl -tag -width indent |
| 61 |
.It Dv NGM_BPF_GET_STATS |
61 |
.It Dv NGM_HOLE_GET_STATS |
| 62 |
This command takes an |
62 |
This command takes an |
| 63 |
.Tn ASCII |
63 |
.Tn ASCII |
| 64 |
string argument, the hook name, and returns the statistics |
64 |
string argument, the hook name, and returns the statistics |
| 65 |
associated with the hook as a |
65 |
associated with the hook as a |
| 66 |
.Vt "struct ng_hole_hookstat" . |
66 |
.Vt "struct ng_hole_hookstat" . |
| 67 |
.It Dv NGM_BPF_CLR_STATS |
67 |
.It Dv NGM_HOLE_CLR_STATS |
| 68 |
This command takes an |
68 |
This command takes an |
| 69 |
.Tn ASCII |
69 |
.Tn ASCII |
| 70 |
string argument, the hook name, and clears the statistics |
70 |
string argument, the hook name, and clears the statistics |
| 71 |
associated with the hook. |
71 |
associated with the hook. |
| 72 |
.It Dv NGM_BPF_GETCLR_STATS |
72 |
.It Dv NGM_HOLE_GETCLR_STATS |
| 73 |
This command is identical to |
73 |
This command is identical to |
| 74 |
.Dv NGM_BPF_GET_STATS , |
74 |
.Dv NGM_HOLE_GET_STATS , |
| 75 |
except that the statistics are also atomically cleared. |
75 |
except that the statistics are also atomically cleared. |
| 76 |
.El |
76 |
.El |
| 77 |
.Sh SHUTDOWN |
77 |
.Sh SHUTDOWN |