Changeset View
Changeset View
Standalone View
Standalone View
sbin/ifconfig/ifconfig.h
Show First 20 Lines • Show All 104 Lines • ▼ Show 20 Lines | struct afswtch { | ||||
* is presented. | * is presented. | ||||
*/ | */ | ||||
void (*af_status)(int, const struct ifaddrs *); | void (*af_status)(int, const struct ifaddrs *); | ||||
void (*af_other_status)(int); | void (*af_other_status)(int); | ||||
/* parse address method */ | /* parse address method */ | ||||
void (*af_getaddr)(const char *, int); | void (*af_getaddr)(const char *, int); | ||||
/* parse prefix method (IPv6) */ | /* parse prefix method (IPv6) */ | ||||
void (*af_getprefix)(const char *, int); | void (*af_getprefix)(const char *, int); | ||||
void (*af_postproc)(int s, const struct afswtch *); | void (*af_postproc)(int s, const struct afswtch *, | ||||
int newaddr, int ifflags); | |||||
u_long af_difaddr; /* set dst if address ioctl */ | u_long af_difaddr; /* set dst if address ioctl */ | ||||
u_long af_aifaddr; /* set if address ioctl */ | u_long af_aifaddr; /* set if address ioctl */ | ||||
void *af_ridreq; /* */ | void *af_ridreq; /* */ | ||||
void *af_addreq; /* */ | void *af_addreq; /* */ | ||||
struct afswtch *af_next; | struct afswtch *af_next; | ||||
/* XXX doesn't fit model */ | /* XXX doesn't fit model */ | ||||
void (*af_status_tunnel)(int); | void (*af_status_tunnel)(int); | ||||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |