ip_dn_glue.c (204954) | ip_dn_glue.c (206425) |
---|---|
1/*- 2 * Copyright (c) 2010 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 --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 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/* | 1/*- 2 * Copyright (c) 2010 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 --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 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 * $FreeBSD: head/sys/netinet/ipfw/ip_dn_glue.c 204954 2010-03-10 14:21:05Z luigi $ | 28 * $FreeBSD: head/sys/netinet/ipfw/ip_dn_glue.c 206425 2010-04-09 16:06:53Z luigi $ |
29 * 30 * Binary compatibility support for /sbin/ipfw RELENG_7 and RELENG_8 31 */ 32 33#include "opt_inet6.h" 34 35#include <sys/param.h> 36#include <sys/systm.h> --- 511 unchanged lines hidden (view full) --- 548 error = do_config(base, (char *)buf - (char *)base); 549 550 if (buf) 551 free(buf, M_DUMMYNET); 552 return error; 553} 554 555int | 29 * 30 * Binary compatibility support for /sbin/ipfw RELENG_7 and RELENG_8 31 */ 32 33#include "opt_inet6.h" 34 35#include <sys/param.h> 36#include <sys/systm.h> --- 511 unchanged lines hidden (view full) --- 548 error = do_config(base, (char *)buf - (char *)base); 549 550 if (buf) 551 free(buf, M_DUMMYNET); 552 return error; 553} 554 555int |
556dn_compat_calc_size(struct dn_parms dn_cfg) | 556dn_compat_calc_size(void) |
557{ 558 int need = 0; 559 /* XXX use FreeBSD 8 struct size */ 560 /* NOTE: 561 * - half scheduler: schk_count/2 562 * - all flowset: fsk_count 563 * - all flowset queues: queue_count 564 * - all pipe queue: si_count --- 281 unchanged lines hidden --- | 557{ 558 int need = 0; 559 /* XXX use FreeBSD 8 struct size */ 560 /* NOTE: 561 * - half scheduler: schk_count/2 562 * - all flowset: fsk_count 563 * - all flowset queues: queue_count 564 * - all pipe queue: si_count --- 281 unchanged lines hidden --- |