Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/ip_var.h
Show First 20 Lines • Show All 233 Lines • ▼ Show 20 Lines | |||||
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); | ||||
typedef int ipproto_input_t(struct mbuf **, int *, int); | |||||
typedef void ipproto_ctlinput_t(int, struct sockaddr *, void *); | |||||
int ipproto_register(uint8_t, ipproto_input_t, ipproto_ctlinput_t); | |||||
int ipproto_unregister(uint8_t); | |||||
#define IPPROTO_REGISTER(prot, input, ctl) do { \ | |||||
int error __diagused; \ | |||||
error = ipproto_register(prot, input, ctl); \ | |||||
MPASS(error == 0); \ | |||||
} while (0) | |||||
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) | ||||
#define PFIL_INET_NAME "inet" | #define PFIL_INET_NAME "inet" | ||||
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 */ | ||||
/* | /* | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |