Deleted Added
full compact
in6_rmx.c (195727) in6_rmx.c (196019)
1/*-
2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
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

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

68 * requested.
69 * 2) When such routes lose all their references, it arranges for them
70 * to be deleted in some random collection of circumstances, so that
71 * a large quantity of stale routing data is not kept in kernel memory
72 * indefinitely. See in6_rtqtimo() below for the exact mechanism.
73 */
74
75#include <sys/cdefs.h>
1/*-
2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
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

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

68 * requested.
69 * 2) When such routes lose all their references, it arranges for them
70 * to be deleted in some random collection of circumstances, so that
71 * a large quantity of stale routing data is not kept in kernel memory
72 * indefinitely. See in6_rtqtimo() below for the exact mechanism.
73 */
74
75#include <sys/cdefs.h>
76__FBSDID("$FreeBSD: head/sys/netinet6/in6_rmx.c 195727 2009-07-16 21:13:04Z rwatson $");
76__FBSDID("$FreeBSD: head/sys/netinet6/in6_rmx.c 196019 2009-08-01 19:26:27Z rwatson $");
77
78#include <sys/param.h>
79#include <sys/systm.h>
80#include <sys/kernel.h>
81#include <sys/lock.h>
82#include <sys/sysctl.h>
83#include <sys/queue.h>
84#include <sys/socket.h>
85#include <sys/socketvar.h>
86#include <sys/mbuf.h>
87#include <sys/rwlock.h>
88#include <sys/syslog.h>
89#include <sys/callout.h>
77
78#include <sys/param.h>
79#include <sys/systm.h>
80#include <sys/kernel.h>
81#include <sys/lock.h>
82#include <sys/sysctl.h>
83#include <sys/queue.h>
84#include <sys/socket.h>
85#include <sys/socketvar.h>
86#include <sys/mbuf.h>
87#include <sys/rwlock.h>
88#include <sys/syslog.h>
89#include <sys/callout.h>
90#include <sys/vimage.h>
91
92#include <net/if.h>
93#include <net/route.h>
94
95#include <netinet/in.h>
96#include <netinet/ip_var.h>
97#include <netinet/in_var.h>
98

--- 353 unchanged lines hidden ---
90
91#include <net/if.h>
92#include <net/route.h>
93
94#include <netinet/in.h>
95#include <netinet/ip_var.h>
96#include <netinet/in_var.h>
97

--- 353 unchanged lines hidden ---