Searched refs:ifs (Results 1 - 25 of 40) sorted by relevance

12

/freebsd-11-stable/sbin/routed/
H A Dif.c659 struct interface ifs, ifs0, *ifp, *ifp1; local
757 memcpy(&ifs, &ifs0, sizeof(ifs));
761 if (iff_up(ifs.int_if_flags)) {
764 ifs.int_name);
770 if (iff_up(ifs.int_if_flags)) {
773 ifs.int_name);
779 ifs.int_addr = S_ADDR(INFO_IFA(&info));
781 if (ntohl(ifs.int_addr)>>24 == 0
782 || ntohl(ifs
[all...]
/freebsd-11-stable/lib/libedit/
H A Dtokenizer.c75 Char *ifs; /* In field separator */ local
110 FUN(tok,init)(const Char *ifs)
116 tok->ifs = tok_strdup(ifs ? ifs : IFS);
117 if (tok->ifs == NULL) {
125 tok_free(tok->ifs);
133 tok_free(tok->ifs);
169 tok_free(tok->ifs);
366 if (Strchr(tok->ifs, *pt
[all...]
/freebsd-11-stable/contrib/ipfilter/tools/
H A Dipfs.c90 int changestateif(ifs, fname)
91 char *ifs, *fname;
98 s = strchr(ifs, ',');
103 olen = strlen(ifs);
116 if (!strncmp(ips.ips_is.is_ifname[0], ifs, olen + 1)) {
120 if (!strncmp(ips.ips_is.is_ifname[1], ifs, olen + 1)) {
124 if (!strncmp(ips.ips_is.is_ifname[2], ifs, olen + 1)) {
128 if (!strncmp(ips.ips_is.is_ifname[3], ifs, olen + 1)) {
153 int changenatif(ifs, fname)
154 char *ifs, *fnam
212 char *dirname = NULL, *filename = NULL, *ifs = NULL; local
[all...]
/freebsd-11-stable/contrib/gcclibs/libcpp/
H A Ddirectives.c1690 struct if_stack *ifs = buffer->if_stack; local
1692 if (ifs == NULL)
1696 if (ifs->type == T_ELSE)
1699 cpp_error_with_line (pfile, CPP_DL_ERROR, ifs->line, 0,
1702 ifs->type = T_ELSE;
1705 pfile->state.skipping = ifs->skip_elses;
1706 ifs->skip_elses = true;
1709 ifs->mi_cmacro = 0;
1712 if (!ifs->was_skipping && CPP_OPTION (pfile, warn_endif_labels))
1723 struct if_stack *ifs local
1758 struct if_stack *ifs = buffer->if_stack; local
1789 struct if_stack *ifs; local
2206 struct if_stack *ifs; local
[all...]
/freebsd-11-stable/usr.sbin/ppp/
H A Droute.c209 static char **ifs; /* Figure these out once */ local
212 if (idx > route_nifs || (idx > 0 && ifs[idx-1] == NULL)) {
219 if (ifs) {
220 free(ifs);
221 ifs = NULL;
259 newifs = (char **)realloc(ifs, sizeof(char *) * have);
265 if (ifs) {
266 free(ifs);
267 ifs = NULL;
272 ifs
[all...]
/freebsd-11-stable/lib/libc/gen/
H A Dwordexp.c142 const char *ifs; local
145 ifs = getenv("IFS");
183 ifs != NULL ? ifs : " \t\n",
/freebsd-11-stable/contrib/apr/network_io/unix/
H A Dmulticast.c48 struct ifaddrs *ifp, *ifs; local
58 if (getifaddrs(&ifs) != 0) {
62 for (ifp = ifs; ifp; ifp = ifp->ifa_next) {
73 freeifaddrs(ifs);
/freebsd-11-stable/sys/net/
H A Dif_bridge.c1005 struct ifnet *ifs = bif->bif_ifp; local
1013 ifs->if_bridge = NULL;
1023 if (V_bridge_inherit_mac && sc->sc_ifaddr == ifs) {
1039 bridge_rtdelete(sc, ifs, IFBF_FLUSHALL);
1045 switch (ifs->if_type) {
1053 if (ifs->if_flags & IFF_PROMISC)
1054 (void) ifpromisc(ifs, 0);
1096 struct ifnet *ifs; local
1099 ifs = ifunit(req->ifbr_ifsname);
1100 if (ifs
1630 struct ifnet *ifs; local
1669 struct ifnet *ifs; local
[all...]
H A Dif_tap.c617 struct ifstat *ifs = NULL; local
654 ifs = (struct ifstat *)data;
657 snprintf(ifs->ascii, sizeof(ifs->ascii),
660 ifs->ascii[0] = '\0';
H A Dif_tun.c609 struct ifstat *ifs; local
620 ifs = (struct ifstat *)data;
623 snprintf(ifs->ascii, sizeof(ifs->ascii),
626 ifs->ascii[0] = '\0';
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dntp_request.c2705 struct info_if_stats *ifs = *ifsp; local
2708 if (NULL == ifs)
2711 ZERO(*ifs);
2716 ifs->v6_flag = 1;
2717 ifs->unaddr.addr6 = SOCK_ADDR6(&ep->sin);
2718 ifs->unbcast.addr6 = SOCK_ADDR6(&ep->bcast);
2719 ifs->unmask.addr6 = SOCK_ADDR6(&ep->mask);
2721 ifs->v6_flag = 0;
2722 ifs->unaddr.addr = SOCK_ADDR4(&ep->sin);
2723 ifs
2757 struct info_if_stats *ifs; local
2776 struct info_if_stats *ifs; local
[all...]
H A Dntp_config.c5532 static char ifs[1024]; local
5534 ifs[0] = '\0';
5538 appendstr(ifs, sizeof ifs, "up");
5543 appendstr(ifs, sizeof ifs, "ppp");
5548 appendstr(ifs, sizeof ifs, "loopback");
5553 appendstr(ifs, sizeof ifs, "broadcas
[all...]
/freebsd-11-stable/contrib/ntp/ntpdc/
H A Dntpdc_ops.c3070 struct info_if_stats *ifs,
3092 SET_ADDR(saddr, ntohl(ifs->v6_flag),
3093 ifs->unaddr.addr.s_addr, ifs->unaddr.addr6);
3095 ntohl(ifs->ifnum),
3096 actions[(ifs->action >= 1 && ifs->action < 4) ? ifs->action : 0],
3098 ifs->ignore_packets ? 'D' : 'E',
3099 ifs
3068 iflist( FILE *fp, struct info_if_stats *ifs, size_t items, size_t itemsize, int res ) argument
3133 struct info_if_stats *ifs; local
3151 struct info_if_stats *ifs; local
[all...]
/freebsd-11-stable/contrib/netbsd-tests/bin/sh/
H A Dt_fsplit.sh304 atf_test_case ifs
358 atf_add_test_case ifs
/freebsd-11-stable/bin/sh/
H A Dmiscbltin.c165 const char *ifs; local
220 if ((ifs = bltinlookup("IFS", 1)) == NULL)
221 ifs = " \t\n";
280 if (strchr(ifs, c))
H A Dexpand.c192 const char *ifs; local
195 ifs = ifsset() ? ifsval() : " \t\n";
199 if (strchr(ifs, c) != NULL) {
456 const char *ifs; local
467 ifs = ifsset() ? ifsval() : " \t\n";
469 ifs = "";
489 if (strchr(ifs, '\n') != NULL) {
500 if (strchr(ifs, lastc) != NULL)
/freebsd-11-stable/release/picobsd/tinyware/msh/
H A Dsh4.c121 !anys(ifs->value, cp) &&
172 if (f & DOBLANK && any(c, ifs->value))
196 f & (DOBLANK && any(c, ifs->value)) ||
H A Dsh1.c78 ifs = lookup("IFS");
79 if (ifs->value == null)
80 setval(ifs, " \t\n");
/freebsd-11-stable/contrib/unbound/services/
H A Dlisten_dnsport.h124 * @param ifs: interfaces to open, array of IP addresses, "ip[@port]".
125 * @param num_ifs: length of ifs.
132 char** ifs, int num_ifs, int* reuseport);
153 * for default all ifs.
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Devents.c2101 struct wpa_supplicant *ifs; local
2128 dl_list_for_each(ifs, &wpa_s->radio->ifaces, struct wpa_supplicant,
2130 if (ifs != wpa_s) {
2132 "sibling", ifs->ifname);
2133 res = _wpa_supplicant_event_scan_results(ifs, data, 0,
3711 struct wpa_supplicant *ifs; local
3720 for (ifs = wpa_s; ifs->parent && ifs != ifs
[all...]
/freebsd-11-stable/sys/dev/firewire/
H A Dif_fwe.c354 struct ifstat *ifs = NULL; local
377 ifs = (struct ifstat *)data;
378 snprintf(ifs->ascii, sizeof(ifs->ascii),
/freebsd-11-stable/contrib/unbound/smallapp/
H A Dunbound-checkconf.c339 if(!extstrtoaddr(cfg->ifs[i], &a, &alen)) {
341 cfg->ifs[i]);
344 if(i!=j && strcmp(cfg->ifs[i], cfg->ifs[j])==0)
347 cfg->ifs[i]);
/freebsd-11-stable/contrib/atf/atf-sh/
H A Datf-check.cpp656 std::ifstream ifs(path.c_str(), std::fstream::binary);
657 ifs >> std::noskipws;
658 std::istream_iterator< char > begin(ifs), end;
/freebsd-11-stable/contrib/bmake/
H A Dcond.c168 } ifs[] = { variable in typeref:struct:If
1183 for (info = ifs; ; info++)
1344 * function is, etc. -- by looking in the table of valid "ifs"
1347 for (ifp = ifs; ; ifp++) {
/freebsd-11-stable/usr.sbin/arp/
H A Darp.c838 struct ifreq ifs[MAX_IFS]; local
846 ifc.ifc_len = sizeof(ifs);
847 ifc.ifc_req = ifs;

Completed in 283 milliseconds

12