1/* $FreeBSD: head/sys/netinet6/in6_proto.c 79106 2001-07-02 21:02:09Z brooks $ */ |
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 --- 113 unchanged lines hidden (view full) --- 123#include <netinet6/ipcomp.h> 124#ifdef INET6 125#include <netinet6/ipcomp6.h> 126#endif 127#endif /*IPSEC*/ 128 129#include <netinet6/ip6protosw.h> 130 |
131#include <net/net_osdep.h> 132 133/* 134 * TCP/IP protocol family: IP6, ICMP6, UDP, TCP. 135 */ 136 137extern struct domain inet6domain; 138static struct pr_usrreqs nousrreqs; --- 102 unchanged lines hidden (view full) --- 241{ SOCK_RAW, &inet6domain, 0, PR_ATOMIC|PR_ADDR, 242 rip6_input, rip6_output, 0, rip6_ctloutput, 243 0, 244 0, 0, 0, 0, 245 &rip6_usrreqs 246}, 247}; 248 |
249extern int in6_inithead __P((void **, int)); 250 251struct domain inet6domain = 252 { AF_INET6, "internet6", 0, 0, 0, 253 (struct protosw *)inet6sw, 254 (struct protosw *)&inet6sw[sizeof(inet6sw)/sizeof(inet6sw[0])], 0, 255 in6_inithead, 256 offsetof(struct sockaddr_in6, sin6_addr) << 3, --- 22 unchanged lines hidden (view full) --- 279int ip6_defmcasthlim = IPV6_DEFAULT_MULTICAST_HOPS; 280int ip6_accept_rtadv = 0; /* "IPV6FORWARDING ? 0 : 1" is dangerous */ 281int ip6_maxfragpackets; /* initialized in frag6.c:frag6_init() */ 282int ip6_log_interval = 5; 283int ip6_hdrnestlimit = 50; /* appropriate? */ 284int ip6_dad_count = 1; /* DupAddrDetectionTransmits */ 285u_int32_t ip6_flow_seq; 286int ip6_auto_flowlabel = 1; |
287int ip6_gif_hlim = 0; |
288int ip6_use_deprecated = 1; /* allow deprecated addr (RFC2462 5.5.4) */ 289int ip6_rr_prune = 5; /* router renumbering prefix 290 * walk list every 5 sec. */ 291int ip6_v6only = 0; 292 293u_int32_t ip6_id = 0UL; 294int ip6_keepfaith = 0; 295time_t ip6_log_time = (time_t)0L; --- 156 unchanged lines hidden --- |