Changeset View
Changeset View
Standalone View
Standalone View
head/sbin/ifconfig/ifconfig.h
Show First 20 Lines • Show All 139 Lines • ▼ Show 20 Lines | |||||
void setifcap(const char *, int value, int s, const struct afswtch *); | void setifcap(const char *, int value, int s, const struct afswtch *); | ||||
void Perror(const char *cmd); | void Perror(const char *cmd); | ||||
void printb(const char *s, unsigned value, const char *bits); | void printb(const char *s, unsigned value, const char *bits); | ||||
void ifmaybeload(const char *name); | void ifmaybeload(const char *name); | ||||
typedef int clone_match_func(const char *); | |||||
typedef void clone_callback_func(int, struct ifreq *); | typedef void clone_callback_func(int, struct ifreq *); | ||||
void clone_setdefcallback(const char *, clone_callback_func *); | void clone_setdefcallback_prefix(const char *, clone_callback_func *); | ||||
void clone_setdefcallback_filter(clone_match_func *, clone_callback_func *); | |||||
void sfp_status(int s, struct ifreq *ifr, int verbose); | void sfp_status(int s, struct ifreq *ifr, int verbose); | ||||
/* | /* | ||||
* XXX expose this so modules that neeed to know of any pending | * XXX expose this so modules that neeed to know of any pending | ||||
* operations on ifmedia can avoid cmd line ordering confusion. | * operations on ifmedia can avoid cmd line ordering confusion. | ||||
*/ | */ | ||||
struct ifmediareq *ifmedia_getstate(int s); | struct ifmediareq *ifmedia_getstate(int s); | ||||
void print_vhid(const struct ifaddrs *, const char *); | void print_vhid(const struct ifaddrs *, const char *); | ||||