Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/ipf/lib/common/
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.c149 static int text_readip(buf, cnt, ifn, dir) in text_readip() argument
150 char *buf, **ifn; in text_readip()
156 *ifn = NULL;
168 *ifn = NULL;
170 if (!parseline(line, (ip_t *)buf, ifn, dir))
180 static int parseline(line, ip, ifn, out) in parseline() argument
183 char **ifn;
191 if (*ifn)
192 free(*ifn);
220 *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()
/titanic_44/usr/src/lib/libnsl/nss/
H A Dnetdir_inet_sundry.c452 if_info_t *ifn; in is_my_address() local
463 for (ifn = if_info; ifn < (if_info + n_ifs); ifn++) { in is_my_address()
464 if (addr.s_addr == ifn->if_address.s_addr) { in is_my_address()
507 if_info_t *bestmatch, *ifn; in get_best_match() local
520 for (ifn = if_info; ifn < (if_info + n_ifs); ifn++) { in get_best_match()
521 netmask = ntohl(ifn->if_netmask.s_addr); /* host order */ in get_best_match()
522 if_addr = ntohl(ifn->if_address.s_addr); /* host order */ in get_best_match()
563 bestmatch = ifn; in get_best_match()
576 if (found && (netmask == ntohl(ifn->if_netmask.s_addr))) { in get_best_match()
588 for (ifn = if_info; ifn < (if_info + n_ifs); ifn++) { in get_best_match()
[all …]
/titanic_44/usr/src/cmd/bnu/
H A Dpk1.c83 pkopen(ifn, ofn) in pkopen() argument
84 int ifn, ofn; in pkopen()
94 pk->p_ifn = ifn;
174 int k, tries, ifn, noise; local
184 ifn = pk->p_ifn;
200 if (pkcget(ifn, p, HDRSIZ) != SUCCESS) {
216 if (pkcget(ifn, p, pend - p) !=
/titanic_44/usr/src/lib/libwanboot/common/
H A Dbootinfo_aux.c366 netif_init(char *ifn, char *ncs) in netif_init() argument
368 return (bi_put_bootmisc(BI_INTERFACE_NAME, ifn, strlen(ifn) + 1) && in netif_init()
/titanic_44/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()
/titanic_44/usr/src/lib/libdhcpagent/common/
H A Ddhcpagent_ipc.c718 getinfo_ifnames(const char *ifn, dhcp_optnum_t *optnum, DHCP_OPT **result) in getinfo_ifnames() argument
728 ifnames_head = ifnames = strdup(ifn); in getinfo_ifnames()
/titanic_44/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drdsv3_impl.c318 uint_t ifn; in rdsv3_do_ip_ioctl_old() local
334 rval = ksocket_ioctl(so4, SIOCGIFNUM, (intptr_t)&ifn, &rval, in rdsv3_do_ip_ioctl_old()
342 numifs = ifn; in rdsv3_do_ip_ioctl_old()
/titanic_44/usr/src/tools/cscope-fast/
H A Dscanner.l211 \#[ \t]*ifn?(def)? { /* #if, #ifdef or #ifndef */