diff options
Diffstat (limited to 'sys/netpfil/ipfw/ip_dn_glue.c')
-rw-r--r-- | sys/netpfil/ipfw/ip_dn_glue.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/netpfil/ipfw/ip_dn_glue.c b/sys/netpfil/ipfw/ip_dn_glue.c index 7beb8525e30a..5a39a1a47282 100644 --- a/sys/netpfil/ipfw/ip_dn_glue.c +++ b/sys/netpfil/ipfw/ip_dn_glue.c @@ -195,7 +195,6 @@ struct dn_pipe7 { /* a pipe */ }; SLIST_HEAD(dn_pipe_head7, dn_pipe7); - /* FREEBSD8 ip_dummynet.h r196045 */ struct dn_flow_queue8 { struct dn_flow_queue8 *next ; @@ -312,7 +311,6 @@ o_next(struct dn_id **o, int len, int type) return ret; } - static size_t pipesize7 = sizeof(struct dn_pipe7); static size_t pipesize8 = sizeof(struct dn_pipe8); static size_t pipesizemax8 = sizeof(struct dn_pipe_max8); @@ -483,7 +481,7 @@ dn_compat_config_profile(struct dn_profile *pf, struct dn_link *p, struct dn_pipe8 *p8 = (struct dn_pipe8 *)v; p8->samples = &(((struct dn_pipe_max8 *)p8)->samples[0]); - + pf->link_nr = p->link_nr; pf->loss_level = p8->loss_level; // pf->bandwidth = p->bandwidth; //XXX bandwidth redundant? @@ -661,7 +659,6 @@ dn_c_copy_pipe(struct dn_schk *s, struct copy_args *a, int nq) return 0; } - int dn_compat_copy_pipe(struct copy_args *a, void *_o) { @@ -847,5 +844,3 @@ ip_dummynet_compat(struct sockopt *sopt) return error; } - - |