Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/ip_var.h
Show First 20 Lines • Show All 183 Lines • ▼ Show 20 Lines | |||||
struct inpcbinfo; | struct inpcbinfo; | ||||
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[]; | |||||
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; | ||||
Show All 19 Lines | int ip_fragment(struct ip *ip, struct mbuf **m_frag, int mtu, | ||||
u_long if_hwassist_flags); | u_long if_hwassist_flags); | ||||
void ip_forward(struct mbuf *m, int srcrt); | void ip_forward(struct mbuf *m, int srcrt); | ||||
extern int | extern int | ||||
(*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *, | (*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *, | ||||
struct ip_moptions *); | struct ip_moptions *); | ||||
int ip_output(struct mbuf *, | int ip_output(struct mbuf *, | ||||
struct mbuf *, struct route *, int, struct ip_moptions *, | struct mbuf *, struct route *, int, struct ip_moptions *, | ||||
struct inpcb *); | struct inpcb *); | ||||
int ipproto_register(short); | |||||
int ipproto_unregister(short); | |||||
struct mbuf * | struct mbuf * | ||||
ip_reass(struct mbuf *); | ip_reass(struct mbuf *); | ||||
void ip_savecontrol(struct inpcb *, struct mbuf **, struct ip *, | void ip_savecontrol(struct inpcb *, struct mbuf **, struct ip *, | ||||
struct mbuf *); | struct mbuf *); | ||||
void ip_slowtimo(void); | void ip_slowtimo(void); | ||||
void ip_fillid(struct ip *); | void ip_fillid(struct ip *); | ||||
int rip_ctloutput(struct socket *, struct sockopt *); | int rip_ctloutput(struct socket *, struct sockopt *); | ||||
void rip_ctlinput(int, struct sockaddr *, void *); | void rip_ctlinput(int, struct sockaddr *, void *); | ||||
int rip_input(struct mbuf **, int *, int); | int rip_input(struct mbuf **, int *, int); | ||||
int ipip_input(struct mbuf **, int *, int); | int ipip_input(struct mbuf **, int *, int); | ||||
int rsvp_input(struct mbuf **, int *, int); | int rsvp_input(struct mbuf **, int *, int); | ||||
int ip_rsvp_init(struct socket *); | int ip_rsvp_init(struct socket *); | ||||
int ip_rsvp_done(void); | int ip_rsvp_done(void); | ||||
extern int (*ip_rsvp_vif)(struct socket *, struct sockopt *); | extern int (*ip_rsvp_vif)(struct socket *, struct sockopt *); | ||||
extern void (*ip_rsvp_force_done)(struct socket *); | extern void (*ip_rsvp_force_done)(struct socket *); | ||||
extern int (*rsvp_input_p)(struct mbuf **, int *, int); | extern int (*rsvp_input_p)(struct mbuf **, int *, int); | ||||
VNET_DECLARE(struct pfil_head *, inet_pfil_head); | VNET_DECLARE(struct pfil_head *, inet_pfil_head); | ||||
#define V_inet_pfil_head VNET(inet_pfil_head) | #define V_inet_pfil_head VNET(inet_pfil_head) | ||||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |