summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_sample.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2005-02-06 19:24:59 +0000
committerglebius <glebius@FreeBSD.org>2005-02-06 19:24:59 +0000
commit27c3b2cdeb8767d1005014d7133f28c7aa82ed54 (patch)
tree70d9995118a7304b406db560c006d1c7ee582ac6 /sys/netgraph/ng_sample.c
parenta2ee64ab109506a4d963d81d5e1b6a9e553635c4 (diff)
downloadFreeBSD-src-27c3b2cdeb8767d1005014d7133f28c7aa82ed54.zip
FreeBSD-src-27c3b2cdeb8767d1005014d7133f28c7aa82ed54.tar.gz
Whitespace.
Diffstat (limited to 'sys/netgraph/ng_sample.c')
-rw-r--r--sys/netgraph/ng_sample.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/netgraph/ng_sample.c b/sys/netgraph/ng_sample.c
index 23469f3..63b3f0b 100644
--- a/sys/netgraph/ng_sample.c
+++ b/sys/netgraph/ng_sample.c
@@ -121,9 +121,9 @@ NETGRAPH_INIT(xxx, &typestruct);
/* Information we store for each hook on each node */
struct XXX_hookinfo {
- int dlci; /* The DLCI it represents, -1 == downstream */
- int channel; /* The channel representing this DLCI */
- hook_p hook;
+ int dlci; /* The DLCI it represents, -1 == downstream */
+ int channel; /* The channel representing this DLCI */
+ hook_p hook;
};
/* Information we store for each node */
@@ -269,7 +269,7 @@ ng_xxx_rcvmsg(node_p node, item_p item, hook_p lasthook)
NGI_GET_MSG(item, msg);
/* Deal with message according to cookie and command */
switch (msg->header.typecookie) {
- case NGM_XXX_COOKIE:
+ case NGM_XXX_COOKIE:
switch (msg->header.cmd) {
case NGM_XXX_GET_STATUS:
{
@@ -322,7 +322,7 @@ ng_xxx_rcvmsg(node_p node, item_p item, hook_p lasthook)
* If we want, we may decide to force this data to be queued and reprocessed
* at the netgraph NETISR time.
* We would do that by setting the HK_QUEUE flag on our hook. We would do that
- * in the connect() method.
+ * in the connect() method.
*/
static int
ng_xxx_rcvdata(hook_p hook, item_p item )
@@ -344,7 +344,7 @@ ng_xxx_rcvdata(hook_p hook, item_p item )
* the front here */
/* M_PREPEND(....) ; */
/* mtod(m, xxxxxx)->dlci = dlci; */
- NG_FWD_NEW_DATA(error, item,
+ NG_FWD_NEW_DATA(error, item,
xxxp->downstream_hook.hook, m);
xxxp->packets_out++;
} else {
@@ -435,8 +435,8 @@ ng_xxx_shutdown(node_p node)
NG_NODE_SET_PRIVATE(node, NULL);
NG_NODE_UNREF(privdata->node);
FREE(privdata, M_NETGRAPH);
- return (0);
- }
+ return (0);
+ }
NG_NODE_REVIVE(node); /* tell ng_rmnode() we will persist */
#endif /* PERSISTANT_NODE */
return (0);
@@ -467,7 +467,7 @@ ng_xxx_connect(hook_p hook)
if (NG_HOOK_PRIVATE(hook)) {
int dlci;
- /*
+ /*
* If it's dlci 1023, requeue it so that it's handled
* at a lower priority. This is how a node decides to
* defer a data message.
OpenPOWER on IntegriCloud