/illumos-gate/usr/src/cmd/ipf/examples/ |
H A D | mkfilters.sh | 94 ($iface = $_) =~ s/^([a-zA-Z]+\d+).*/$1/; 95 $ifaces{$iface} = $iface; 100 ($inet{$iface} = $_) =~ s/.*inet ([^ ]+) \-\-\> ([^ ]+).*/$1/; 101 ($ppp{$iface} = $_) =~ s/.*inet ([^ ]+) \-\-\> ([^ ]+).*/$2/; 103 ($inet{$iface} = $_) =~ s/.*inet ([^ ]+).*/$1/; 109 $netmask{$iface} = $mask; 112 ($bcast{$iface} = $_) =~ s/.*broadcast ([^ ]+).*/$1/;
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | ast-model.c | 19 static void ast_tree_model_init(GtkTreeModelIface *iface); 151 ast_tree_model_init (GtkTreeModelIface *iface) in ast_tree_model_init() argument 153 iface->get_flags = ast_get_flags; in ast_tree_model_init() 154 iface->get_n_columns = ast_get_n_columns; in ast_tree_model_init() 155 iface->get_column_type = ast_get_column_type; in ast_tree_model_init() 156 iface->get_iter = ast_get_iter; in ast_tree_model_init() 157 iface->get_path = ast_get_path; in ast_tree_model_init() 158 iface->get_value = ast_get_value; in ast_tree_model_init() 159 iface->iter_next = ast_iter_next; in ast_tree_model_init() 160 iface->iter_children = ast_iter_children; in ast_tree_model_init() [all …]
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipftest.c | 72 char *datain, *iface, *ifname, *logout; local 86 iface = NULL; 213 &iface, &dir)) > 0) { 214 if (iface == NULL || *iface == '\0') 215 iface = ifname; 216 ifp = get_unit(iface, IP_V(ip), ifs); 294 if (iface != ifname) { 295 free(iface); 296 iface = ifname;
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usbai_pipe_mgmt.c | 486 int iface = usb_get_if_number(dip); in usba_init_pipe_handle() local 487 if (iface < 0) { in usba_init_pipe_handle() 489 iface = 0; in usba_init_pipe_handle() 504 if (usba_device->usb_shared_taskq_ref_count[iface] == 0) { in usba_init_pipe_handle() 505 usba_device->usb_shared_taskq[iface] = in usba_init_pipe_handle() 512 ASSERT(usba_device->usb_shared_taskq[iface] != NULL); in usba_init_pipe_handle() 514 usba_device->usb_shared_taskq_ref_count[iface]++; in usba_init_pipe_handle() 635 int iface = usb_get_if_number(ph_data->p_dip); in usba_destroy_pipe_handle() local 636 if (iface < 0) { in usba_destroy_pipe_handle() 638 iface = 0; in usba_destroy_pipe_handle() [all …]
|
H A D | usba.c | 3099 int i, ph_open_cnt, req_wrp_leaks, iface; in usba_check_for_leaks() local 3169 for (iface = 0; iface < usba_device->usb_n_ifs; iface++) { in usba_check_for_leaks() 3172 iface, usba_device->usb_client_flags[iface]); in usba_check_for_leaks() 3174 if (usba_device->usb_client_flags[iface] & in usba_check_for_leaks() 3205 if (usba_device->usb_client_flags[iface] & in usba_check_for_leaks() 3208 usb_client_attach_list[iface].dip; in usba_check_for_leaks() 3221 usb_client_attach_list[iface].dip = NULL; in usba_check_for_leaks() 3223 usba_device->usb_client_flags[iface] &= in usba_check_for_leaks() 3227 if (usba_device->usb_client_flags[iface] & in usba_check_for_leaks() 3230 usba_device->usb_client_ev_cb_list[iface]. in usba_check_for_leaks() [all …]
|
H A D | hcdi.c | 557 int iface; in usba_hcdi_cb() local 560 iface = usb_get_if_number(ph_data->p_dip); in usba_hcdi_cb() 561 if (iface < 0) { in usba_hcdi_cb() 563 iface = 0; in usba_hcdi_cb() 565 if (taskq_dispatch(usba_device->usb_shared_taskq[iface], in usba_hcdi_cb()
|
H A D | usba_ugen.c | 1431 uchar_t cfgidx, cfgval, iface, alt, ep; in ugen_epxs_init() local 1461 for (iface = 0; iface < dev_cfg->cfg_n_if; iface++) { in ugen_epxs_init() 1462 if_data = &dev_cfg->cfg_if[iface]; in ugen_epxs_init() 1469 cfgval, cfgidx, iface, alt) != in ugen_epxs_init() 1488 uchar_t cfgval, uchar_t cfgidx, uchar_t iface, uchar_t alt) in ugen_epxs_data_init() argument 1502 cfgval, cfgidx, iface, alt, ep_index); in ugen_epxs_data_init() 1516 epp->ep_if = iface; in ugen_epxs_data_init() 1547 cfgval, cfgidx, iface, alt)); in ugen_epxs_data_init() 1595 uchar_t cfgval, uchar_t cfgidx, uchar_t iface, uchar_t alt) in ugen_epxs_minor_nodes_create() argument 1617 cfgval, cfgidx, iface, alt, ep_addr); in ugen_epxs_minor_nodes_create() [all …]
|
/illumos-gate/usr/src/test/os-tests/tests/spoof-ras/ |
H A D | spoof-ras.c | 65 spoof_get_lla(int s, const char *iface, struct lifreq *addrp, in spoof_get_lla() argument 68 if (strstr(iface, ":")) { in spoof_get_lla() 76 (void) strlcpy(addrp->lifr_name, iface, LIFNAMSIZ); in spoof_get_lla() 82 (void) strlcpy(llap->lifr_name, iface, LIFNAMSIZ); in spoof_get_lla()
|
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/ |
H A D | mDNSPosix.c | 546 PosixNetworkInterface *iface = (PosixNetworkInterface *)InterfaceID; in mDNSPlatformTCPConnect() local 549 SOL_SOCKET, SO_BINDTODEVICE, iface->intfName, strlen(iface->intfName)); in mDNSPlatformTCPConnect() 552 …LogMsg("mDNSPlatformTCPConnect: SO_BINDTODEVICE failed on %s: %s", iface->intfName, strerror(errno… in mDNSPlatformTCPConnect() 559 … result = setsockopt(sock->events.fd, IPPROTO_IP, IP_BOUND_IF, &iface->index, sizeof iface->index); in mDNSPlatformTCPConnect() 563 iface->intfName, iface->index, strerror(errno)); in mDNSPlatformTCPConnect() 567 (void)iface; in mDNSPlatformTCPConnect() 573 …ult = setsockopt(sock->events.fd, IPPROTO_IPV6, IPV6_BOUND_IF, &iface->index, sizeof iface->index); in mDNSPlatformTCPConnect() 577 iface->intfName, iface->index, strerror(errno)); in mDNSPlatformTCPConnect() 581 (void)iface; in mDNSPlatformTCPConnect()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uucico.c | 102 char *iface; /* interface name */ local 174 iface = "UNIX"; 229 iface = optarg; 294 if ( interface(iface) ) { 296 "%s: invalid interface %s\n", Progname, iface);
|
/illumos-gate/usr/src/lib/abi/apptrace/common/ |
H A D | abienv.c | 232 check_intlist(Intlist *list, char const *iface) in check_intlist() argument 238 if (fnmatch(list->i_name, iface, 0) == 0) in check_intlist()
|
/illumos-gate/usr/src/contrib/bhyve/dev/usb/ |
H A D | usbdi.h | 426 struct usb_interface *iface; /* current interface */ member 517 struct usb_interface *iface); 549 uint8_t usbd_get_interface_altindex(struct usb_interface *iface);
|
/illumos-gate/usr/src/uts/common/io/usb/clients/printer/ |
H A D | usbprn.c | 2536 int alt, rval, iface; in usbprn_restore_device_state() local 2594 iface = usb_owns_device(dip) ? 0 : usb_get_if_number(dip); in usbprn_restore_device_state() 2595 if ((rval = usb_set_alt_if(dip, iface, alt, in usbprn_restore_device_state()
|