Changeset View
Changeset View
Standalone View
Standalone View
sbin/ifconfig/ifconfig.h
Show First 20 Lines • Show All 248 Lines • ▼ Show 20 Lines | |||||
}; | }; | ||||
void opt_register(struct option *); | void opt_register(struct option *); | ||||
extern ifconfig_handle_t *lifh; | extern ifconfig_handle_t *lifh; | ||||
extern struct ifreq ifr; | extern struct ifreq ifr; | ||||
extern int allmedia; | extern int allmedia; | ||||
extern int newaddr; | extern int newaddr; | ||||
extern int exit_code; | extern int exit_code; | ||||
extern struct ifconfig_args global_args; | |||||
extern char *f_inet, *f_inet6, *f_ether, *f_addr; | extern char *f_inet, *f_inet6, *f_ether, *f_addr; | ||||
void setifcap(if_ctx *ctx, const char *, int value); | void setifcap(if_ctx *ctx, const char *, int value); | ||||
void setifcapnv(if_ctx *ctx, const char *vname, const char *arg); | void setifcapnv(if_ctx *ctx, const char *vname, const char *arg); | ||||
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); | ||||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |