diff options
author | ae <ae@FreeBSD.org> | 2010-06-10 16:45:30 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2010-06-10 16:45:30 +0000 |
commit | c2cccc78fe9cc4c3e971806f8c5ce77d16a4bd39 (patch) | |
tree | 8754c26ec34c9248c9f1d1f9691f3f095d914c20 /sys/netgraph/ng_patch.h | |
parent | b8bbab8130e4fa97a4817c591bac675626df8a60 (diff) | |
download | FreeBSD-src-c2cccc78fe9cc4c3e971806f8c5ce77d16a4bd39.zip FreeBSD-src-c2cccc78fe9cc4c3e971806f8c5ce77d16a4bd39.tar.gz |
Style(9) fixes:
* Sort includes
* Replace #define<SPACE> to #define<TAB>
* Split declarations and initializations
* Split long lines
Requested by: kib
Approved by: kib (mentor)
MFC after: 1 month
Diffstat (limited to 'sys/netgraph/ng_patch.h')
-rw-r--r-- | sys/netgraph/ng_patch.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/netgraph/ng_patch.h b/sys/netgraph/ng_patch.h index fedde07..28d9033 100644 --- a/sys/netgraph/ng_patch.h +++ b/sys/netgraph/ng_patch.h @@ -30,14 +30,14 @@ #define _NETGRAPH_NG_PATCH_H_ /* Node type name. */ -#define NG_PATCH_NODE_TYPE "patch" +#define NG_PATCH_NODE_TYPE "patch" /* Node type cookie. */ -#define NGM_PATCH_COOKIE 1262445509 +#define NGM_PATCH_COOKIE 1262445509 /* Hook names */ -#define NG_PATCH_HOOK_IN "in" -#define NG_PATCH_HOOK_OUT "out" +#define NG_PATCH_HOOK_IN "in" +#define NG_PATCH_HOOK_OUT "out" /* Netgraph commands understood by this node type */ enum { @@ -70,7 +70,7 @@ struct ng_patch_op { uint16_t mode; }; -#define NG_PATCH_OP_TYPE_INFO { \ +#define NG_PATCH_OP_TYPE_INFO { \ { "value", &ng_parse_uint64_type }, \ { "offset", &ng_parse_uint32_type }, \ { "length", &ng_parse_uint16_type }, \ @@ -84,7 +84,7 @@ struct ng_patch_config { struct ng_patch_op ops[]; }; -#define NG_PATCH_CONFIG_TYPE_INFO { \ +#define NG_PATCH_CONFIG_TYPE_INFO { \ { "count", &ng_parse_uint32_type }, \ { "csum_flags", &ng_parse_uint32_type }, \ { "ops", &ng_patch_confarr_type }, \ @@ -97,7 +97,7 @@ struct ng_patch_stats { uint64_t dropped; }; -#define NG_PATCH_STATS_TYPE_INFO { \ +#define NG_PATCH_STATS_TYPE_INFO { \ { "received", &ng_parse_uint64_type }, \ { "patched", &ng_parse_uint64_type }, \ { "dropped", &ng_parse_uint64_type }, \ |