Searched refs:addrstr (Results 1 - 13 of 13) sorted by relevance

/freebsd-13-stable/crypto/heimdal/lib/roken/
H A Dgetaddrinfo-test.c89 char addrstr[256]; local
93 addrstr, sizeof(addrstr)) == NULL) {
102 addrstr,
/freebsd-13-stable/usr.sbin/mlx5tool/
H A Dmlx5tool.c46 parse_pci_addr(const char *addrstr, struct mlx5_tool_addr *addr) argument
52 if (addrstr == NULL) {
56 if (strncmp(addrstr, "pci", 3) == 0) {
57 addrstr += 3;
59 while (isdigit(*addrstr) && i < 4) {
60 selarr[i++] = strtoul(addrstr, &eppos, 10);
61 addrstr = eppos;
62 if (*addrstr == ':')
63 addrstr++;
65 if (i > 0 && *addrstr
314 char *addrstr; local
[all...]
/freebsd-13-stable/lib/libc/rpc/
H A Drpc_generic.c657 char *addrstr, *p; local
671 addrstr = strdup(uaddr);
672 if (addrstr == NULL)
679 if (*addrstr != '/') {
680 p = strrchr(addrstr, '.');
686 p = strrchr(addrstr, '.');
706 if (inet_pton(AF_INET, addrstr, &sin->sin_addr) <= 0) {
723 if (inet_pton(AF_INET6, addrstr, &sin6->sin6_addr) <= 0) {
739 strncpy(sun->sun_path, addrstr, sizeof(sun->sun_path) - 1);
747 free(addrstr);
[all...]
/freebsd-13-stable/sys/rpc/
H A Drpc_generic.c367 char *addrstr, *p; local
381 addrstr = strdup(uaddr, M_RPC);
382 if (addrstr == NULL)
389 if (*addrstr != '/') {
390 p = strrchr(addrstr, '.');
396 p = strrchr(addrstr, '.');
413 if (inet_pton(AF_INET, addrstr, &sin->sin_addr) <= 0) {
429 if (inet_pton(AF_INET6, addrstr, &sin6->sin6_addr) <= 0) {
444 strncpy(sun->sun_path, addrstr, sizeof(sun->sun_path) - 1);
452 free(addrstr, M_RP
[all...]
/freebsd-13-stable/usr.sbin/ip6addrctl/
H A Dip6addrctl.c206 char *addrstr; local
227 addrstr = cp;
228 if (parse_prefix((const char *)addrstr, &pol0))
/freebsd-13-stable/usr.bin/sockstat/
H A Dsockstat.c854 char addrstr[NI_MAXHOST] = { '\0', '\0' }; local
860 addrstr[0] = '*';
865 addrstr[0] = '*';
873 if (addrstr[0] == '\0') {
874 error = getnameinfo(sstosa(ss), ss->ss_len, addrstr,
875 sizeof(addrstr), NULL, 0, NI_NUMERICHOST);
880 return xprintf("%s:*", addrstr);
882 return xprintf("%s:%d", addrstr, port);
/freebsd-13-stable/usr.sbin/ppp/
H A Dfilter.c228 addrstr(struct ncprange *addr, unsigned type) function
464 prompt_Printf(prompt, "%s ", addrstr(&fp->f_src, fp->f_srctype));
469 prompt_Printf(prompt, "%s ", addrstr(&fp->f_dst, fp->f_dsttype));
/freebsd-13-stable/crypto/heimdal/appl/ftp/ftp/
H A Dftp.c95 char addrstr[256]; local
98 addrstr, sizeof(addrstr),
100 strlcpy (addrstr, "unknown address", sizeof(addrstr));
102 warn ("connect %s", addrstr);
/freebsd-13-stable/crypto/heimdal/appl/telnet/telnet/
H A Dcommands.c2183 char addrstr[256];
2189 addrstr, sizeof(addrstr),
2191 strlcpy (addrstr, "unknown address", sizeof(addrstr));
2193 printf("Trying %s...\r\n", addrstr);
2239 addrstr, strerror(errno));
2175 char addrstr[256]; local
/freebsd-13-stable/sys/dev/usb/wlan/
H A Dif_urtw.c2143 int16_t addrstr[8], data16, readcmd[] = { 1, 1, 0 }; local
2164 addrstr[0] = addr & (1 << 7);
2165 addrstr[1] = addr & (1 << 6);
2166 addrstr[2] = addr & (1 << 5);
2167 addrstr[3] = addr & (1 << 4);
2168 addrstr[4] = addr & (1 << 3);
2169 addrstr[5] = addr & (1 << 2);
2170 addrstr[6] = addr & (1 << 1);
2171 addrstr[7] = addr & (1 << 0);
2174 addrstr[
[all...]
/freebsd-13-stable/contrib/elftoolchain/addr2line/
H A Daddr2line.c659 translate(Dwarf_Debug dbg, Elf *e, const char* addrstr) argument
675 addr = strtoull(addrstr, NULL, 16);
/freebsd-13-stable/contrib/sendmail/src/
H A Dparseaddr.c3094 ** addrstr -- if not NULL and ruleset does not return $#:
3103 rscheck(rwset, p1, p2, e, flags, logl, host, logid, addr, addrstr)
3113 char **addrstr;
3189 bitset(RSF_ADDR, flags) && addrstr != NULL)
3194 *addrstr = sm_rpool_strdup_x(e->e_rpool, ubuf);
/freebsd-13-stable/contrib/unbound/services/
H A Doutside_network.c1342 static int setup_if(struct port_if* pif, const char* addrstr, argument
1351 if(!ipstrtoaddr(addrstr, UNBOUND_DNS_PORT, &pif->addr, &pif->addrlen) &&
1352 !netblockstrtoaddr(addrstr, UNBOUND_DNS_PORT,

Completed in 249 milliseconds