Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/ip_var.h
Show First 20 Lines • Show All 230 Lines • ▼ Show 20 Lines | |||||
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); | ||||
#define IP_HAS_NEXTHOP(m) ((m)->m_flags & M_IP_NEXTHOP) | |||||
int ip_set_fwdtag(struct mbuf *, struct sockaddr_in *, u_short); | |||||
int ip_get_fwdtag(struct mbuf *, struct sockaddr_in *, u_short *); | |||||
void ip_flush_fwdtag(struct mbuf *); | |||||
VNET_DECLARE(struct pfil_head, inet_pfil_hook); /* packet filter hooks */ | VNET_DECLARE(struct pfil_head, inet_pfil_hook); /* packet filter hooks */ | ||||
#define V_inet_pfil_hook VNET(inet_pfil_hook) | #define V_inet_pfil_hook VNET(inet_pfil_hook) | ||||
void in_delayed_cksum(struct mbuf *m); | void in_delayed_cksum(struct mbuf *m); | ||||
/* Hooks for ipfw, dummynet, divert etc. Most are declared in raw_ip.c */ | /* Hooks for ipfw, dummynet, divert etc. Most are declared in raw_ip.c */ | ||||
/* | /* | ||||
* Reference to an ipfw or packet filter rule that can be carried | * Reference to an ipfw or packet filter rule that can be carried | ||||
▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines |