Searched refs:hostidv (Results 1 – 8 of 8) sorted by relevance
/dports/net/dante/dante-1.4.3/lib/ |
H A D | socketopt.c | 296 struct in_addr hostidv[HAVE_MAX_HOSTIDS]; local 336 hostidc = getsockethostid(in, ELEMENTS(hostidv), hostidv); 350 hostidv[0] = TOIN(&raddr)->sin_addr; 360 if ((size_t)(hostidc) + 1 > ELEMENTS(hostidv)) { 366 &hostidv[hostidc - 1], 372 hostidv[hostidc - 1].s_addr); 386 hostidc = (unsigned char)ELEMENTS(hostidv) - 1; 389 hostidv[hostidc++] = TOIN(&raddr)->sin_addr; 397 len = sizeof(*hostidv) * hostidc; 398 if ((rc = setsockethostid(target, hostidc, hostidv)) != 0)
|
H A D | method.c | 282 build_addrstr_src(hostidv, hostidc, peer, proxy_ext, proxy, local, in build_addrstr_src() argument 284 const struct in_addr *hostidv; in build_addrstr_src() 302 if (hostidv != NULL && hostidc > 0) { 308 if (inet_ntop(AF_INET, &hostidv[i], ntop, sizeof(ntop)) == NULL) { 312 hostidv[i].s_addr, 362 peerauth, proxyauth, hostidv, hostidc, str, strsize) in build_addrstr_dst() argument 369 const struct in_addr *hostidv; 407 if (hostidv != NULL && hostidc > 0) { 419 if (inet_ntop(AF_INET, &hostidv[i], ntop, sizeof(ntop)) == NULL) { 423 hostidv[i].s_addr,
|
H A D | log.c | 224 init_iologaddr(addr, local_type, local, peer_type, peer, auth, hostidv, hostidc) in init_iologaddr() argument 231 const struct in_addr *hostidv; 281 if (hostidv == NULL || hostidc == 0) 284 memcpy(addr->hostidv, hostidv, sizeof(*hostidv) * hostidc);
|
H A D | tostring.c | 2033 if (inet_ntop(AF_INET, &cinfo->hostidv[i], ntop, sizeof(ntop)) == NULL) { 2037 cinfo->hostidv[i].s_addr,
|
/dports/net/dante/dante-1.4.3/include/ |
H A D | sockd.h | 770 SASSERTX(ELEMENTS((dst)->hostidv) >= (src)->hostidc); \ 773 memcpy((dst)->hostidv, \ 781 bzero((cinfo)->hostidv, sizeof((cinfo)->hostidv)); \ 787 (((object) == NULL || (object)->hostidc == 0) ? NULL : (object)->hostidv) 1181 struct in_addr hostidv[HAVE_MAX_HOSTIDS]; member 2054 struct in_addr hostidv[HAVE_MAX_HOSTIDS]; member 2487 struct in_addr hostidv[HAVE_MAX_HOSTIDS]; 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 | rule.c | 871 ELEMENTS(state->hostidv), 872 state->hostidv); 942 state->hostidv, 973 state->hostidv, 3486 hostidmatches(hostidc, hostidv, hostindex, addr, ruletype, number) in hostidmatches() argument 3488 const struct in_addr *hostidv; 3510 hostid.addr.ipv4 = hostidv[i]; 3534 hostid.addr.ipv4 = hostidv[hostindex - 1];
|
H A D | shmem.c | 614 = cinfo->hostidv[shmem->keystate.keyinfo.hostindex - 1]; 1150 datatomatch = &cinfo->hostidv[shmem->keystate.keyinfo.hostindex - 1];
|
H A D | monitor.c | 702 state->hostidv,
|