diff options
author | Andrey V. Elsukov <ae@FreeBSD.org> | 2010-06-10 16:45:30 +0000 |
---|---|---|
committer | Andrey V. Elsukov <ae@FreeBSD.org> | 2010-06-10 16:45:30 +0000 |
commit | 6c0a2eb136920ba1c3894d2bdb17bc39f4896cb1 (patch) | |
tree | 8754c26ec34c9248c9f1d1f9691f3f095d914c20 /sys/netgraph/ng_patch.h | |
parent | 1f255bd340912ced4cf5d84b3cca10f78f1142e5 (diff) | |
download | src-6c0a2eb136920ba1c3894d2bdb17bc39f4896cb1.tar.gz src-6c0a2eb136920ba1c3894d2bdb17bc39f4896cb1.zip |
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
Notes
Notes:
svn path=/head/; revision=208989
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 fedde079cf8a..28d90337a41a 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 }, \ |