| /netbsd/src/sbin/routed/ |
| D | if.c | 696 struct interface ifs, ifs0, *ifp, *ifp1; in ifinit() local 793 memcpy(&ifs, &ifs0, sizeof(ifs)); in ifinit() 797 if (iff_up(ifs.int_if_flags)) { in ifinit() 800 ifs.int_name); in ifinit() 806 if (iff_up(ifs.int_if_flags)) { in ifinit() 809 ifs.int_name); in ifinit() 815 ifs.int_addr = S_ADDR(INFO_IFA(&info)); in ifinit() 817 if (ntohl(ifs.int_addr)>>24 == 0 in ifinit() 818 || ntohl(ifs.int_addr)>>24 == 0xff) { in ifinit() 819 if (iff_up(ifs.int_if_flags)) { in ifinit() [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/ |
| D | ipa-sra.cc | 750 isra_func_summary *ifs) in dump_isra_param_descriptors() argument 753 if (!ifs->m_parameters) in dump_isra_param_descriptors() 760 i < ifs->m_parameters->length (); in dump_isra_param_descriptors() 766 dump_isra_param_descriptor (f, &(*ifs->m_parameters)[i]); in dump_isra_param_descriptors() 2269 isra_func_summary *ifs, in process_scan_results() argument 2424 vec_safe_reserve_exact (ifs->m_parameters, param_count); in process_scan_results() 2425 ifs->m_parameters->quick_grow_cleared (param_count); in process_scan_results() 2429 isra_param_desc *d = &(*ifs->m_parameters)[desc_index]; in process_scan_results() 2444 dump_isra_param_descriptors (dump_file, node->decl, ifs); in process_scan_results() 2484 isra_func_summary *ifs = func_sums->get (node); in verify_splitting_accesses() local [all …]
|
| /netbsd/src/sys/net/ |
| D | if_bridge.c | 730 struct ifnet *ifs = bif->bif_ifp; in bridge_delete_member() local 734 ifs->_if_input = ether_input; in bridge_delete_member() 735 ifs->if_bridge = NULL; in bridge_delete_member() 736 ifs->if_bridgeif = NULL; in bridge_delete_member() 741 if_linkstate_change_disestablish(ifs, in bridge_delete_member() 743 ether_ifdetachhook_disestablish(ifs, in bridge_delete_member() 748 switch (ifs->if_type) { in bridge_delete_member() 755 (void) ifpromisc(ifs, 0); in bridge_delete_member() 756 IFNET_LOCK(ifs); in bridge_delete_member() 757 (void) ether_disable_vlan_mtu(ifs); in bridge_delete_member() [all …]
|
| /netbsd/src/external/bsd/ipf/dist/tools/ |
| D | ipfs.c | 102 int changestateif(ifs, fname) in changestateif() argument 103 char *ifs, *fname; in changestateif() 110 s = strchr(ifs, ','); 115 olen = strlen(ifs); 128 if (!strncmp(ips.ips_is.is_ifname[0], ifs, olen + 1)) { 132 if (!strncmp(ips.ips_is.is_ifname[1], ifs, olen + 1)) { 136 if (!strncmp(ips.ips_is.is_ifname[2], ifs, olen + 1)) { 140 if (!strncmp(ips.ips_is.is_ifname[3], ifs, olen + 1)) { 165 int changenatif(ifs, fname) in changenatif() argument 166 char *ifs, *fname; in changenatif() [all …]
|
| /netbsd/src/lib/libedit/ |
| D | tokenizer.c | 86 Char *ifs; /* In field separator */ in TYPE() local 121 FUN(tok,init)(const Char *ifs) in TYPE() 127 tok->ifs = tok_strdup(ifs ? ifs : IFS); in TYPE() 128 if (tok->ifs == NULL) { in TYPE() 136 tok_free(tok->ifs); in TYPE() 144 tok_free(tok->ifs); in TYPE() 180 tok_free(tok->ifs); in FUN() 377 if (Strchr(tok->ifs, *ptr) != NULL) in FUN()
|
| /netbsd/src/usr.sbin/ifwatchd/ |
| D | ifwatchd.c | 101 static SLIST_HEAD(,interface_data) ifs = SLIST_HEAD_INITIALIZER(ifs); 447 SLIST_INSERT_HEAD(&ifs, p, next); in list_interfaces() 467 SLIST_FOREACH(p, &ifs, next) in check_carrier() 527 SLIST_FOREACH(p, &ifs, next) { in check_announce() 541 while (!SLIST_EMPTY(&ifs)) { in free_interfaces() 542 p = SLIST_FIRST(&ifs); in free_interfaces() 543 SLIST_REMOVE_HEAD(&ifs, next); in free_interfaces() 554 SLIST_FOREACH(p, &ifs, next) in find_interface() 577 SLIST_FOREACH(ifd, &ifs, next) { in run_initial_ups() 590 SLIST_FOREACH(ifd, &ifs, next) { in run_initial_ups()
|
| /netbsd/src/external/gpl3/gcc/dist/libcpp/ |
| D | directives.cc | 2073 struct if_stack *ifs = buffer->if_stack; in do_else() local 2075 if (ifs == NULL) in do_else() 2079 if (ifs->type == T_ELSE) in do_else() 2082 cpp_error_with_line (pfile, CPP_DL_ERROR, ifs->line, 0, in do_else() 2085 ifs->type = T_ELSE; in do_else() 2088 pfile->state.skipping = ifs->skip_elses; in do_else() 2089 ifs->skip_elses = true; in do_else() 2092 ifs->mi_cmacro = 0; in do_else() 2095 if (!ifs->was_skipping && CPP_OPTION (pfile, warn_endif_labels)) in do_else() 2106 struct if_stack *ifs = buffer->if_stack; in do_elif() local [all …]
|
| /netbsd/src/external/bsd/ntp/dist/ntpd/ |
| D | ntp_request.c | 2785 struct info_if_stats *ifs = *ifsp; in fill_info_if_stats() local 2788 if (NULL == ifs) in fill_info_if_stats() 2791 ZERO(*ifs); in fill_info_if_stats() 2796 ifs->v6_flag = 1; in fill_info_if_stats() 2797 ifs->unaddr.addr6 = SOCK_ADDR6(&ep->sin); in fill_info_if_stats() 2798 ifs->unbcast.addr6 = SOCK_ADDR6(&ep->bcast); in fill_info_if_stats() 2799 ifs->unmask.addr6 = SOCK_ADDR6(&ep->mask); in fill_info_if_stats() 2801 ifs->v6_flag = 0; in fill_info_if_stats() 2802 ifs->unaddr.addr = SOCK_ADDR4(&ep->sin); in fill_info_if_stats() 2803 ifs->unbcast.addr = SOCK_ADDR4(&ep->bcast); in fill_info_if_stats() [all …]
|
| D | ntp_io.c | 2164 char * ifs; in iflags_str() local 2166 LIB_GETBUF(ifs); in iflags_str() 2167 ifs[0] = '\0'; in iflags_str() 2171 append_flagstr(ifs, sz, "up"); in iflags_str() 2176 append_flagstr(ifs, sz, "ppp"); in iflags_str() 2181 append_flagstr(ifs, sz, "loopback"); in iflags_str() 2186 append_flagstr(ifs, sz, "broadcast"); in iflags_str() 2191 append_flagstr(ifs, sz, "multicast"); in iflags_str() 2196 append_flagstr(ifs, sz, "bcastopen"); in iflags_str() 2201 append_flagstr(ifs, sz, "mcastopen"); in iflags_str() [all …]
|
| /netbsd/src/external/bsd/ntp/dist/ntpdc/ |
| D | ntpdc_ops.c | 3072 struct info_if_stats *ifs, in iflist() argument 3094 SET_ADDR(saddr, ntohl(ifs->v6_flag), in iflist() 3095 ifs->unaddr.addr.s_addr, ifs->unaddr.addr6); in iflist() 3097 ntohl(ifs->ifnum), in iflist() 3098 actions[(ifs->action >= 1 && ifs->action < 4) ? ifs->action : 0], in iflist() 3100 ifs->ignore_packets ? 'D' : 'E', in iflist() 3101 ifs->name, in iflist() 3102 (u_long)ntohl(ifs->flags), in iflist() 3103 (u_long)ntohl(ifs->last_ttl), in iflist() 3104 (u_long)ntohl(ifs->num_mcast), in iflist() [all …]
|
| /netbsd/src/lib/libc/gen/ |
| D | wordexp.c | 103 const char *ifs; /* IFS env. var. */ in we_askshell() local 110 if ((ifs = getenv("IFS")) == NULL) in we_askshell() 111 ifs = " \t\n"; in we_askshell() 112 if (asprintf(&cmd, "wordexp%c%s\n", *ifs, words) < 0) in we_askshell()
|
| /netbsd/src/bin/sh/ |
| D | miscbltin.c | 206 const char *ifs; local 283 if ((ifs = bltinlookup("IFS", 1)) == NULL) 284 ifs = " \t\n"; 319 if (strchr(ifs, c)) 395 if (!strchr(ifs, *p))
|
| D | expand.c | 255 const char *ifs = NULL; in argstr() local 259 ifs = ifsval(); in argstr() 378 if (flag & ifs_split && strchr(ifs, c) != NULL) { in argstr() 1389 const char *ifs; in ifsbreakup() local 1406 ifs = ifsval(); in ifsbreakup() 1430 if (!strchr(ifs, *p)) { in ifsbreakup() 1462 if (strchr(ifs, *p) == NULL) { in ifsbreakup()
|
| /netbsd/src/tests/bin/sh/ |
| D | t_fsplit.sh | 386 atf_test_case ifs 423 check_results ifs 625 atf_add_test_case ifs
|
| /netbsd/src/external/bsd/flex/dist/tests/ |
| D | cxx_yywrap.ll | 51 std::ifstream *ifs = new std::ifstream(files[filecounter]); 52 switch_streams(ifs);
|
| /netbsd/src/external/bsd/wpa/dist/wpa_supplicant/ |
| D | events.c | 2815 struct wpa_supplicant *ifs; in wpa_supplicant_event_scan_results() local 2842 dl_list_for_each(ifs, &wpa_s->radio->ifaces, struct wpa_supplicant, in wpa_supplicant_event_scan_results() 2844 if (ifs != wpa_s) { in wpa_supplicant_event_scan_results() 2846 "sibling", ifs->ifname); in wpa_supplicant_event_scan_results() 2847 res = _wpa_supplicant_event_scan_results(ifs, data, 0, in wpa_supplicant_event_scan_results() 5224 struct wpa_supplicant *ifs; in wpa_supplicant_update_channel_list() local 5233 for (ifs = wpa_s; ifs->parent && ifs != ifs->parent; ifs = ifs->parent) in wpa_supplicant_update_channel_list() 5237 wpa_msg(ifs, MSG_INFO, in wpa_supplicant_update_channel_list() 5244 wpas_beacon_hint(ifs, "before", in wpa_supplicant_update_channel_list() 5246 wpas_beacon_hint(ifs, "after", in wpa_supplicant_update_channel_list() [all …]
|
| D | p2p_supplicant.c | 4211 struct wpa_supplicant *ifs; in wpas_is_concurrent_session_active() local 4213 for (ifs = wpa_s->global->ifaces; ifs; ifs = ifs->next) { in wpas_is_concurrent_session_active() 4214 if (ifs == wpa_s) in wpas_is_concurrent_session_active() 4216 if (ifs->wpa_state > WPA_ASSOCIATED) in wpas_is_concurrent_session_active() 6947 struct wpa_supplicant *ifs; in wpas_start_p2p_client() local 7016 dl_list_for_each(ifs, &wpa_s->radio->ifaces, struct wpa_supplicant, in wpas_start_p2p_client() 7018 if (ifs == wpa_s) in wpas_start_p2p_client() 7021 &ifs->last_scan)) { in wpas_start_p2p_client() 7023 wpa_s->last_scan.sec = ifs->last_scan.sec; in wpas_start_p2p_client() 7024 wpa_s->last_scan.usec = ifs->last_scan.usec; in wpas_start_p2p_client() [all …]
|
| D | wpa_supplicant.c | 9019 struct wpa_supplicant *ifs; in get_shared_radio_freqs_data() local 9028 dl_list_for_each(ifs, &wpa_s->radio->ifaces, struct wpa_supplicant, in get_shared_radio_freqs_data() 9033 if (exclude_current && ifs == wpa_s) in get_shared_radio_freqs_data() 9036 if (ifs->current_ssid == NULL || ifs->assoc_freq == 0) in get_shared_radio_freqs_data() 9039 if (ifs->current_ssid->mode == WPAS_MODE_AP || in get_shared_radio_freqs_data() 9040 ifs->current_ssid->mode == WPAS_MODE_P2P_GO || in get_shared_radio_freqs_data() 9041 ifs->current_ssid->mode == WPAS_MODE_MESH) in get_shared_radio_freqs_data() 9042 freq = ifs->current_ssid->frequency; in get_shared_radio_freqs_data() 9043 else if (wpa_drv_get_bssid(ifs, bssid) == 0) in get_shared_radio_freqs_data() 9044 freq = ifs->assoc_freq; in get_shared_radio_freqs_data() [all …]
|
| /netbsd/src/external/bsd/atf/dist/atf-sh/ |
| D | atf-check.cpp | 669 std::ifstream ifs(path.c_str(), std::fstream::binary); in run_output_check() local 670 ifs >> std::noskipws; in run_output_check() 671 std::istream_iterator< char > begin(ifs), end; in run_output_check()
|
| /netbsd/src/external/bsd/ntp/dist/html/hints/ |
| D | decosf1 | 6 and u_long for anything else. A couple of #ifs where changed in
|
| /netbsd/src/sys/arch/ia64/ia64/ |
| D | locore.S | 204 mov cr.ifs = r0
|
| D | exception.S | 158 mov r25 = cr.ifs 386 mov r19=cr.ifs 775 mov cr.ifs=r16
|
| /netbsd/src/sbin/brconfig/ |
| D | brconfig.c | 544 do_bridgeflag(int sock, const char *bridge, const char *ifs, int flag, in do_bridgeflag() argument 549 strlcpy(req.ifbr_ifsname, ifs, sizeof(req.ifbr_ifsname)); in do_bridgeflag()
|
| /netbsd/src/sys/arch/ia64/include/ |
| D | ia64_cpu.h | 469 IA64_CR(ifs)
|
| /netbsd/src/bin/ksh/ |
| D | edit.c | 1028 const char *ifs = str_val(local("IFS", 0)); local 1032 if (strchr("\\$(){}[]?*&;#|<>\"'`", s[add]) || strchr(ifs, s[add])) {
|