Lines Matching defs:list

13  * this list of conditions and the following disclaimer.
16 * this list of conditions and the following disclaimer in the documentation
1113 * Add port to open ports list.
1114 * @param list: list head. changed.
1119 * @return false on failure. list in unchanged then.
1122 port_insert(struct listen_port** list, int s, enum listen_type ftype,
1129 item->next = *list;
1134 *list = item;
1241 * @param list: list of open ports, appended to, changed to point to list head.
1245 * @param tls_additional_port: list of additional ssl service port numbers.
1247 * @param proxy_protocol_port: list of PROXYv2 port numbers.
1264 struct addrinfo *hints, const char* port, struct listen_port** list,
1317 if(!port_insert(list, s, is_dnscrypt
1344 if(!port_insert(list, s, is_dnscrypt
1383 if(!port_insert(list, s, port_type, is_pp2, ub_sock)) {
1394 * Add items to commpoint list in front.
1573 listen_list_delete(struct listen_list* list)
1575 struct listen_list *p = list, *pn;
1705 struct config_strlist* list, char*** resif, int* num_resif)
1709 if(num_ifs == 0 && list == NULL) {
1715 log_err("failed to list interfaces: getifaddrs: %s",
1732 if(list) {
1734 for(p = list; p; p = p->next) {
1748 if(num_ifs == 0 && list == NULL) {
1754 for(p = list; p; p = p->next) {
1775 if(list) {
1777 for(p = list; p; p = p->next) {
1797 struct listen_port* list = NULL;
1839 listening_ports_free(list);
1844 listening_ports_free(list);
1853 &hints, portbuf, &list,
1862 listening_ports_free(list);
1870 &hints, portbuf, &list,
1879 listening_ports_free(list);
1884 return list;
1890 &hints, portbuf, &list,
1898 listening_ports_free(list);
1906 &hints, portbuf, &list,
1914 listening_ports_free(list);
1924 do_tcp, &hints, portbuf, &list,
1932 listening_ports_free(list);
1940 do_tcp, &hints, portbuf, &list,
1948 listening_ports_free(list);
1954 return list;
1957 void listening_ports_free(struct listen_port* list)
1960 while(list) {
1961 nx = list->next;
1962 if(list->fd != -1) {
1963 sock_close(list->fd);
1966 if(list->socket) {
1967 free(list->socket->addr);
1968 free(list->socket);
1970 free(list);
1971 list = nx;
1996 /* do not stop the ones that have no tcp_free list
2009 /* do not start the ones that have no tcp_free list, it is no
2142 /** remove first item from list of pending results */
2174 /* unlist the done item from the list of pending results */
2292 /** Add a result to the result list. At the end. */
2319 log_err("malloc failure, for stream result list");
2327 log_err("malloc failure, adding reply to stream result list");
2354 * should be removed, from the tcp_req_info list,