ip_dn_private.h (205173) | ip_dn_private.h (206425) |
---|---|
1/*- 2 * Copyright (c) 2010 Luigi Rizzo, Riccardo Panicucci, Universita` di Pisa 3 * All rights reserved 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27/* 28 * internal dummynet APIs. 29 * | 1/*- 2 * Copyright (c) 2010 Luigi Rizzo, Riccardo Panicucci, Universita` di Pisa 3 * All rights reserved 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27/* 28 * internal dummynet APIs. 29 * |
30 * $FreeBSD: head/sys/netinet/ipfw/ip_dn_private.h 205173 2010-03-15 17:14:27Z luigi $ | 30 * $FreeBSD: head/sys/netinet/ipfw/ip_dn_private.h 206425 2010-04-09 16:06:53Z luigi $ |
31 */ 32 33#ifndef _IP_DN_PRIVATE_H 34#define _IP_DN_PRIVATE_H 35 36/* debugging support 37 * use ND() to remove debugging, D() to print a line, 38 * DX(level, ...) to print above a certain level --- 348 unchanged lines hidden (view full) --- 387int ip_dummynet_compat(struct sockopt *sopt); 388int dummynet_get(struct sockopt *sopt, void **compat); 389int dn_c_copy_q (void *_ni, void *arg); 390int dn_c_copy_pipe(struct dn_schk *s, struct copy_args *a, int nq); 391int dn_c_copy_fs(struct dn_fsk *f, struct copy_args *a, int nq); 392int dn_compat_copy_queue(struct copy_args *a, void *_o); 393int dn_compat_copy_pipe(struct copy_args *a, void *_o); 394int copy_data_helper_compat(void *_o, void *_arg); | 31 */ 32 33#ifndef _IP_DN_PRIVATE_H 34#define _IP_DN_PRIVATE_H 35 36/* debugging support 37 * use ND() to remove debugging, D() to print a line, 38 * DX(level, ...) to print above a certain level --- 348 unchanged lines hidden (view full) --- 387int ip_dummynet_compat(struct sockopt *sopt); 388int dummynet_get(struct sockopt *sopt, void **compat); 389int dn_c_copy_q (void *_ni, void *arg); 390int dn_c_copy_pipe(struct dn_schk *s, struct copy_args *a, int nq); 391int dn_c_copy_fs(struct dn_fsk *f, struct copy_args *a, int nq); 392int dn_compat_copy_queue(struct copy_args *a, void *_o); 393int dn_compat_copy_pipe(struct copy_args *a, void *_o); 394int copy_data_helper_compat(void *_o, void *_arg); |
395int dn_compat_calc_size(struct dn_parms dn_cfg); | 395int dn_compat_calc_size(void); |
396int do_config(void *p, int l); 397 398/* function to drain idle object */ 399void dn_drain_scheduler(void); 400void dn_drain_queue(void); 401 402#endif /* _IP_DN_PRIVATE_H */ | 396int do_config(void *p, int l); 397 398/* function to drain idle object */ 399void dn_drain_scheduler(void); 400void dn_drain_queue(void); 401 402#endif /* _IP_DN_PRIVATE_H */ |