/freebsd/contrib/libpcap/rpcapd/ |
H A D | fileconf.c | 79 hostlist[0] = 0; in fileconf_read() 392 eos = hostlist + strlen(hostlist); in fileconf_read() 393 if (eos != hostlist) in fileconf_read() 399 result = pcapint_strlcat(hostlist, ",", sizeof(hostlist)); in fileconf_read() 400 if (result >= sizeof(hostlist)) in fileconf_read() 415 result = pcapint_strlcat(hostlist, host, sizeof(hostlist)); in fileconf_read() 416 if (result >= sizeof(hostlist)) in fileconf_read() 486 rpcapd_log(LOGPRIO_DEBUG, "New passive host list: %s", hostlist); in fileconf_read() 508 pcapint_strlcpy(temphostlist, hostlist, sizeof (temphostlist)); in fileconf_save()
|
H A D | rpcapd.c | 79 char hostlist[MAX_HOST_LIST + 1]; //!< Keeps the list of the hosts that are allowed to connect to … variable 195 hostlist[0] = 0; in main() 259 pcapint_strlcpy(hostlist, optarg, sizeof(hostlist)); in main() 461 char *hostlist_copy = strdup(hostlist); in main() 1131 char *hostlist; member 1229 char *hostlist_copy = strdup(hostlist); in accept_connection() 1251 params_copy->hostlist = hostlist_copy; in accept_connection() 1302 char *hostlist_copy = strdup(hostlist); in accept_connection() 1388 char *hostlist_copy = strdup(hostlist); in main_active() 1428 (void)daemon_serviceloop(params.sockctrl, 0, params.hostlist, in main_passive_serviceloop_thread()
|
H A D | config_params.h | 51 extern char hostlist[MAX_HOST_LIST + 1]; //!< Keeps the list of the hosts that are allowed to conne…
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | krbhst.c | 468 char **hostlist; in config_get_hosts() local 469 hostlist = krb5_config_get_strings(context, NULL, in config_get_hosts() 473 kd->realm, hostlist ? "" : " not"); in config_get_hosts() 475 if(hostlist == NULL) in config_get_hosts() 478 for(i = 0; hostlist && hostlist[i] != NULL; i++) in config_get_hosts() 479 append_host_string(context, kd, hostlist[i], kd->def_port, kd->port); in config_get_hosts() 481 krb5_config_free_strings(hostlist); in config_get_hosts() 1024 unsigned int type, char ***hostlist) in gethostlist() argument 1043 *hostlist = calloc(nhost + 1, sizeof(**hostlist)); in gethostlist() 1044 if(*hostlist == NULL) { in gethostlist() [all …]
|
/freebsd/usr.sbin/yppush/ |
H A D | yppush_main.c | 497 struct hostlist { in main() struct 499 struct hostlist *next; in main() argument 501 struct hostlist *yppush_hostlist = NULL; in main() 502 struct hostlist *tmp; in main() 518 if ((tmp = (struct hostlist *)malloc(sizeof(struct hostlist))) == NULL) { in main()
|
/freebsd/usr.sbin/mountd/ |
H A D | mountd.c | 95 struct hostlist *dp_hosts; /* List of hosts this dir exported to */ 172 struct hostlist { struct 175 struct hostlist *ht_next; argument 223 static void free_host(struct hostlist *); 236 static struct hostlist *get_ht(void); 1476 struct hostlist *hp; in put_exlist() 1521 if (gotalldir && hp == (struct hostlist *)NULL) { in put_exlist() 2536 dp->dp_hosts = (struct hostlist *)NULL; in add_expdir() 2552 struct hostlist *hp; in hang_dirp() 2606 struct hostlist *hp; in add_dlist() [all …]
|
/freebsd/crypto/heimdal/lib/kadm5/ |
H A D | init_c.c | 95 char **hostlist; in _kadm5_c_init_context() local 97 ret = krb5_get_krb_admin_hst (context, &(*ctx)->realm, &hostlist); in _kadm5_c_init_context() 103 (*ctx)->admin_server = strdup(*hostlist); in _kadm5_c_init_context() 104 krb5_free_krbhst (context, hostlist); in _kadm5_c_init_context()
|
/freebsd/contrib/libpcap/pcap/ |
H A D | pcap.h | 1249 const char *hostlist, char *connectinghost, 1254 const char *hostlist, char *connectinghost, 1258 PCAP_API int pcap_remoteact_list(char *hostlist, char sep, int size,
|
/freebsd/contrib/libpcap/ |
H A D | sockutils.h | 156 int sock_check_hostlist(const char *hostlist, const char *sep, struct sockaddr_storage *from, char …
|
H A D | sockutils.c | 1734 int sock_check_hostlist(const char *hostlist, const char *sep, struct sockaddr_storage *from, char … in sock_check_hostlist() argument 1737 if ((hostlist) && (hostlist[0])) in sock_check_hostlist() 1749 temphostlist = strdup(hostlist); in sock_check_hostlist()
|
H A D | pcap-rpcap.c | 2924 PCAP_SOCKET pcap_remoteact_accept_ex(const char *address, const char *port, const char *hostlist, c… in pcap_remoteact_accept_ex() argument 3027 if (sock_check_hostlist(hostlist, RPCAP_HOSTLIST_SEP, &from, errbuf, PCAP_ERRBUF_SIZE) < 0) in pcap_remoteact_accept_ex() 3117 PCAP_SOCKET pcap_remoteact_accept(const char *address, const char *port, const char *hostlist, char… in pcap_remoteact_accept() argument 3119 return pcap_remoteact_accept_ex(address, port, hostlist, connectinghost, auth, 0, errbuf); in pcap_remoteact_accept() 3258 int pcap_remoteact_list(char *hostlist, char sep, int size, char *errbuf) in pcap_remoteact_list() argument 3267 *hostlist = 0; in pcap_remoteact_list() 3293 pcapint_strlcat(hostlist, hoststr, PCAP_ERRBUF_SIZE); in pcap_remoteact_list() 3294 hostlist[len - 1] = sep; in pcap_remoteact_list() 3295 hostlist[len] = 0; in pcap_remoteact_list()
|
/freebsd/contrib/sendmail/src/ |
H A D | map.c | 5689 char *hostlist, *host; local 5723 hostlist = newstr(pmap->ph_servers); 5724 for (host = strtok(hostlist, " "); 5756 sm_free(hostlist); /* XXX */ 5780 sm_free(hostlist); /* XXX */
|
/freebsd/crypto/heimdal/ |
H A D | ChangeLog.2001 | 505 * lib/krb5/krbhst.c (config_get_hosts): free hostlist
|
H A D | ChangeLog.1998 | 2953 * lib/krb5/krbhst.c: Properly free hostlist.
|