Symbol: ifc
games/hunt/hunt/list.c
218
struct ifconf ifc;
games/hunt/hunt/list.c
265
ifc.ifc_len = inlen;
games/hunt/hunt/list.c
268
ifc.ifc_buf = inbuf = ninbuf;
games/hunt/hunt/list.c
269
if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0)
games/hunt/hunt/list.c
271
if (ifc.ifc_len + (int)sizeof(*ifr) < inlen)
games/hunt/hunt/list.c
277
ifr = ifc.ifc_req;
games/hunt/hunt/list.c
278
for (i = 0; i < ifc.ifc_len;
libexec/bootpd/getether.c
131
struct ifconf ifc;
libexec/bootpd/getether.c
140
ifc.ifc_len = sizeof(ibuf);
libexec/bootpd/getether.c
141
ifc.ifc_buf = (caddr_t) ibuf;
libexec/bootpd/getether.c
142
if (ioctl(fd, SIOCGIFCONF, (char *) &ifc) < 0 ||
libexec/bootpd/getether.c
143
ifc.ifc_len < sizeof(struct ifreq)) {
libexec/bootpd/getether.c
149
ifend = (struct ifreq *) ((char *) ibuf + ifc.ifc_len);
libexec/rbootd/bpf.c
209
struct ifconf ifc;
libexec/rbootd/bpf.c
223
ifc.ifc_len = sizeof ibuf;
libexec/rbootd/bpf.c
224
ifc.ifc_buf = (caddr_t)ibuf;
libexec/rbootd/bpf.c
226
if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 ||
libexec/rbootd/bpf.c
227
ifc.ifc_len < sizeof(struct ifreq)) {
libexec/rbootd/bpf.c
232
ifend = (struct ifreq *)((char *)ibuf + ifc.ifc_len);
sys/bus/u4b/usb_pf.c
146
usbpf_clone_create(struct if_clone *ifc, int unit, caddr_t params,
sys/dev/disk/isp/isp_freebsd.c
473
struct isp_fc_device *ifc = (struct isp_fc_device *) addr;
sys/dev/disk/isp/isp_freebsd.c
479
if (ifc->loopid >= MAX_FC_TARG) {
sys/dev/disk/isp/isp_freebsd.c
483
lp = &FCPARAM(isp, ifc->chan)->portdb[ifc->loopid];
sys/dev/disk/isp/isp_freebsd.c
485
ifc->role = lp->roles;
sys/dev/disk/isp/isp_freebsd.c
486
ifc->loopid = lp->handle;
sys/dev/disk/isp/isp_freebsd.c
487
ifc->portid = lp->portid;
sys/dev/disk/isp/isp_freebsd.c
488
ifc->node_wwn = lp->node_wwn;
sys/dev/disk/isp/isp_freebsd.c
489
ifc->port_wwn = lp->port_wwn;
sys/dev/raid/dpt/dpt_scsi.c
1098
u_int ifc, u_int code, u_int code2)
sys/dev/raid/dpt/dpt_scsi.c
1144
dpt_outb(dpt, HA_WIFC, ifc);
sys/dev/raid/dpt/dpt_scsi.c
120
u_int ifc, u_int code,
sys/dev/raid/dpt/dpt_scsi.c
149
u_int ifc, u_int code,
sys/dev/raid/dpt/dpt_scsi.c
279
u_int ifc, u_int code, u_int code2)
sys/dev/raid/dpt/dpt_scsi.c
282
EATA_CMD_IMMEDIATE, retries, ifc,
sys/net/bridge/if_bridge.c
707
bridge_clone_create(struct if_clone *ifc, int unit,
sys/net/bridge/if_bridge.c
748
if_initname(ifp, ifc->ifc_name, unit);
sys/net/gif/if_gif.c
138
gif_clone_create(struct if_clone *ifc, int unit,
sys/net/gre/if_gre.c
186
gre_clone_create(struct if_clone *ifc, int unit,
sys/net/if.c
2514
struct ifconf *ifc = (struct ifconf *)data;
sys/net/if.c
2518
int space = ifc->ifc_len, error = 0;
sys/net/if.c
2520
ifrp = ifc->ifc_req;
sys/net/if.c
2616
ifc->ifc_len -= space;
sys/net/if_clone.c
106
struct if_clone *ifc;
sys/net/if_clone.c
116
if ((ifc = if_clone_lookup(ifp->if_dname)) == NULL)
sys/net/if_clone.c
120
if (unit < ifc->ifc_minifs)
sys/net/if_clone.c
123
if (ifc->ifc_destroy == NULL)
sys/net/if_clone.c
127
if_clone_free_unit(ifc, unit);
sys/net/if_clone.c
128
error = ifc->ifc_destroy(ifp);
sys/net/if_clone.c
130
if_clone_alloc_unit(ifc, &unit);
sys/net/if_clone.c
141
if_clone_attach(struct if_clone *ifc)
sys/net/if_clone.c
148
if (strcmp(ifct->ifc_name, ifc->ifc_name) == 0)
sys/net/if_clone.c
152
KASSERT(ifc->ifc_minifs - 1 <= ifc->ifc_maxunit,
sys/net/if_clone.c
154
__func__, ifc->ifc_name, ifc->ifc_minifs,
sys/net/if_clone.c
155
ifc->ifc_maxunit + 1));
sys/net/if_clone.c
159
maxclone = ifc->ifc_maxunit + 1;
sys/net/if_clone.c
163
ifc->ifc_units = kmalloc(len, M_CLONE, M_WAITOK | M_ZERO);
sys/net/if_clone.c
164
ifc->ifc_bmlen = len;
sys/net/if_clone.c
166
LIST_INSERT_HEAD(&if_cloners, ifc, ifc_list);
sys/net/if_clone.c
170
for (unit = 0; unit < ifc->ifc_minifs; unit++) {
sys/net/if_clone.c
171
if_clone_alloc_unit(ifc, &unit);
sys/net/if_clone.c
172
if (if_clone_createif(ifc, unit, NULL, NULL) != 0) {
sys/net/if_clone.c
175
__func__, ifc->ifc_name, unit);
sys/net/if_clone.c
180
EVENTHANDLER_INVOKE(if_clone_event, ifc);
sys/net/if_clone.c
189
if_clone_detach(struct if_clone *ifc)
sys/net/if_clone.c
192
LIST_REMOVE(ifc, ifc_list);
sys/net/if_clone.c
193
kfree(ifc->ifc_units, M_CLONE);
sys/net/if_clone.c
204
struct if_clone *ifc;
sys/net/if_clone.c
219
for (ifc = LIST_FIRST(&if_cloners);
sys/net/if_clone.c
220
ifc != NULL && count != 0;
sys/net/if_clone.c
221
ifc = LIST_NEXT(ifc, ifc_list), count--, dst += IFNAMSIZ) {
sys/net/if_clone.c
223
strlcpy(outbuf, ifc->ifc_name, IFNAMSIZ);
sys/net/if_clone.c
272
if_clone_match(struct if_clone *ifc, const char *name)
sys/net/if_clone.c
278
for (cp = name, i = 0; i < strlen(ifc->ifc_name); i++, cp++) {
sys/net/if_clone.c
279
if (ifc->ifc_name[i] != *cp)
sys/net/if_clone.c
298
struct if_clone *ifc;
sys/net/if_clone.c
300
LIST_FOREACH(ifc, &if_cloners, ifc_list) {
sys/net/if_clone.c
301
if (if_clone_match(ifc, name))
sys/net/if_clone.c
302
return ifc;
sys/net/if_clone.c
316
if_clone_alloc_unit(struct if_clone *ifc, int *unit)
sys/net/if_clone.c
325
while (bytoff < ifc->ifc_bmlen &&
sys/net/if_clone.c
326
ifc->ifc_units[bytoff] == 0xff)
sys/net/if_clone.c
328
if (bytoff >= ifc->ifc_bmlen)
sys/net/if_clone.c
330
while ((ifc->ifc_units[bytoff] & (1 << bitoff)) != 0)
sys/net/if_clone.c
338
if (*unit > ifc->ifc_maxunit)
sys/net/if_clone.c
345
KASSERT((ifc->ifc_units[bytoff] & (1 << bitoff)) == 0,
sys/net/if_clone.c
348
if (ifc->ifc_units[bytoff] & (1 << bitoff))
sys/net/if_clone.c
350
ifc->ifc_units[bytoff] |= (1 << bitoff);
sys/net/if_clone.c
361
if_clone_free_unit(struct if_clone *ifc, int unit)
sys/net/if_clone.c
367
KASSERT((ifc->ifc_units[bytoff] & (1 << bitoff)) != 0,
sys/net/if_clone.c
369
ifc->ifc_units[bytoff] &= ~(1 << bitoff);
sys/net/if_clone.c
378
if_clone_createif(struct if_clone *ifc, int unit, caddr_t params, caddr_t data)
sys/net/if_clone.c
384
ksnprintf(ifname, IFNAMSIZ, "%s%d", ifc->ifc_name, unit);
sys/net/if_clone.c
391
err = (*ifc->ifc_create)(ifc, unit, params, data);
sys/net/if_clone.c
400
err = if_addgroup(ifp, ifc->ifc_name);
sys/net/if_clone.c
61
struct if_clone *ifc;
sys/net/if_clone.c
67
if ((ifc = if_clone_lookup(name)) == NULL)
sys/net/if_clone.c
75
if ((err = if_clone_alloc_unit(ifc, &unit)) != 0) {
sys/net/if_clone.c
80
ksnprintf(ifname, IFNAMSIZ, "%s%d", ifc->ifc_name, unit);
sys/net/if_clone.c
87
if_clone_free_unit(ifc, unit);
sys/net/if_clone.c
92
err = if_clone_createif(ifc, unit, params, data);
sys/net/if_clone.c
94
if_clone_free_unit(ifc, unit);
sys/net/if_clone.h
78
int if_clone_attach(struct if_clone *ifc);
sys/net/if_clone.h
79
void if_clone_detach(struct if_clone *ifc);
sys/net/if_loop.c
106
lo_clone_create(struct if_clone *ifc, int unit,
sys/net/if_loop.c
112
if_initname(ifp, ifc->ifc_name, unit);
sys/net/ipfw3_basic/ip_fw3_log.c
144
ip_fw3_log_clone_create(struct if_clone *ifc, int unit,
sys/net/lagg/if_lagg.c
294
lagg_clone_create(struct if_clone *ifc, int unit,
sys/net/pf/if_pflog.c
113
pflog_clone_create(struct if_clone *ifc, int unit,
sys/net/pf/if_pflog.c
131
if_initname(ifp, ifc->ifc_name, unit);
sys/net/pf/if_pfsync.c
132
pfsync_clone_create(struct if_clone *ifc, int unit,
sys/net/pf/if_pfsync.c
162
if_initname(ifp, ifc->ifc_name, unit);
sys/net/tap/if_tap.c
276
tap_clone_create(struct if_clone *ifc __unused, int unit,
sys/net/tun/if_tun.c
378
tun_clone_create(struct if_clone *ifc __unused, int unit,
sys/net/vlan/if_vlan.c
448
vlan_clone_create(struct if_clone *ifc, int unit,
sys/net/wg/if_wg.c
2822
wg_clone_create(struct if_clone *ifc __unused, int unit,
sys/netinet/ip_carp.c
618
carp_clone_create(struct if_clone *ifc, int unit,
sys/netproto/802_11/wlan/ieee80211_dragonfly.c
115
vap = ic->ic_vap_create(ic, ifc->ifc_name, unit,
sys/netproto/802_11/wlan/ieee80211_dragonfly.c
80
wlan_clone_create(struct if_clone *ifc, int unit, caddr_t params,
test/ifconf/ifconf.c
110
ifc.ifc_len -= len;
test/ifconf/ifconf.c
113
if (ifc.ifc_len != 0)
test/ifconf/ifconf.c
114
printf("ifc_len left %d\n", ifc.ifc_len);
test/ifconf/ifconf.c
34
struct ifconf ifc;
test/ifconf/ifconf.c
57
memset(&ifc, 0, sizeof(ifc));
test/ifconf/ifconf.c
58
ifc.ifc_len = sizeof(struct sockaddr_storage) * naddrs;
test/ifconf/ifconf.c
59
ifc.ifc_buf = malloc(ifc.ifc_len);
test/ifconf/ifconf.c
60
if (ifc.ifc_buf == NULL)
test/ifconf/ifconf.c
63
if (ioctl(s, SIOCGIFCONF, &ifc, sizeof(ifc)) < 0)
test/ifconf/ifconf.c
66
pos = ifc.ifc_buf;
test/ifconf/ifconf.c
67
while (ifc.ifc_len >= (int)sizeof(*ifr)) {
test/ifconf/ifconf.c
72
if (ifc.ifc_len < len)
usr.sbin/arp/arp.c
699
struct ifconf ifc;
usr.sbin/arp/arp.c
707
ifc.ifc_len = sizeof(ifs);
usr.sbin/arp/arp.c
708
ifc.ifc_req = ifs;
usr.sbin/arp/arp.c
709
if (ioctl(sock, SIOCGIFCONF, &ifc) < 0) {
usr.sbin/arp/arp.c
719
ifend = (struct ifreq *) (ifc.ifc_buf + ifc.ifc_len);
usr.sbin/arp/arp.c
720
for (ifr = ifc.ifc_req; ifr < ifend; ) {
usr.sbin/arp/arp.c
764
for (ifr = ifc.ifc_req; ifr < ifend; ) {
usr.sbin/route6d/route6d.c
109
struct ifc *ifa_conf; /* back pointer */
usr.sbin/route6d/route6d.c
123
static struct ifc *ifc;
usr.sbin/route6d/route6d.c
125
static struct ifc **index2ifc;
usr.sbin/route6d/route6d.c
1254
for (ic = ifc; ic; ic = ic->ifc_next) {
usr.sbin/route6d/route6d.c
127
static struct ifc *loopifcp = NULL; /* pointing to loopback */
usr.sbin/route6d/route6d.c
1272
sendrequest(struct ifc *ifcp)
usr.sbin/route6d/route6d.c
1300
riprequest(struct ifc *ifcp, struct netinfo6 *np, int nn,
usr.sbin/route6d/route6d.c
1332
struct ifc *ifcp;
usr.sbin/route6d/route6d.c
1355
if ((ifcp = MALLOC(struct ifc)) == NULL) {
usr.sbin/route6d/route6d.c
1361
ifcp->ifc_next = ifc;
usr.sbin/route6d/route6d.c
1362
ifc = ifcp;
usr.sbin/route6d/route6d.c
1401
ifconfig1(const char *name, const struct sockaddr *sa, struct ifc *ifcp, int s)
usr.sbin/route6d/route6d.c
1484
struct ifc *ifcp, *ic;
usr.sbin/route6d/route6d.c
1673
for (ifcp = ifc; ifcp; ifcp = ifcp->ifc_next)
usr.sbin/route6d/route6d.c
1676
for (ic = ifc; ic; ic = ic->ifc_next) {
usr.sbin/route6d/route6d.c
1797
rt_deladdr(struct ifc *ifcp, const struct sockaddr_in6 *sifa,
usr.sbin/route6d/route6d.c
1907
ifrt(struct ifc *ifcp, int again)
usr.sbin/route6d/route6d.c
201
static void ripsend(struct ifc *, struct sockaddr_in6 *, int);
usr.sbin/route6d/route6d.c
2013
ifrt_p2p(struct ifc *ifcp, int again)
usr.sbin/route6d/route6d.c
202
static int out_filter(struct riprt *, struct ifc *);
usr.sbin/route6d/route6d.c
205
static void ifconfig1(const char *, const struct sockaddr *, struct ifc *, int);
usr.sbin/route6d/route6d.c
209
static int rt_deladdr(struct ifc *, const struct sockaddr_in6 *,
usr.sbin/route6d/route6d.c
216
static int ifrt(struct ifc *, int);
usr.sbin/route6d/route6d.c
217
static void ifrt_p2p(struct ifc *, int);
usr.sbin/route6d/route6d.c
221
static void ifdump0(FILE *, const struct ifc *);
usr.sbin/route6d/route6d.c
225
static void riprequest(struct ifc *, struct netinfo6 *, int,
usr.sbin/route6d/route6d.c
227
static void ripflush(struct ifc *, struct sockaddr_in6 *);
usr.sbin/route6d/route6d.c
228
static void sendrequest(struct ifc *);
usr.sbin/route6d/route6d.c
232
static int addroute(struct riprt *, const struct in6_addr *, struct ifc *);
usr.sbin/route6d/route6d.c
238
static int tobeadv(struct riprt *, struct ifc *);
usr.sbin/route6d/route6d.c
242
static struct ifac *ifa_match(const struct ifc *, const struct in6_addr *, int);
usr.sbin/route6d/route6d.c
249
static struct ifc *ifc_find(char *);
usr.sbin/route6d/route6d.c
250
static struct iff *iff_find(struct ifc *, int);
usr.sbin/route6d/route6d.c
251
static void setindex2ifc(int, struct ifc *);
usr.sbin/route6d/route6d.c
2573
addroute(struct riprt *rrt, const struct in6_addr *gw, struct ifc *ifcp)
usr.sbin/route6d/route6d.c
260
struct ifc *ifcp;
usr.sbin/route6d/route6d.c
2774
struct ifc *ifcp;
usr.sbin/route6d/route6d.c
2788
for (ifcp = ifc; ifcp; ifcp = ifcp->ifc_next) {
usr.sbin/route6d/route6d.c
2807
ifdump0(FILE *dump, const struct ifc *ifcp)
usr.sbin/route6d/route6d.c
2918
struct ifc *ifcp;
usr.sbin/route6d/route6d.c
3036
ifa_match(const struct ifc *ifcp, const struct in6_addr *ia, int plen)
usr.sbin/route6d/route6d.c
3242
static struct ifc *
usr.sbin/route6d/route6d.c
3245
struct ifc *ifcp;
usr.sbin/route6d/route6d.c
3247
for (ifcp = ifc; ifcp; ifcp = ifcp->ifc_next) {
usr.sbin/route6d/route6d.c
3255
iff_find(struct ifc *ifcp, int type)
usr.sbin/route6d/route6d.c
3267
setindex2ifc(int idx, struct ifc *ifcp)
usr.sbin/route6d/route6d.c
3270
struct ifc **p;
usr.sbin/route6d/route6d.c
3274
index2ifc = (struct ifc **)
usr.sbin/route6d/route6d.c
3286
p = (struct ifc **)realloc(index2ifc,
usr.sbin/route6d/route6d.c
341
for (ifcp = ifc; ifcp; ifcp = ifcp->ifc_next) {
usr.sbin/route6d/route6d.c
356
for (ifcp = ifc; ifcp; ifcp = ifcp->ifc_next)
usr.sbin/route6d/route6d.c
410
for (ifcp = ifc; ifcp; ifcp = ifcp->ifc_next) {
usr.sbin/route6d/route6d.c
518
struct ifc *ifcp;
usr.sbin/route6d/route6d.c
548
for (ifcp = ifc; ifcp; ifcp = ifcp->ifc_next) {
usr.sbin/route6d/route6d.c
562
ifc = NULL;
usr.sbin/route6d/route6d.c
659
ripflush(struct ifc *ifcp, struct sockaddr_in6 *sin)
usr.sbin/route6d/route6d.c
708
ripsend(struct ifc *ifcp, struct sockaddr_in6 *sin, int flag)
usr.sbin/route6d/route6d.c
831
out_filter(struct riprt *rrt, struct ifc *ifcp)
usr.sbin/route6d/route6d.c
902
tobeadv(struct riprt *rrt, struct ifc *ifcp)
usr.sbin/route6d/route6d.c
95
struct ifc *ifc_next;
usr.sbin/route6d/route6d.c
991
struct ifc *ifcp, *ic;