ip_reass.c (204140) | ip_reass.c (205066) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1988, 1993 3 * The Regents of the University of California. 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 --- 16 unchanged lines hidden (view full) --- 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)ip_input.c 8.2 (Berkeley) 1/4/94 30 */ 31 32#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1982, 1986, 1988, 1993 3 * The Regents of the University of California. 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 --- 16 unchanged lines hidden (view full) --- 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)ip_input.c 8.2 (Berkeley) 1/4/94 30 */ 31 32#include <sys/cdefs.h> |
33__FBSDID("$FreeBSD: head/sys/netinet/ip_input.c 204140 2010-02-20 19:59:52Z bz $"); | 33__FBSDID("$FreeBSD: head/sys/netinet/ip_input.c 205066 2010-03-12 05:03:26Z kmacy $"); |
34 35#include "opt_bootp.h" 36#include "opt_ipfw.h" 37#include "opt_ipstealth.h" 38#include "opt_ipsec.h" 39#include "opt_route.h" 40#include "opt_carp.h" 41 --- 282 unchanged lines hidden (view full) --- 324 V_inet_pfil_hook.ph_af = AF_INET; 325 if ((i = pfil_head_register(&V_inet_pfil_hook)) != 0) 326 printf("%s: WARNING: unable to register pfil hook, " 327 "error %d\n", __func__, i); 328 329#ifdef FLOWTABLE 330 TUNABLE_INT_FETCH("net.inet.ip.output_flowtable_size", 331 &V_ip_output_flowtable_size); | 34 35#include "opt_bootp.h" 36#include "opt_ipfw.h" 37#include "opt_ipstealth.h" 38#include "opt_ipsec.h" 39#include "opt_route.h" 40#include "opt_carp.h" 41 --- 282 unchanged lines hidden (view full) --- 324 V_inet_pfil_hook.ph_af = AF_INET; 325 if ((i = pfil_head_register(&V_inet_pfil_hook)) != 0) 326 printf("%s: WARNING: unable to register pfil hook, " 327 "error %d\n", __func__, i); 328 329#ifdef FLOWTABLE 330 TUNABLE_INT_FETCH("net.inet.ip.output_flowtable_size", 331 &V_ip_output_flowtable_size); |
332 V_ip_ft = flowtable_alloc(V_ip_output_flowtable_size, FL_PCPU); | 332 V_ip_ft = flowtable_alloc("ipv4", V_ip_output_flowtable_size, FL_PCPU); |
333#endif 334 335 /* Skip initialization of globals for non-default instances. */ 336 if (!IS_DEFAULT_VNET(curvnet)) 337 return; 338 339 pr = pffindproto(PF_INET, IPPROTO_RAW, SOCK_RAW); 340 if (pr == NULL) --- 1456 unchanged lines hidden --- | 333#endif 334 335 /* Skip initialization of globals for non-default instances. */ 336 if (!IS_DEFAULT_VNET(curvnet)) 337 return; 338 339 pr = pffindproto(PF_INET, IPPROTO_RAW, SOCK_RAW); 340 if (pr == NULL) --- 1456 unchanged lines hidden --- |