Searched refs:hostidc (Results 1 – 11 of 11) sorted by relevance
/dports/net/dante/dante-1.4.3/lib/ |
H A D | hostid.c | 62 unsigned char hostidc; local 98 hostidc = 0; 116 hostidc = 0; 120 hostidc = i + 1; 125 SASSERTX(hostidc >= 0); 126 SASSERTX(hostidc <= UCHAR_MAX); 128 slog(LOG_DEBUG, "%s: hostids set: %u", function, (unsigned)hostidc); 130 memcpy(addrv, hostid.ipa_ipaddress, hostidc * sizeof(*hostid.ipa_ipaddress)); 132 return (unsigned char)hostidc;
|
H A D | socketopt.c | 297 unsigned char hostidc; local 339 (unsigned)hostidc, 346 hostidc = 0; 351 hostidc = 1; 360 if ((size_t)(hostidc) + 1 > ELEMENTS(hostidv)) { 366 &hostidv[hostidc - 1], 372 hostidv[hostidc - 1].s_addr); 383 (unsigned)hostidc, 386 hostidc = (unsigned char)ELEMENTS(hostidv) - 1; 389 hostidv[hostidc++] = TOIN(&raddr)->sin_addr; [all …]
|
H A D | method.c | 282 build_addrstr_src(hostidv, hostidc, peer, proxy_ext, proxy, local, in build_addrstr_src() argument 285 const unsigned int hostidc; 302 if (hostidv != NULL && hostidc > 0) { 305 for (i = 0; i < hostidc; ++i) { 362 peerauth, proxyauth, hostidv, hostidc, str, strsize) in build_addrstr_dst() argument 370 const unsigned int hostidc; 407 if (hostidv != NULL && hostidc > 0) { 416 for (i = hostidc - 1; i >= 0; --i) { 431 (i == ((ssize_t)hostidc) - 1) ? "" : " ",
|
H A D | log.c | 224 init_iologaddr(addr, local_type, local, peer_type, peer, auth, hostidv, hostidc) in init_iologaddr() argument 232 const unsigned int hostidc; 281 if (hostidv == NULL || hostidc == 0) 282 addr->hostidc = 0; 284 memcpy(addr->hostidv, hostidv, sizeof(*hostidv) * hostidc); 285 addr->hostidc = hostidc;
|
H A D | tostring.c | 2030 for (i = 0; i < (size_t)cinfo->hostidc; ++i) {
|
/dports/net/dante/dante-1.4.3/include/ |
H A D | sockd.h | 770 SASSERTX(ELEMENTS((dst)->hostidv) >= (src)->hostidc); \ 772 (dst)->hostidc = (src)->hostidc; \ 787 (((object) == NULL || (object)->hostidc == 0) ? NULL : (object)->hostidv) 791 ((object) == NULL ? 0 : (object)->hostidc) 1182 unsigned char hostidc; /* how many hostids are present/set. */ member 2055 unsigned char hostidc; /* how many hostids are present/set. */ member 2488 unsigned char hostidc; /* how many hostids are actually present/set. */ member 2930 hostidmatches(const size_t hostidc, const struct in_addr *hostidv, 3475 const struct in_addr *hostidv, const unsigned int hostidc); 3509 build_addrstr_src(const struct in_addr *hostidv, const unsigned int hostidc, [all …]
|
/dports/net/dante/dante-1.4.3/sockd/ |
H A D | session.c | 122 if (shmem->keystate.keyinfo.hostindex > cinfo->hostidc) { 128 (unsigned)cinfo->hostidc, 129 (unsigned)cinfo->hostidc == 1 ? "" : "es",
|
H A D | rule.c | 870 state->hostidc = getsockethostid(s, 876 (unsigned)state->hostidc, 881 if (ruletype == object_hrule && state->hostidc == 0 ) { 941 if (!hostidmatches(state->hostidc, 972 if (!hostidmatches(state->hostidc, 3487 const size_t hostidc; in hostidmatches() 3507 (unsigned)hostidc); 3509 for (i = 0; i < hostidc; ++i) { 3518 if (hostindex > hostidc) { 3527 (unsigned long)hostidc); [all …]
|
H A D | shmem.c | 611 SASSERTX(shmem->keystate.keyinfo.hostindex <= cinfo->hostidc); 1148 SASSERTX(shmem->keystate.keyinfo.hostindex <= cinfo->hostidc);
|
H A D | sockd_negotiate.c | 1295 if (!permit || (permit && neg->state.hostidc > 0)) { in recv_negotiate()
|
H A D | monitor.c | 701 if (!hostidmatches(state->hostidc,
|