| /NextBSD/sbin/routed/ |
| HD | if.c | 659 struct interface ifs, ifs0, *ifp, *ifp1; in ifinit() local 757 memcpy(&ifs, &ifs0, sizeof(ifs)); in ifinit() 761 if (iff_up(ifs.int_if_flags)) { in ifinit() 764 ifs.int_name); in ifinit() 770 if (iff_up(ifs.int_if_flags)) { in ifinit() 773 ifs.int_name); in ifinit() 779 ifs.int_addr = S_ADDR(INFO_IFA(&info)); in ifinit() 781 if (ntohl(ifs.int_addr)>>24 == 0 in ifinit() 782 || ntohl(ifs.int_addr)>>24 == 0xff) { in ifinit() 783 if (iff_up(ifs.int_if_flags)) { in ifinit() [all …]
|
| /NextBSD/contrib/ipfilter/tools/ |
| HD | ipfs.c | 99 int changestateif(ifs, fname) in changestateif() argument 100 char *ifs, *fname; in changestateif() 107 s = strchr(ifs, ','); 112 olen = strlen(ifs); 125 if (!strncmp(ips.ips_is.is_ifname[0], ifs, olen + 1)) { 129 if (!strncmp(ips.ips_is.is_ifname[1], ifs, olen + 1)) { 133 if (!strncmp(ips.ips_is.is_ifname[2], ifs, olen + 1)) { 137 if (!strncmp(ips.ips_is.is_ifname[3], ifs, olen + 1)) { 162 int changenatif(ifs, fname) in changenatif() argument 163 char *ifs, *fname; in changenatif() [all …]
|
| /NextBSD/contrib/gcclibs/libcpp/ |
| HD | directives.c | 1690 struct if_stack *ifs = buffer->if_stack; in do_else() local 1692 if (ifs == NULL) in do_else() 1696 if (ifs->type == T_ELSE) in do_else() 1699 cpp_error_with_line (pfile, CPP_DL_ERROR, ifs->line, 0, in do_else() 1702 ifs->type = T_ELSE; in do_else() 1705 pfile->state.skipping = ifs->skip_elses; in do_else() 1706 ifs->skip_elses = true; in do_else() 1709 ifs->mi_cmacro = 0; in do_else() 1712 if (!ifs->was_skipping && CPP_OPTION (pfile, warn_endif_labels)) in do_else() 1723 struct if_stack *ifs = buffer->if_stack; in do_elif() local [all …]
|
| /NextBSD/lib/libedit/ |
| HD | tokenizer.c | 74 Char *ifs; /* In field separator */ in TYPE() local 109 FUN(tok,init)(const Char *ifs) in TYPE() 115 tok->ifs = tok_strdup(ifs ? ifs : IFS); in TYPE() 116 if (tok->ifs == NULL) { in TYPE() 124 tok_free(tok->ifs); in TYPE() 132 tok_free(tok->ifs); in TYPE() 168 tok_free(tok->ifs); in FUN() 365 if (Strchr(tok->ifs, *ptr) != NULL) in FUN()
|
| /NextBSD/usr.sbin/ppp/ |
| HD | route.c | 207 static char **ifs; /* Figure these out once */ in Index2Nam() local 210 if (idx > route_nifs || (idx > 0 && ifs[idx-1] == NULL)) { in Index2Nam() 217 if (ifs) { in Index2Nam() 218 free(ifs); in Index2Nam() 219 ifs = NULL; in Index2Nam() 257 newifs = (char **)realloc(ifs, sizeof(char *) * have); in Index2Nam() 263 if (ifs) { in Index2Nam() 264 free(ifs); in Index2Nam() 265 ifs = NULL; in Index2Nam() 270 ifs = newifs; in Index2Nam() [all …]
|
| /NextBSD/sys/net/ |
| HD | if_bridge.c | 992 struct ifnet *ifs = bif->bif_ifp; in bridge_delete_member() local 1000 ifs->if_bridge = NULL; in bridge_delete_member() 1010 if (V_bridge_inherit_mac && sc->sc_ifaddr == ifs) { in bridge_delete_member() 1026 bridge_rtdelete(sc, ifs, IFBF_FLUSHALL); in bridge_delete_member() 1032 switch (ifs->if_type) { in bridge_delete_member() 1040 if (ifs->if_flags & IFF_PROMISC) in bridge_delete_member() 1041 (void) ifpromisc(ifs, 0); in bridge_delete_member() 1083 struct ifnet *ifs; in bridge_ioctl_add() local 1086 ifs = ifunit(req->ifbr_ifsname); in bridge_ioctl_add() 1087 if (ifs == NULL) in bridge_ioctl_add() [all …]
|
| HD | if_tap.c | 605 struct ifstat *ifs = NULL; in tapifioctl() local 636 ifs = (struct ifstat *)data; in tapifioctl() 639 snprintf(ifs->ascii, sizeof(ifs->ascii), in tapifioctl() 642 ifs->ascii[0] = '\0'; in tapifioctl()
|
| HD | if_tun.c | 537 struct ifstat *ifs; in tunifioctl() local 542 ifs = (struct ifstat *)data; in tunifioctl() 545 snprintf(ifs->ascii, sizeof(ifs->ascii), in tunifioctl() 548 ifs->ascii[0] = '\0'; in tunifioctl()
|
| /NextBSD/contrib/ntp/ntpd/ |
| HD | ntp_request.c | 2593 struct info_if_stats *ifs = *ifsp; in fill_info_if_stats() local 2596 ZERO(*ifs); in fill_info_if_stats() 2602 ifs->v6_flag = 1; in fill_info_if_stats() 2603 ifs->unaddr.addr6 = SOCK_ADDR6(&ep->sin); in fill_info_if_stats() 2604 ifs->unbcast.addr6 = SOCK_ADDR6(&ep->bcast); in fill_info_if_stats() 2605 ifs->unmask.addr6 = SOCK_ADDR6(&ep->mask); in fill_info_if_stats() 2607 ifs->v6_flag = 0; in fill_info_if_stats() 2608 ifs->unaddr.addr = SOCK_ADDR4(&ep->sin); in fill_info_if_stats() 2609 ifs->unbcast.addr = SOCK_ADDR4(&ep->bcast); in fill_info_if_stats() 2610 ifs->unmask.addr = SOCK_ADDR4(&ep->mask); in fill_info_if_stats() [all …]
|
| /NextBSD/contrib/ntp/ntpdc/ |
| HD | ntpdc_ops.c | 3052 struct info_if_stats *ifs, in iflist() argument 3074 SET_ADDR(saddr, ntohl(ifs->v6_flag), in iflist() 3075 ifs->unaddr.addr.s_addr, ifs->unaddr.addr6); in iflist() 3077 ntohl(ifs->ifnum), in iflist() 3078 actions[(ifs->action >= 1 && ifs->action < 4) ? ifs->action : 0], in iflist() 3080 ifs->ignore_packets ? 'D' : 'E', in iflist() 3081 ifs->name, in iflist() 3082 (u_long)ntohl(ifs->flags), in iflist() 3083 (u_long)ntohl(ifs->last_ttl), in iflist() 3084 (u_long)ntohl(ifs->num_mcast), in iflist() [all …]
|
| /NextBSD/contrib/apr/network_io/unix/ |
| HD | multicast.c | 48 struct ifaddrs *ifp, *ifs; in find_if_index() local 58 if (getifaddrs(&ifs) != 0) { in find_if_index() 62 for (ifp = ifs; ifp; ifp = ifp->ifa_next) { in find_if_index() 73 freeifaddrs(ifs); in find_if_index()
|
| /NextBSD/lib/libc/gen/ |
| HD | wordexp.c | 142 const char *ifs; in we_askshell() local 145 ifs = getenv("IFS"); in we_askshell() 183 ifs != NULL ? ifs : " \t\n", in we_askshell()
|
| /NextBSD/contrib/netbsd-tests/bin/sh/ |
| HD | t_fsplit.sh | 138 atf_test_case ifs 184 atf_add_test_case ifs
|
| /NextBSD/bin/sh/ |
| HD | miscbltin.c | 96 const char *ifs; in readcmd() local 150 if ((ifs = bltinlookup("IFS", 1)) == NULL) in readcmd() 151 ifs = " \t\n"; in readcmd() 209 if (strchr(ifs, c)) in readcmd()
|
| HD | expand.c | 192 const char *ifs; in stputs_split() local 195 ifs = ifsset() ? ifsval() : " \t\n"; in stputs_split() 199 if (strchr(ifs, c) != NULL) { in stputs_split() 450 const char *ifs; in expbackq() local 463 ifs = ifsset() ? ifsval() : " \t\n"; in expbackq() 465 ifs = ""; in expbackq() 485 if (strchr(ifs, '\n') != NULL) { in expbackq() 496 if (strchr(ifs, lastc) != NULL) in expbackq()
|
| /NextBSD/contrib/unbound/smallapp/ |
| HD | unbound-checkconf.c | 168 if(!extstrtoaddr(cfg->ifs[i], &a, &alen)) { in interfacechecks() 170 cfg->ifs[i]); in interfacechecks() 173 if(i!=j && strcmp(cfg->ifs[i], cfg->ifs[j])==0) in interfacechecks() 176 cfg->ifs[i]); in interfacechecks()
|
| /NextBSD/sys/dev/firewire/ |
| HD | if_fwe.c | 358 struct ifstat *ifs = NULL; in fwe_ioctl() local 381 ifs = (struct ifstat *)data; in fwe_ioctl() 382 snprintf(ifs->ascii, sizeof(ifs->ascii), in fwe_ioctl()
|
| /NextBSD/contrib/bmake/ |
| HD | cond.c | 167 } ifs[] = { variable 1176 for (info = ifs; ; info++) in Cond_EvalExpression() 1182 if_info = info != NULL ? info : ifs + 4; in Cond_EvalExpression() 1338 for (ifp = ifs; ; ifp++) { in Cond_Eval()
|
| /NextBSD/contrib/libucl/include/ |
| D | ucl++.h | 372 static Ucl parse (std::istream &ifs, std::string &err) in parse() argument 374 return Ucl::parse (std::string(std::istreambuf_iterator<char>(ifs), in parse()
|
| /NextBSD/contrib/unbound/services/ |
| HD | outside_network.c | 481 calc_num46(char** ifs, int num_ifs, int do_ip4, int do_ip6, argument 496 if(str_is_ip6(ifs[i])) { 590 size_t num_ports, char** ifs, int num_ifs, int do_ip4, argument 638 calc_num46(ifs, num_ifs, do_ip4, do_ip6, 704 if(str_is_ip6(ifs[i]) && do_ip6) { 705 if(!setup_if(&outnet->ip6_ifs[done_6], ifs[i], 713 if(!str_is_ip6(ifs[i]) && do_ip4) { 714 if(!setup_if(&outnet->ip4_ifs[done_4], ifs[i], 936 int num_if, struct port_if* ifs) argument 950 pif = &ifs[my_if];
|
| /NextBSD/usr.sbin/arp/ |
| HD | arp.c | 801 struct ifreq ifs[MAX_IFS]; in get_ether_addr() local 809 ifc.ifc_len = sizeof(ifs); in get_ether_addr() 810 ifc.ifc_req = ifs; in get_ether_addr()
|
| /NextBSD/contrib/wpa/wpa_supplicant/ |
| HD | events.c | 1655 struct wpa_supplicant *ifs; in wpa_supplicant_event_scan_results() local 1681 dl_list_for_each(ifs, &wpa_s->radio->ifaces, struct wpa_supplicant, in wpa_supplicant_event_scan_results() 1683 if (ifs != wpa_s) { in wpa_supplicant_event_scan_results() 1685 "sibling", ifs->ifname); in wpa_supplicant_event_scan_results() 1686 _wpa_supplicant_event_scan_results(ifs, data, 0); in wpa_supplicant_event_scan_results() 3008 struct wpa_supplicant *ifs; in wpa_supplicant_update_channel_list() local 3018 dl_list_for_each(ifs, &wpa_s->radio->ifaces, struct wpa_supplicant, in wpa_supplicant_update_channel_list() 3021 ifs->ifname); in wpa_supplicant_update_channel_list() 3022 free_hw_features(ifs); in wpa_supplicant_update_channel_list() 3023 ifs->hw.modes = wpa_drv_get_hw_feature_data( in wpa_supplicant_update_channel_list() [all …]
|
| /NextBSD/contrib/unbound/util/ |
| HD | configparser.y | 284 cfg_parser->cfg->ifs = calloc(1, sizeof(char*)); 285 else cfg_parser->cfg->ifs = realloc(cfg_parser->cfg->ifs, 287 if(!cfg_parser->cfg->ifs) 290 cfg_parser->cfg->ifs[cfg_parser->cfg->num_ifs++] = $2;
|
| /NextBSD/sbin/ifconfig/ |
| HD | ifconfig.c | 1082 struct ifstat ifs; in status() local 1174 strncpy(ifs.ifs_name, name, sizeof ifs.ifs_name); in status() 1175 if (ioctl(s, SIOCGIFSTATUS, &ifs) == 0) in status() 1176 printf("%s", ifs.ascii); in status()
|
| /NextBSD/release/picobsd/tinyware/msh/ |
| HD | sh4.c | 121 !anys(ifs->value, cp) && 172 if (f & DOBLANK && any(c, ifs->value)) 196 f & (DOBLANK && any(c, ifs->value)) ||
|