Deleted Added
full compact
in6_proto.c (128019) in6_proto.c (133720)
1/* $FreeBSD: head/sys/netinet6/in6_proto.c 128019 2004-04-07 20:46:16Z imp $ */
1/* $FreeBSD: head/sys/netinet6/in6_proto.c 133720 2004-08-14 15:32:40Z dwmalone $ */
2/* $KAME: in6_proto.c,v 1.91 2001/05/27 13:28:35 itojun Exp $ */
3
4/*
5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

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

59 * SUCH DAMAGE.
60 *
61 * @(#)in_proto.c 8.1 (Berkeley) 6/10/93
62 */
63
64#include "opt_inet.h"
65#include "opt_inet6.h"
66#include "opt_ipsec.h"
2/* $KAME: in6_proto.c,v 1.91 2001/05/27 13:28:35 itojun Exp $ */
3
4/*
5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

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

59 * SUCH DAMAGE.
60 *
61 * @(#)in_proto.c 8.1 (Berkeley) 6/10/93
62 */
63
64#include "opt_inet.h"
65#include "opt_inet6.h"
66#include "opt_ipsec.h"
67#include "opt_random_ip_id.h"
68
69#include <sys/param.h>
70#include <sys/socket.h>
71#include <sys/socketvar.h>
72#include <sys/protosw.h>
73#include <sys/kernel.h>
74#include <sys/domain.h>
75#include <sys/mbuf.h>

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

285int ip6_defhlim = IPV6_DEFHLIM;
286int ip6_defmcasthlim = IPV6_DEFAULT_MULTICAST_HOPS;
287int ip6_accept_rtadv = 0; /* "IPV6FORWARDING ? 0 : 1" is dangerous */
288int ip6_maxfragpackets; /* initialized in frag6.c:frag6_init() */
289int ip6_maxfrags; /* initialized in frag6.c:frag6_init() */
290int ip6_log_interval = 5;
291int ip6_hdrnestlimit = 50; /* appropriate? */
292int ip6_dad_count = 1; /* DupAddrDetectionTransmits */
67
68#include <sys/param.h>
69#include <sys/socket.h>
70#include <sys/socketvar.h>
71#include <sys/protosw.h>
72#include <sys/kernel.h>
73#include <sys/domain.h>
74#include <sys/mbuf.h>

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

284int ip6_defhlim = IPV6_DEFHLIM;
285int ip6_defmcasthlim = IPV6_DEFAULT_MULTICAST_HOPS;
286int ip6_accept_rtadv = 0; /* "IPV6FORWARDING ? 0 : 1" is dangerous */
287int ip6_maxfragpackets; /* initialized in frag6.c:frag6_init() */
288int ip6_maxfrags; /* initialized in frag6.c:frag6_init() */
289int ip6_log_interval = 5;
290int ip6_hdrnestlimit = 50; /* appropriate? */
291int ip6_dad_count = 1; /* DupAddrDetectionTransmits */
293#ifndef RANDOM_IP_ID
294u_int32_t ip6_flow_seq;
295#endif
296int ip6_auto_flowlabel = 1;
297int ip6_gif_hlim = 0;
298int ip6_use_deprecated = 1; /* allow deprecated addr (RFC2462 5.5.4) */
299int ip6_rr_prune = 5; /* router renumbering prefix
300 * walk list every 5 sec. */
301int ip6_v6only = 1;
302
292int ip6_auto_flowlabel = 1;
293int ip6_gif_hlim = 0;
294int ip6_use_deprecated = 1; /* allow deprecated addr (RFC2462 5.5.4) */
295int ip6_rr_prune = 5; /* router renumbering prefix
296 * walk list every 5 sec. */
297int ip6_v6only = 1;
298
303#ifndef RANDOM_IP_ID
304u_int32_t ip6_id = 0UL;
305#endif
306int ip6_keepfaith = 0;
307time_t ip6_log_time = (time_t)0L;
308
309/* icmp6 */
310/*
311 * BSDI4 defines these variables in in_proto.c...
312 * XXX: what if we don't define INET? Should we define pmtu6_expire
313 * or so? (jinmei@kame.net 19990310)

--- 154 unchanged lines hidden ---
299int ip6_keepfaith = 0;
300time_t ip6_log_time = (time_t)0L;
301
302/* icmp6 */
303/*
304 * BSDI4 defines these variables in in_proto.c...
305 * XXX: what if we don't define INET? Should we define pmtu6_expire
306 * or so? (jinmei@kame.net 19990310)

--- 154 unchanged lines hidden ---