diff options
author | Julian Elischer <julian@FreeBSD.org> | 2004-05-29 00:51:19 +0000 |
---|---|---|
committer | Julian Elischer <julian@FreeBSD.org> | 2004-05-29 00:51:19 +0000 |
commit | f8aae7776f85d2fa8aa93f73c37782cd9e1204c6 (patch) | |
tree | 90dfb9283e4889f34526e006d0e40a59d5312611 /sys/netgraph/atm/sscop/ng_sscop.c | |
parent | ad7df741c9173bdd5763a9d95343cb071a7885ff (diff) |
Notes
Diffstat (limited to 'sys/netgraph/atm/sscop/ng_sscop.c')
-rw-r--r-- | sys/netgraph/atm/sscop/ng_sscop.c | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/sys/netgraph/atm/sscop/ng_sscop.c b/sys/netgraph/atm/sscop/ng_sscop.c index b87be7c85d64f..0d5906d75ff61 100644 --- a/sys/netgraph/atm/sscop/ng_sscop.c +++ b/sys/netgraph/atm/sscop/ng_sscop.c @@ -196,18 +196,16 @@ static ng_rcvdata_t ng_sscop_rcvmanage; static int ng_sscop_mod_event(module_t, int, void *); static struct ng_type ng_sscop_typestruct = { - NG_ABI_VERSION, - NG_SSCOP_NODE_TYPE, - ng_sscop_mod_event, /* Module event handler (optional) */ - ng_sscop_constructor, /* Node constructor */ - ng_sscop_rcvmsg, /* control messages come here */ - ng_sscop_shutdown, /* reset, and free resources */ - ng_sscop_newhook, /* first notification of new hook */ - NULL, /* findhook */ - NULL, /* connect */ - ng_sscop_rcvlower, /* rcvdata */ - ng_sscop_disconnect, /* notify on disconnect */ - ng_sscop_cmdlist, + .version = NG_ABI_VERSION, + .name = NG_SSCOP_NODE_TYPE, + .mod_event = ng_sscop_mod_event, + .constructor = ng_sscop_constructor, + .rcvmsg = ng_sscop_rcvmsg, + .shutdown = ng_sscop_shutdown, + .newhook = ng_sscop_newhook, + .rcvdata = ng_sscop_rcvlower, + .disconnect = ng_sscop_disconnect, + .cmdlist = ng_sscop_cmdlist, }; NETGRAPH_INIT(sscop, &ng_sscop_typestruct); |