| /freebsd-12-stable/sbin/routed/ |
| D | if.c | 661 struct interface ifs, ifs0, *ifp, *ifp1; in ifinit() local 759 memcpy(&ifs, &ifs0, sizeof(ifs)); in ifinit() 763 if (iff_up(ifs.int_if_flags)) { in ifinit() 766 ifs.int_name); in ifinit() 772 if (iff_up(ifs.int_if_flags)) { in ifinit() 775 ifs.int_name); in ifinit() 781 ifs.int_addr = S_ADDR(INFO_IFA(&info)); in ifinit() 783 if (ntohl(ifs.int_addr)>>24 == 0 in ifinit() 784 || ntohl(ifs.int_addr)>>24 == 0xff) { in ifinit() 785 if (iff_up(ifs.int_if_flags)) { in ifinit() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/InterfaceStub/ |
| D | IFSStub.cpp | 14 using namespace llvm::ifs; 61 uint8_t ifs::convertIFSBitWidthToELF(IFSBitWidthType BitWidth) { in convertIFSBitWidthToELF() 72 uint8_t ifs::convertIFSEndiannessToELF(IFSEndiannessType Endianness) { in convertIFSEndiannessToELF() 83 uint8_t ifs::convertIFSSymbolTypeToELF(IFSSymbolType SymbolType) { in convertIFSSymbolTypeToELF() 97 IFSBitWidthType ifs::convertELFBitWidthToIFS(uint8_t BitWidth) { in convertELFBitWidthToIFS() 108 IFSEndiannessType ifs::convertELFEndiannessToIFS(uint8_t Endianness) { in convertELFEndiannessToIFS() 119 IFSSymbolType ifs::convertELFSymbolTypeToIFS(uint8_t SymbolType) { in convertELFSymbolTypeToIFS()
|
| D | IFSHandler.cpp | 20 using namespace llvm::ifs; 174 Expected<std::unique_ptr<IFSStub>> ifs::readIFSFromBuffer(StringRef Buf) { in readIFSFromBuffer() 197 Error ifs::writeIFSToOutputStream(raw_ostream &OS, const IFSStub &Stub) { in writeIFSToOutputStream() 215 Error ifs::overrideIFSTarget(IFSStub &Stub, Optional<IFSArch> OverrideArch, in overrideIFSTarget() 255 Error ifs::validateIFSTarget(IFSStub &Stub, bool ParseTriple) { in validateIFSTarget() 290 IFSTarget ifs::parseTriple(StringRef TripleStr) { in parseTriple() 311 void ifs::stripIFSTarget(IFSStub &Stub, bool StripTriple, bool StripArch, in stripIFSTarget()
|
| /freebsd-12-stable/sbin/ipf/ipfs/ |
| D | ipfs.c | 90 int changestateif(char *ifs, char *fname) in changestateif() argument 97 s = strchr(ifs, ','); in changestateif() 102 olen = strlen(ifs); in changestateif() 115 if (!strncmp(ips.ips_is.is_ifname[0], ifs, olen + 1)) { in changestateif() 119 if (!strncmp(ips.ips_is.is_ifname[1], ifs, olen + 1)) { in changestateif() 123 if (!strncmp(ips.ips_is.is_ifname[2], ifs, olen + 1)) { in changestateif() 127 if (!strncmp(ips.ips_is.is_ifname[3], ifs, olen + 1)) { in changestateif() 152 int changenatif(char *ifs, char *fname) in changenatif() argument 160 s = strchr(ifs, ','); in changenatif() 165 olen = strlen(ifs); in changenatif() [all …]
|
| /freebsd-12-stable/contrib/gcclibs/libcpp/ |
| D | 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 …]
|
| /freebsd-12-stable/contrib/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()
|
| /freebsd-12-stable/usr.sbin/ppp/ |
| D | route.c | 209 static char **ifs; /* Figure these out once */ in Index2Nam() local 212 if (idx > route_nifs || (idx > 0 && ifs[idx-1] == NULL)) { in Index2Nam() 219 if (ifs) { in Index2Nam() 220 free(ifs); in Index2Nam() 221 ifs = NULL; in Index2Nam() 259 newifs = (char **)realloc(ifs, sizeof(char *) * have); in Index2Nam() 265 if (ifs) { in Index2Nam() 266 free(ifs); in Index2Nam() 267 ifs = NULL; in Index2Nam() 272 ifs = newifs; in Index2Nam() [all …]
|
| /freebsd-12-stable/sys/net/ |
| D | if_bridge.c | 1145 struct ifnet *ifs = bif->bif_ifp; in bridge_delete_member() local 1154 ifs->if_bridge = NULL; in bridge_delete_member() 1162 if (V_bridge_inherit_mac && sc->sc_ifaddr == ifs) { in bridge_delete_member() 1180 bridge_rtdelete(sc, ifs, IFBF_FLUSHALL); in bridge_delete_member() 1185 ifs->if_bridge_output = NULL; in bridge_delete_member() 1186 ifs->if_bridge_input = NULL; in bridge_delete_member() 1187 ifs->if_bridge_linkstate = NULL; in bridge_delete_member() 1189 switch (ifs->if_type) { in bridge_delete_member() 1197 if (ifs->if_flags & IFF_PROMISC) in bridge_delete_member() 1198 (void) ifpromisc(ifs, 0); in bridge_delete_member() [all …]
|
| /freebsd-12-stable/contrib/ntp/ntpd/ |
| D | ntp_request.c | 2705 struct info_if_stats *ifs = *ifsp; in fill_info_if_stats() local 2708 if (NULL == ifs) in fill_info_if_stats() 2711 ZERO(*ifs); in fill_info_if_stats() 2716 ifs->v6_flag = 1; in fill_info_if_stats() 2717 ifs->unaddr.addr6 = SOCK_ADDR6(&ep->sin); in fill_info_if_stats() 2718 ifs->unbcast.addr6 = SOCK_ADDR6(&ep->bcast); in fill_info_if_stats() 2719 ifs->unmask.addr6 = SOCK_ADDR6(&ep->mask); in fill_info_if_stats() 2721 ifs->v6_flag = 0; in fill_info_if_stats() 2722 ifs->unaddr.addr = SOCK_ADDR4(&ep->sin); in fill_info_if_stats() 2723 ifs->unbcast.addr = SOCK_ADDR4(&ep->bcast); in fill_info_if_stats() [all …]
|
| D | ntp_config.c | 5694 static char ifs[1024]; in build_iflags() local 5696 ifs[0] = '\0'; in build_iflags() 5700 appendstr(ifs, sizeof ifs, "up"); in build_iflags() 5705 appendstr(ifs, sizeof ifs, "ppp"); in build_iflags() 5710 appendstr(ifs, sizeof ifs, "loopback"); in build_iflags() 5715 appendstr(ifs, sizeof ifs, "broadcast"); in build_iflags() 5720 appendstr(ifs, sizeof ifs, "multicast"); in build_iflags() 5725 appendstr(ifs, sizeof ifs, "bcastopen"); in build_iflags() 5730 appendstr(ifs, sizeof ifs, "mcastopen"); in build_iflags() 5735 appendstr(ifs, sizeof ifs, "wildcard"); in build_iflags() [all …]
|
| /freebsd-12-stable/contrib/ntp/ntpdc/ |
| D | ntpdc_ops.c | 3070 struct info_if_stats *ifs, in iflist() argument 3092 SET_ADDR(saddr, ntohl(ifs->v6_flag), in iflist() 3093 ifs->unaddr.addr.s_addr, ifs->unaddr.addr6); in iflist() 3095 ntohl(ifs->ifnum), in iflist() 3096 actions[(ifs->action >= 1 && ifs->action < 4) ? ifs->action : 0], in iflist() 3098 ifs->ignore_packets ? 'D' : 'E', in iflist() 3099 ifs->name, in iflist() 3100 (u_long)ntohl(ifs->flags), in iflist() 3101 (u_long)ntohl(ifs->last_ttl), in iflist() 3102 (u_long)ntohl(ifs->num_mcast), in iflist() [all …]
|
| /freebsd-12-stable/contrib/unbound/smallapp/ |
| D | unbound-checkconf.c | 353 if(strcmp(cfg->ifs[i], cfg->ifs[i2]) == 0) { in interfacechecks() 356 cfg->ifs[i]); in interfacechecks() 359 if(!resolve_interface_names(&cfg->ifs[i], 1, NULL, &resif[i], in interfacechecks() 362 cfg->ifs[i]); in interfacechecks() 379 if(strcmp(cfg->ifs[i], resif[i][j]) != 0) in interfacechecks() 381 resif[i][j], cfg->ifs[i]); in interfacechecks() 384 cfg->ifs[i]); in interfacechecks() 391 if(strcmp(cfg->ifs[i], resif[i][j]) != 0) in interfacechecks() 392 snprintf(info1, sizeof(info1), "address %s from interface: %s", resif[i][j], cfg->ifs[i]); in interfacechecks() 393 else snprintf(info1, sizeof(info1), "interface: %s", cfg->ifs[i]); in interfacechecks() [all …]
|
| /freebsd-12-stable/contrib/apr/network_io/unix/ |
| D | 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()
|
| /freebsd-12-stable/lib/libc/gen/ |
| D | wordexp.c | 144 const char *ifs; in we_askshell() local 147 ifs = getenv("IFS"); in we_askshell() 185 ifs != NULL ? ifs : " \t\n", in we_askshell()
|
| /freebsd-12-stable/bin/sh/ |
| D | miscbltin.c | 167 const char *ifs; in readcmd() local 222 if ((ifs = bltinlookup("IFS", 1)) == NULL) in readcmd() 223 ifs = " \t\n"; in readcmd() 282 if (strchr(ifs, c)) in readcmd()
|
| /freebsd-12-stable/contrib/unbound/services/ |
| D | listen_dnsport.h | 152 char** ifs, int num_ifs, int* reuseport); 170 int resolve_interface_names(char** ifs, int num_ifs,
|
| /freebsd-12-stable/contrib/netbsd-tests/bin/sh/ |
| D | t_fsplit.sh | 304 atf_test_case ifs 358 atf_add_test_case ifs
|
| /freebsd-12-stable/lib/libifconfig/ |
| D | libifconfig.c | 526 struct ifstat *ifs) in ifconfig_get_ifstatus() argument 528 strlcpy(ifs->ifs_name, name, sizeof(ifs->ifs_name)); in ifconfig_get_ifstatus() 529 return (ifconfig_ioctlwrap(h, AF_LOCAL, SIOCGIFSTATUS, ifs)); in ifconfig_get_ifstatus()
|
| /freebsd-12-stable/contrib/pjdfstest/travis/ |
| D | build.sh | 6 autoreconf -ifs
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/InterfaceStub/ |
| D | ELFObjHandler.h | 25 namespace ifs {
|
| /freebsd-12-stable/contrib/wpa/wpa_supplicant/ |
| D | events.c | 2395 struct wpa_supplicant *ifs; in wpa_supplicant_event_scan_results() local 2422 dl_list_for_each(ifs, &wpa_s->radio->ifaces, struct wpa_supplicant, in wpa_supplicant_event_scan_results() 2424 if (ifs != wpa_s) { in wpa_supplicant_event_scan_results() 2426 "sibling", ifs->ifname); in wpa_supplicant_event_scan_results() 2427 res = _wpa_supplicant_event_scan_results(ifs, data, 0, in wpa_supplicant_event_scan_results() 4295 struct wpa_supplicant *ifs; in wpa_supplicant_update_channel_list() local 4304 for (ifs = wpa_s; ifs->parent && ifs != ifs->parent; ifs = ifs->parent) in wpa_supplicant_update_channel_list() 4308 wpa_msg(ifs, MSG_INFO, in wpa_supplicant_update_channel_list() 4318 dl_list_for_each(ifs, &wpa_s->radio->ifaces, struct wpa_supplicant, in wpa_supplicant_update_channel_list() 4321 ifs->ifname); in wpa_supplicant_update_channel_list() [all …]
|
| /freebsd-12-stable/share/examples/libifconfig/ |
| D | status.c | 460 struct ifstat ifs; in print_iface() local 502 if (ifconfig_get_ifstatus(lifh, ifa->ifa_name, &ifs) == 0) { in print_iface() 503 printf("%s", ifs.ascii); in print_iface()
|
| /freebsd-12-stable/contrib/llvm-project/clang/include/clang/Driver/ |
| D | Types.def | 88 TYPE("ifs", IFS, INVALID, "ifs", phases::IfsMerge) 89 TYPE("ifs-cpp", IFS_CPP, INVALID, "ifs", phases::Compile, phases::…
|
| /freebsd-12-stable/contrib/bc/tests/bc/scripts/ |
| D | all.txt | 17 ifs.bc
|
| /freebsd-12-stable/sys/dev/firewire/ |
| D | if_fwe.c | 356 struct ifstat *ifs = NULL; in fwe_ioctl() local 379 ifs = (struct ifstat *)data; in fwe_ioctl() 380 snprintf(ifs->ascii, sizeof(ifs->ascii), in fwe_ioctl()
|