Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/ip_carp.h
Show First 20 Lines • Show All 136 Lines • ▼ Show 20 Lines | |||||
#define SIOCSVH _IOWR('i', 245, struct ifreq) | #define SIOCSVH _IOWR('i', 245, struct ifreq) | ||||
#define SIOCGVH _IOWR('i', 246, struct ifreq) | #define SIOCGVH _IOWR('i', 246, struct ifreq) | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
int carp_ioctl(struct ifreq *, u_long, struct thread *); | int carp_ioctl(struct ifreq *, u_long, struct thread *); | ||||
int carp_attach(struct ifaddr *, int); | int carp_attach(struct ifaddr *, int); | ||||
void carp_detach(struct ifaddr *, bool); | void carp_detach(struct ifaddr *, bool); | ||||
void carp_carpdev_state(struct ifnet *); | void carp_carpdev_state(struct ifnet *); | ||||
int carp_input(struct mbuf **, int *, int); | |||||
int carp6_input (struct mbuf **, int *, int); | |||||
int carp_output (struct ifnet *, struct mbuf *, | int carp_output (struct ifnet *, struct mbuf *, | ||||
const struct sockaddr *); | const struct sockaddr *); | ||||
int carp_master(struct ifaddr *); | int carp_master(struct ifaddr *); | ||||
int carp_iamatch(struct ifaddr *, uint8_t **); | int carp_iamatch(struct ifaddr *, uint8_t **); | ||||
struct ifaddr *carp_iamatch6(struct ifnet *, struct in6_addr *); | struct ifaddr *carp_iamatch6(struct ifnet *, struct in6_addr *); | ||||
char * carp_macmatch6(struct ifnet *, struct mbuf *, const struct in6_addr *); | char * carp_macmatch6(struct ifnet *, struct mbuf *, const struct in6_addr *); | ||||
int carp_forus(struct ifnet *, u_char *); | int carp_forus(struct ifnet *, u_char *); | ||||
Show All 27 Lines |