ip6_var.h (128019) | ip6_var.h (133720) |
---|---|
1/* $FreeBSD: head/sys/netinet6/ip6_var.h 128019 2004-04-07 20:46:16Z imp $ */ | 1/* $FreeBSD: head/sys/netinet6/ip6_var.h 133720 2004-08-14 15:32:40Z dwmalone $ */ |
2/* $KAME: ip6_var.h,v 1.62 2001/05/03 14:51:48 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 --- 268 unchanged lines hidden (view full) --- 278 279#ifdef _KERNEL 280/* flags passed to ip6_output as last parameter */ 281#define IPV6_DADOUTPUT 0x01 /* DAD */ 282#define IPV6_FORWARDING 0x02 /* most of IPv6 header exists */ 283#define IPV6_MINMTU 0x04 /* use minimum MTU (IPV6_USE_MIN_MTU) */ 284 285extern struct ip6stat ip6stat; /* statistics */ | 2/* $KAME: ip6_var.h,v 1.62 2001/05/03 14:51:48 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 --- 268 unchanged lines hidden (view full) --- 278 279#ifdef _KERNEL 280/* flags passed to ip6_output as last parameter */ 281#define IPV6_DADOUTPUT 0x01 /* DAD */ 282#define IPV6_FORWARDING 0x02 /* most of IPv6 header exists */ 283#define IPV6_MINMTU 0x04 /* use minimum MTU (IPV6_USE_MIN_MTU) */ 284 285extern struct ip6stat ip6stat; /* statistics */ |
286#ifndef RANDOM_IP_ID 287extern u_int32_t ip6_id; /* fragment identifier */ 288#endif | |
289extern int ip6_defhlim; /* default hop limit */ 290extern int ip6_defmcasthlim; /* default multicast hop limit */ 291extern int ip6_forwarding; /* act as router? */ 292extern int ip6_forward_srcrt; /* forward src-routed? */ 293extern int ip6_gif_hlim; /* Hop limit for gif encap packet */ 294extern int ip6_use_deprecated; /* allow deprecated addr as source */ 295extern int ip6_rr_prune; /* router renumbering prefix 296 * walk list every 5 sec. */ --- 7 unchanged lines hidden (view full) --- 304extern int ip6_sourcecheck_interval; /* Interval between log messages */ 305extern int ip6_accept_rtadv; /* Acts as a host not a router */ 306extern int ip6_keepfaith; /* Firewall Aided Internet Translator */ 307extern int ip6_log_interval; 308extern time_t ip6_log_time; 309extern int ip6_hdrnestlimit; /* upper limit of # of extension headers */ 310extern int ip6_dad_count; /* DupAddrDetectionTransmits */ 311 | 286extern int ip6_defhlim; /* default hop limit */ 287extern int ip6_defmcasthlim; /* default multicast hop limit */ 288extern int ip6_forwarding; /* act as router? */ 289extern int ip6_forward_srcrt; /* forward src-routed? */ 290extern int ip6_gif_hlim; /* Hop limit for gif encap packet */ 291extern int ip6_use_deprecated; /* allow deprecated addr as source */ 292extern int ip6_rr_prune; /* router renumbering prefix 293 * walk list every 5 sec. */ --- 7 unchanged lines hidden (view full) --- 301extern int ip6_sourcecheck_interval; /* Interval between log messages */ 302extern int ip6_accept_rtadv; /* Acts as a host not a router */ 303extern int ip6_keepfaith; /* Firewall Aided Internet Translator */ 304extern int ip6_log_interval; 305extern time_t ip6_log_time; 306extern int ip6_hdrnestlimit; /* upper limit of # of extension headers */ 307extern int ip6_dad_count; /* DupAddrDetectionTransmits */ 308 |
312#ifndef RANDOM_IP_ID 313extern u_int32_t ip6_flow_seq; 314#endif | |
315extern int ip6_auto_flowlabel; 316extern int ip6_auto_linklocal; 317 318extern int ip6_anonportmin; /* minimum ephemeral port */ 319extern int ip6_anonportmax; /* maximum ephemeral port */ 320extern int ip6_lowportmin; /* minimum reserved port */ 321extern int ip6_lowportmax; /* maximum reserved port */ 322 --- 71 unchanged lines hidden (view full) --- 394int none_input __P((struct mbuf **, int *, int)); 395 396struct in6_addr *in6_selectsrc __P((struct sockaddr_in6 *, 397 struct ip6_pktopts *, struct ip6_moptions *, struct route_in6 *, 398 struct in6_addr *, int *)); 399int in6_selectroute __P((struct sockaddr_in6 *, struct ip6_pktopts *, 400 struct ip6_moptions *, struct route_in6 *, struct ifnet **, 401 struct rtentry **, int)); | 309extern int ip6_auto_flowlabel; 310extern int ip6_auto_linklocal; 311 312extern int ip6_anonportmin; /* minimum ephemeral port */ 313extern int ip6_anonportmax; /* maximum ephemeral port */ 314extern int ip6_lowportmin; /* minimum reserved port */ 315extern int ip6_lowportmax; /* maximum reserved port */ 316 --- 71 unchanged lines hidden (view full) --- 388int none_input __P((struct mbuf **, int *, int)); 389 390struct in6_addr *in6_selectsrc __P((struct sockaddr_in6 *, 391 struct ip6_pktopts *, struct ip6_moptions *, struct route_in6 *, 392 struct in6_addr *, int *)); 393int in6_selectroute __P((struct sockaddr_in6 *, struct ip6_pktopts *, 394 struct ip6_moptions *, struct route_in6 *, struct ifnet **, 395 struct rtentry **, int)); |
402#ifdef RANDOM_IP_ID | |
403u_int32_t ip6_randomid __P((void)); 404u_int32_t ip6_randomflowlabel __P((void)); | 396u_int32_t ip6_randomid __P((void)); 397u_int32_t ip6_randomflowlabel __P((void)); |
405#endif | |
406#endif /* _KERNEL */ 407 408#endif /* !_NETINET6_IP6_VAR_H_ */ | 398#endif /* _KERNEL */ 399 400#endif /* !_NETINET6_IP6_VAR_H_ */ |