32#ifndef _NETGRAPH_NG_DEFLATE_H_
33#define _NETGRAPH_NG_DEFLATE_H_
36#define NG_DEFLATE_NODE_TYPE "deflate"
37#define NGM_DEFLATE_COOKIE 1166642656
40#define NG_DEFLATE_HOOK_COMP "comp"
41#define NG_DEFLATE_HOOK_DECOMP "decomp"
50#define NG_DEFLATE_CONFIG_INFO { \
51 { "enable", &ng_parse_uint8_type }, \
52 { "windowBits", &ng_parse_uint8_type }, \
67#define NG_DEFLATE_STATS_INFO { \
68 { "FramesPlain",&ng_parse_uint64_type }, \
69 { "FramesComp", &ng_parse_uint64_type }, \
70 { "FramesUncomp", &ng_parse_uint64_type }, \
71 { "InOctets", &ng_parse_uint64_type }, \
72 { "OutOctets", &ng_parse_uint64_type }, \
73 { "Errors", &ng_parse_uint64_type }, \
@ NGM_DEFLATE_GETCLR_STATS