/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | ipft_hx.c | 57 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 D | ipft_tx.c | 147 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 D | ipft_ef.c | 70 static int etherf_readip(buf, cnt, ifn, dir) in etherf_readip() argument 71 char *buf, **ifn; in etherf_readip()
|
H A D | ipft_sn.c | 154 static int snoop_readip(buf, cnt, ifn, dir) in snoop_readip() argument 155 char *buf, **ifn; in snoop_readip()
|
H A D | ipft_td.c | 93 static int tcpd_readip(buf, cnt, ifn, dir) in tcpd_readip() argument 94 char *buf, **ifn; in tcpd_readip()
|
H A D | ipft_pc.c | 217 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 D | netdir_inet_sundry.c | 453 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() 523 if_addr = ntohl(ifn->if_address.s_addr); /* host order */ in get_best_match() 564 bestmatch = ifn; in get_best_match() 577 if (found && (netmask == ntohl(ifn->if_netmask.s_addr))) { in get_best_match() 589 for (ifn = if_info; ifn < (if_info + n_ifs); ifn++) { in get_best_match() [all …]
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | pk1.c | 80 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 D | acquire_iodevs.c | 348 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 D | dhcpagent_ipc.c | 721 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 D | rdsv3_impl.c | 321 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 D | scanner.l | 209 \#[ \t]*ifn?(def)? { /* #if, #ifdef or #ifndef */
|