Deleted Added
full compact
ip_reass.c (191688) ip_reass.c (191816)
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 191688 2009-04-30 13:36:26Z zec $");
33__FBSDID("$FreeBSD: head/sys/netinet/ip_input.c 191816 2009-05-05 10:56:12Z zec $");
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_mac.h"
41#include "opt_carp.h"

--- 292 unchanged lines hidden (view full) ---

334 inet_pfil_hook.ph_type = PFIL_TYPE_AF;
335 inet_pfil_hook.ph_af = AF_INET;
336 if ((i = pfil_head_register(&inet_pfil_hook)) != 0)
337 printf("%s: WARNING: unable to register pfil hook, "
338 "error %d\n", __func__, i);
339
340 /* Start ipport_tick. */
341 callout_init(&ipport_tick_callout, CALLOUT_MPSAFE);
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_mac.h"
41#include "opt_carp.h"

--- 292 unchanged lines hidden (view full) ---

334 inet_pfil_hook.ph_type = PFIL_TYPE_AF;
335 inet_pfil_hook.ph_af = AF_INET;
336 if ((i = pfil_head_register(&inet_pfil_hook)) != 0)
337 printf("%s: WARNING: unable to register pfil hook, "
338 "error %d\n", __func__, i);
339
340 /* Start ipport_tick. */
341 callout_init(&ipport_tick_callout, CALLOUT_MPSAFE);
342 ipport_tick(NULL);
342 callout_reset(&ipport_tick_callout, 1, ipport_tick, NULL);
343 EVENTHANDLER_REGISTER(shutdown_pre_sync, ip_fini, NULL,
344 SHUTDOWN_PRI_DEFAULT);
345 EVENTHANDLER_REGISTER(nmbclusters_change, ipq_zone_change,
346 NULL, EVENTHANDLER_PRI_ANY);
347
348 /* Initialize various other remaining things. */
349 IPQ_LOCK_INIT();
350 ipintrq.ifq_maxlen = ipqmaxlen;

--- 1386 unchanged lines hidden ---
343 EVENTHANDLER_REGISTER(shutdown_pre_sync, ip_fini, NULL,
344 SHUTDOWN_PRI_DEFAULT);
345 EVENTHANDLER_REGISTER(nmbclusters_change, ipq_zone_change,
346 NULL, EVENTHANDLER_PRI_ANY);
347
348 /* Initialize various other remaining things. */
349 IPQ_LOCK_INIT();
350 ipintrq.ifq_maxlen = ipqmaxlen;

--- 1386 unchanged lines hidden ---