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

/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dgetaddrinfo-test.c89 char addrstr[256]; local
93 addrstr, sizeof(addrstr)) == NULL) {
102 addrstr,
/freebsd-11-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-11-stable/sys/rpc/
H A Drpc_generic.c363 char *addrstr, *p; local
377 addrstr = strdup(uaddr, M_RPC);
378 if (addrstr == NULL)
385 if (*addrstr != '/') {
386 p = strrchr(addrstr, '.');
392 p = strrchr(addrstr, '.');
409 if (inet_pton(AF_INET, addrstr, &sin->sin_addr) <= 0) {
425 if (inet_pton(AF_INET6, addrstr, &sin6->sin6_addr) <= 0) {
440 strncpy(sun->sun_path, addrstr, sizeof(sun->sun_path) - 1);
448 free(addrstr, M_RP
[all...]
/freebsd-11-stable/lib/libc/rpc/
H A Drpc_generic.c655 char *addrstr, *p; local
669 addrstr = strdup(uaddr);
670 if (addrstr == NULL)
677 if (*addrstr != '/') {
678 p = strrchr(addrstr, '.');
684 p = strrchr(addrstr, '.');
704 if (inet_pton(AF_INET, addrstr, &sin->sin_addr) <= 0) {
721 if (inet_pton(AF_INET6, addrstr, &sin6->sin6_addr) <= 0) {
737 strncpy(sun->sun_path, addrstr, sizeof(sun->sun_path) - 1);
745 free(addrstr);
[all...]
/freebsd-11-stable/usr.sbin/ip6addrctl/
H A Dip6addrctl.c204 char *addrstr; local
225 addrstr = cp;
226 if (parse_prefix((const char *)addrstr, &pol0))
/freebsd-11-stable/usr.bin/sockstat/
H A Dsockstat.c837 char addrstr[NI_MAXHOST] = { '\0', '\0' }; local
843 addrstr[0] = '*';
848 addrstr[0] = '*';
856 if (addrstr[0] == '\0') {
857 error = getnameinfo(sstosa(ss), ss->ss_len, addrstr,
858 sizeof(addrstr), NULL, 0, NI_NUMERICHOST);
863 return xprintf("%s:*", addrstr);
865 return xprintf("%s:%d", addrstr, port);
/freebsd-11-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-11-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-11-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-11-stable/sys/dev/usb/wlan/
H A Dif_urtw.c2147 int16_t addrstr[8], data16, readcmd[] = { 1, 1, 0 }; local
2168 addrstr[0] = addr & (1 << 7);
2169 addrstr[1] = addr & (1 << 6);
2170 addrstr[2] = addr & (1 << 5);
2171 addrstr[3] = addr & (1 << 4);
2172 addrstr[4] = addr & (1 << 3);
2173 addrstr[5] = addr & (1 << 2);
2174 addrstr[6] = addr & (1 << 1);
2175 addrstr[7] = addr & (1 << 0);
2178 addrstr[
[all...]
/freebsd-11-stable/contrib/elftoolchain/addr2line/
H A Daddr2line.c513 translate(Dwarf_Debug dbg, Elf *e, const char* addrstr) argument
529 addr = strtoull(addrstr, NULL, 16);
/freebsd-11-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-11-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 241 milliseconds