Home
last modified time | relevance | path

Searched refs:ifn (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/ipf/lib/
H A Dipft_hx.c57 static int hex_readip(buf, cnt, ifn, dir) in hex_readip() argument
58 char *buf, **ifn; in hex_readip()
69 if (ifn)
70 *ifn = NULL;
94 if (ifn)
95 *ifn = strdup(u);
102 } else if (ifn)
103 *ifn = t;
H A Dipft_tx.c147 static int text_readip(buf, cnt, ifn, dir) in text_readip() argument
148 char *buf, **ifn; in text_readip()
154 *ifn = NULL;
166 *ifn = NULL;
168 if (!parseline(line, (ip_t *)buf, ifn, dir))
178 static int parseline(line, ip, ifn, out) in parseline() argument
181 char **ifn;
189 if (*ifn)
190 free(*ifn);
218 *ifn = strdup(*cpp++);
H A Dipft_ef.c70 static int etherf_readip(buf, cnt, ifn, dir) in etherf_readip() argument
71 char *buf, **ifn; in etherf_readip()
H A Dipft_sn.c154 static int snoop_readip(buf, cnt, ifn, dir) in snoop_readip() argument
155 char *buf, **ifn; in snoop_readip()
H A Dipft_td.c93 static int tcpd_readip(buf, cnt, ifn, dir) in tcpd_readip() argument
94 char *buf, **ifn; in tcpd_readip()
H A Dipft_pc.c217 static int pcap_readip(buf, cnt, ifn, dir) in pcap_readip() argument
218 char *buf, **ifn; in pcap_readip()
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dnetdir_inet_sundry.c453 if_info_t *ifn; in is_my_address() local
464 for (ifn = if_info; ifn < (if_info + n_ifs); ifn++) { in is_my_address()
465 if (addr.s_addr == ifn->if_address.s_addr) { in is_my_address()
508 if_info_t *bestmatch, *ifn; in get_best_match() local
521 for (ifn = if_info; ifn < (if_info + n_ifs); ifn++) { in get_best_match()
522 netmask = ntohl(ifn->if_netmask.s_addr); /* host order */ in get_best_match()
564 bestmatch = ifn; in get_best_match()
589 for (ifn = if_info; ifn < (if_info + n_ifs); ifn++) { in get_best_match()
590 if ((ifn->if_flags & IFF_LOOPBACK) == 0) { in get_best_match()
591 bestmatch = ifn; in get_best_match()
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Dpk1.c80 pkopen(ifn, ofn) in pkopen() argument
81 int ifn, ofn; in pkopen()
91 pk->p_ifn = ifn;
171 int k, tries, ifn, noise; local
181 ifn = pk->p_ifn;
197 if (pkcget(ifn, p, HDRSIZ) != SUCCESS) {
213 if (pkcget(ifn, p, pend - p) !=
/illumos-gate/usr/src/cmd/stat/common/
H A Dacquire_iodevs.c348 char *isn, *ispn, *ifn; in iodev_match() local
364 ifn = df->if_names[i]; in iodev_match()
365 ifnl = strlen(ifn); in iodev_match()
366 path = strchr(ifn, '.'); in iodev_match()
368 if ((strcmp(isn, ifn) == 0) || in iodev_match()
369 (ispn && (strcmp(ispn, ifn) == 0))) in iodev_match()
374 ((strncmp(isn, ifn, ifnl) == 0) || in iodev_match()
375 (ispn && (strncmp(ispn, ifn, ifnl) == 0)))) in iodev_match()
/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcpagent_ipc.c721 getinfo_ifnames(const char *ifn, dhcp_optnum_t *optnum, DHCP_OPT **result) in getinfo_ifnames() argument
731 ifnames_head = ifnames = strdup(ifn); in getinfo_ifnames()
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drdsv3_impl.c321 uint_t ifn; in rdsv3_do_ip_ioctl_old() local
337 rval = ksocket_ioctl(so4, SIOCGIFNUM, (intptr_t)&ifn, &rval, in rdsv3_do_ip_ioctl_old()
345 numifs = ifn; in rdsv3_do_ip_ioctl_old()
/illumos-gate/usr/src/tools/cscope-fast/
H A Dscanner.l209 \#[ \t]*ifn?(def)? { /* #if, #ifdef or #ifndef */