Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/ip_var.h
Show First 20 Lines • Show All 174 Lines • ▼ Show 20 Lines | |||||
#endif | #endif | ||||
struct ip; | struct ip; | ||||
struct inpcb; | struct inpcb; | ||||
struct route; | struct route; | ||||
struct sockopt; | struct sockopt; | ||||
struct inpcbinfo; | struct inpcbinfo; | ||||
VNET_DECLARE(int, rfc1191); | |||||
VNET_DECLARE(int, ip_defttl); /* default IP ttl */ | VNET_DECLARE(int, ip_defttl); /* default IP ttl */ | ||||
VNET_DECLARE(int, ipforwarding); /* ip forwarding */ | VNET_DECLARE(int, ipforwarding); /* ip forwarding */ | ||||
VNET_DECLARE(int, ipsendredirects); | VNET_DECLARE(int, ipsendredirects); | ||||
#ifdef IPSTEALTH | #ifdef IPSTEALTH | ||||
VNET_DECLARE(int, ipstealth); /* stealth forwarding */ | VNET_DECLARE(int, ipstealth); /* stealth forwarding */ | ||||
#endif | #endif | ||||
extern u_char ip_protox[]; | extern u_char ip_protox[]; | ||||
VNET_DECLARE(struct socket *, ip_rsvpd); /* reservation protocol daemon*/ | VNET_DECLARE(struct socket *, ip_rsvpd); /* reservation protocol daemon*/ | ||||
VNET_DECLARE(struct socket *, ip_mrouter); /* multicast routing daemon */ | VNET_DECLARE(struct socket *, ip_mrouter); /* multicast routing daemon */ | ||||
extern int (*legal_vif_num)(int); | extern int (*legal_vif_num)(int); | ||||
extern u_long (*ip_mcast_src)(int); | extern u_long (*ip_mcast_src)(int); | ||||
VNET_DECLARE(int, rsvp_on); | VNET_DECLARE(int, rsvp_on); | ||||
VNET_DECLARE(int, drop_redirect); | VNET_DECLARE(int, drop_redirect); | ||||
extern struct pr_usrreqs rip_usrreqs; | extern struct pr_usrreqs rip_usrreqs; | ||||
#define V_rfc1191 VNET(rfc1191) | |||||
#define V_ip_id VNET(ip_id) | #define V_ip_id VNET(ip_id) | ||||
#define V_ip_defttl VNET(ip_defttl) | #define V_ip_defttl VNET(ip_defttl) | ||||
#define V_ipforwarding VNET(ipforwarding) | #define V_ipforwarding VNET(ipforwarding) | ||||
#define V_ipsendredirects VNET(ipsendredirects) | #define V_ipsendredirects VNET(ipsendredirects) | ||||
#ifdef IPSTEALTH | #ifdef IPSTEALTH | ||||
#define V_ipstealth VNET(ipstealth) | #define V_ipstealth VNET(ipstealth) | ||||
#endif | #endif | ||||
#define V_ip_rsvpd VNET(ip_rsvpd) | #define V_ip_rsvpd VNET(ip_rsvpd) | ||||
▲ Show 20 Lines • Show All 100 Lines • Show Last 20 Lines |