ip_input.c (180215) | ip_input.c (180239) |
---|---|
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 180215 2008-07-03 12:44:36Z bz $"); | 33__FBSDID("$FreeBSD: head/sys/netinet/ip_input.c 180239 2008-07-04 00:21:38Z rwatson $"); |
34 35#include "opt_bootp.h" 36#include "opt_ipfw.h" 37#include "opt_ipstealth.h" 38#include "opt_ipsec.h" 39#include "opt_mac.h" 40#include "opt_carp.h" 41 --- 220 unchanged lines hidden (view full) --- 262 SHUTDOWN_PRI_DEFAULT); 263 EVENTHANDLER_REGISTER(nmbclusters_change, ipq_zone_change, 264 NULL, EVENTHANDLER_PRI_ANY); 265 266 /* Initialize various other remaining things. */ 267 ip_id = time_second & 0xffff; 268 ipintrq.ifq_maxlen = ipqmaxlen; 269 mtx_init(&ipintrq.ifq_mtx, "ip_inq", NULL, MTX_DEF); | 34 35#include "opt_bootp.h" 36#include "opt_ipfw.h" 37#include "opt_ipstealth.h" 38#include "opt_ipsec.h" 39#include "opt_mac.h" 40#include "opt_carp.h" 41 --- 220 unchanged lines hidden (view full) --- 262 SHUTDOWN_PRI_DEFAULT); 263 EVENTHANDLER_REGISTER(nmbclusters_change, ipq_zone_change, 264 NULL, EVENTHANDLER_PRI_ANY); 265 266 /* Initialize various other remaining things. */ 267 ip_id = time_second & 0xffff; 268 ipintrq.ifq_maxlen = ipqmaxlen; 269 mtx_init(&ipintrq.ifq_mtx, "ip_inq", NULL, MTX_DEF); |
270 netisr_register(NETISR_IP, ip_input, &ipintrq, NETISR_MPSAFE); | 270 netisr_register(NETISR_IP, ip_input, &ipintrq, 0); |
271} 272 273void 274ip_fini(void *xtp) 275{ 276 277 callout_stop(&ipport_tick_callout); 278} --- 1342 unchanged lines hidden --- | 271} 272 273void 274ip_fini(void *xtp) 275{ 276 277 callout_stop(&ipport_tick_callout); 278} --- 1342 unchanged lines hidden --- |