/src/sys/dev/pci/ |
com_puc.c | 96 unsigned int iface; local in function:com_puc_attach 100 iface = PCI_INTERFACE(pci_conf_read(aa->pc, aa->tag, PCI_CLASS_REG)); 102 if (iface < __arraycount(serialtype)) 103 aprint_normal(" (%s-compatible)", serialtype[iface]);
|
/src/usr.sbin/altq/libaltq/ |
qop_fifoq.c | 171 struct fifoq_interface iface; local in function:fifoq_attach 183 memset(&iface, 0, sizeof(iface)); 184 strncpy(iface.fifoq_ifname, ifinfo->ifname, IFNAMSIZ); 186 if (ioctl(fifoq_fd, FIFOQ_IF_ATTACH, &iface) < 0) 193 strncpy(conf.iface.fifoq_ifname, ifinfo->ifname, IFNAMSIZ); 199 LOG(LOG_INFO, 0, "fifoq attached to %s", iface.fifoq_ifname); 207 struct fifoq_interface iface; local in function:fifoq_detach 209 memset(&iface, 0, sizeof(iface)); 225 struct fifoq_interface iface; local in function:fifoq_enable 238 struct fifoq_interface iface; local in function:fifoq_disable [all...] |
qop_blue.c | 200 struct blue_interface iface; local in function:blue_attach 212 memset(&iface, 0, sizeof(iface)); 213 strncpy(iface.blue_ifname, ifinfo->ifname, IFNAMSIZ); 215 if (ioctl(blue_fd, BLUE_IF_ATTACH, &iface) < 0) 221 strncpy(conf.iface.blue_ifname, ifinfo->ifname, IFNAMSIZ); 231 LOG(LOG_INFO, 0, "blue attached to %s", iface.blue_ifname); 239 struct blue_interface iface; local in function:blue_detach 241 memset(&iface, 0, sizeof(iface)); 257 struct blue_interface iface; local in function:blue_enable 270 struct blue_interface iface; local in function:blue_disable [all...] |
qop_wfq.c | 204 struct wfq_interface iface; local in function:wfq_attach 216 memset(&iface, 0, sizeof(iface)); 217 strncpy(iface.wfq_ifacename, ifinfo->ifname, IFNAMSIZ); 219 if (ioctl(wfq_fd, WFQ_IF_ATTACH, &iface) < 0) 227 strncpy(conf.iface.wfq_ifacename, ifinfo->ifname, IFNAMSIZ); 237 LOG(LOG_INFO, 0, "wfq attached to %s", iface.wfq_ifacename); 245 struct wfq_interface iface; local in function:wfq_detach 247 memset(&iface, 0, sizeof(iface)); 263 struct wfq_interface iface; local in function:wfq_enable 276 struct wfq_interface iface; local in function:wfq_disable [all...] |
qop_priq.c | 349 struct priq_interface iface; local in function:priq_attach 351 memset(&iface, 0, sizeof(iface)); 352 strncpy(iface.ifname, ifinfo->ifname, IFNAMSIZ); 362 memset(&iface, 0, sizeof(iface)); 363 strncpy(iface.ifname, ifinfo->ifname, IFNAMSIZ); 364 iface.arg = ifinfo->bandwidth; 366 if (ioctl(priq_fd, PRIQ_IF_ATTACH, &iface) < 0) 374 struct priq_interface iface; local in function:priq_detach 392 struct priq_interface iface; local in function:priq_clear 405 struct priq_interface iface; local in function:priq_enable 418 struct priq_interface iface; local in function:priq_disable [all...] |
qop_red.c | 229 struct red_interface iface; local in function:red_attach 241 memset(&iface, 0, sizeof(iface)); 242 strncpy(iface.red_ifname, ifinfo->ifname, IFNAMSIZ); 244 if (ioctl(red_fd, RED_IF_ATTACH, &iface) < 0) 250 strncpy(conf.iface.red_ifname, ifinfo->ifname, IFNAMSIZ); 261 LOG(LOG_INFO, 0, "red attached to %s", iface.red_ifname); 269 struct red_interface iface; local in function:red_detach 271 memset(&iface, 0, sizeof(iface)); 287 struct red_interface iface; local in function:red_enable 300 struct red_interface iface; local in function:red_disable [all...] |
qop_rio.c | 273 struct rio_interface iface; local in function:rio_attach 286 memset(&iface, 0, sizeof(iface)); 287 strncpy(iface.rio_ifname, ifinfo->ifname, IFNAMSIZ); 289 if (ioctl(rio_fd, RIO_IF_ATTACH, &iface) < 0) 295 strncpy(conf.iface.rio_ifname, ifinfo->ifname, IFNAMSIZ); 305 LOG(LOG_INFO, 0, "rio attached to %s", iface.rio_ifname); 313 struct rio_interface iface; local in function:rio_detach 315 memset(&iface, 0, sizeof(iface)); 331 struct rio_interface iface; local in function:rio_enable 344 struct rio_interface iface; local in function:rio_disable [all...] |
/src/usr.sbin/pf/pfs/ |
parse.y | 100 : STATE direction iface proto addrs id cid expire timeout src_peer dst_peer { 118 iface label
|
/src/sys/altq/ |
altq_fifoq.h | 57 struct fifoq_interface iface; member in struct:fifoq_getstats 66 struct fifoq_interface iface; member in struct:fifoq_conf
|
altq_blue.h | 40 struct blue_interface iface; member in struct:blue_stats 54 struct blue_interface iface; member in struct:blue_conf
|
altq_priq.h | 50 struct priq_interface iface; member in struct:priq_add_class 71 struct priq_interface iface; member in struct:priq_delete_class 76 struct priq_interface iface; member in struct:priq_modify_class 84 struct priq_interface iface; member in struct:priq_add_filter 92 struct priq_interface iface; member in struct:priq_delete_filter 113 struct priq_interface iface; member in struct:priq_class_stats
|
altq_rio.h | 47 struct rio_interface iface; member in struct:rio_stats 59 struct rio_interface iface; member in struct:rio_conf
|
altq_wfq.h | 47 struct wfq_interface iface; member in struct:wfq_getqid 55 struct wfq_interface iface; member in struct:wfq_setweight 68 struct wfq_interface iface; member in struct:wfq_getstats 74 struct wfq_interface iface; member in struct:wfq_conf
|
/src/usr.bin/rump_dhcpclient/ |
net.h | 85 const struct interface *iface; member in struct:rt 100 #define get_mtu(iface) do_mtu(iface, 0) 101 #define set_mtu(iface, mtu) do_mtu(iface, mtu) 115 #define add_address(iface, addr, net, brd) \ 116 if_address(iface, addr, net, brd, 1) 117 #define del_address(iface, addr, net) \ 118 if_address(iface, addr, net, NULL, -1) 119 #define has_address(iface, addr, net) [all...] |
net.c | 187 struct interface *iface = NULL; local in function:init_interface 194 iface = xzalloc(sizeof(*iface)); 195 strlcpy(iface->name, ifname, sizeof(iface->name)); 196 iface->flags = ifr.ifr_flags; 199 iface->metric = 200 + if_nametoindex(iface->name); 200 if (getifssid(ifname, iface->ssid) != -1) { 201 iface->wireless = 1 [all...] |
/src/usr.sbin/iwictl/ |
iwictl.c | 62 char *iface = NULL; local in function:main 67 iface = argv[1]; 77 iface = optarg; 89 if (iface == NULL) 93 get_radio_state(iface); 96 get_statistics(iface); 104 (void)fprintf(stderr, "Usage: %s [-i] iface\n" 105 "\t%s [-i] iface -r\n", getprogname(), getprogname()); 111 do_req(const char *iface, unsigned long req, void *data) 121 (void)strncpy(ifr.ifr_name, iface, sizeof(ifr.ifr_name)) [all...] |
/src/usr.sbin/npf/npfd/ |
npfd.c | 180 const char *iface = "npflog0"; local in function:main 200 iface = optarg; 218 npfd_log_t *log = npfd_log_create(filename, iface, filter, snaplen);
|
/src/usr.sbin/ipwctl/ |
ipwctl.c | 63 const char *iface; local in function:main 69 iface = optarg; 72 iface = argv[1]; 75 iface = "ipw0"; 85 get_radio_state(iface); 93 get_statistics(iface); 101 (void)fprintf(stderr, "Usage: %s -i iface\n" 102 "\t%s -i iface -r\n", getprogname(), getprogname()); 108 do_req(const char *iface, unsigned long req, void *data) 118 strncpy(ifr.ifr_name, iface, sizeof(ifr.ifr_name)) [all...] |
/src/sys/dev/usb/ |
umodeswitch.c | 68 struct usbd_interface *iface; local in function:send_bulkmsg 82 err = usbd_device2interface_handle(dev, 0, &iface); 88 id = usbd_get_interface_descriptor(iface); 91 ed = usbd_interface2endpoint_descriptor(iface, i); 103 err = usbd_open_pipe(iface, ed->bEndpointAddress, 235 * One iface means umass mode, more than 1 (4 usually) means 3G mode.
|
aubtfwl.c | 112 struct usbd_interface *iface; local in function:aubtfwl_firmware_load 139 error = usbd_device2interface_handle(sc->sc_udev, 0, &iface); 146 error = usbd_open_pipe(iface, UE_DIR_OUT|2, USBD_EXCLUSIVE_USE, &pipe);
|
if_udav.c | 162 struct usbd_interface *iface; local in function:udav_attach 195 err = usbd_device2interface_handle(dev, UDAV_IFACE_INDEX, &iface); 202 un->un_iface = iface;
|
ugensa.c | 140 struct usbd_interface *iface; local in function:ugensa_attach 170 err = usbd_device2interface_handle(dev, UGENSA_IFACE_INDEX, &iface); 181 id = usbd_get_interface_descriptor(iface); 184 sc->sc_iface = iface; 193 ucaa.ucaa_iface = iface; 201 ed = usbd_interface2endpoint_descriptor(iface, i);
|
uipaq.c | 155 struct usbd_interface *iface; local in function:uipaq_attach 184 err = usbd_device2interface_handle(dev, UIPAQ_IFACE_INDEX, &iface); 193 id = usbd_get_interface_descriptor(iface); 196 sc->sc_iface = iface; 203 ucaa.ucaa_iface = iface; 220 ed = usbd_interface2endpoint_descriptor(iface, i);
|
umidi_quirks.h | 56 int iface; member in struct:umidi_quirk
|
/src/usr.sbin/rpc.bootparamd/ |
bootparamd.c | 65 char *iface = NULL; variable in typeref:typename:char * 89 iface = optarg; 489 if (!iface || strcmp(ifa->ifa_name, iface) == 0)
|