Lines Matching refs:addrlen
267 socklen_t addrlen, in MHD_ip_addr_to_key() argument
273 if (sizeof (struct sockaddr_in) == addrlen) in MHD_ip_addr_to_key()
283 if (sizeof (struct sockaddr_in6) == addrlen) in MHD_ip_addr_to_key()
309 socklen_t addrlen) in MHD_ip_limit_add() argument
325 if (MHD_NO == MHD_ip_addr_to_key (addr, addrlen, key)) in MHD_ip_limit_add()
373 socklen_t addrlen) in MHD_ip_limit_del() argument
384 if (MHD_NO == MHD_ip_addr_to_key (addr, addrlen, &search_key)) in MHD_ip_limit_del()
1350 socklen_t addrlen, in internal_add_connection() argument
1373 addr, addrlen, in internal_add_connection()
1413 (MHD_NO == MHD_ip_limit_add (daemon, addr, addrlen)) ) in internal_add_connection()
1431 addr, addrlen)) ) in internal_add_connection()
1441 MHD_ip_limit_del (daemon, addr, addrlen); in internal_add_connection()
1468 MHD_ip_limit_del (daemon, addr, addrlen); in internal_add_connection()
1485 MHD_ip_limit_del (daemon, addr, addrlen); in internal_add_connection()
1494 if (NULL == (connection->addr = malloc (addrlen))) in internal_add_connection()
1504 MHD_ip_limit_del (daemon, addr, addrlen); in internal_add_connection()
1510 memcpy (connection->addr, addr, addrlen); in internal_add_connection()
1511 connection->addr_len = addrlen; in internal_add_connection()
1667 MHD_ip_limit_del (daemon, addr, addrlen); in internal_add_connection()
1961 socklen_t addrlen) in MHD_add_connection() argument
1967 addr, addrlen, in MHD_add_connection()
1993 socklen_t addrlen; in MHD_accept_connection() local
1998 addrlen = sizeof (addrstorage); in MHD_accept_connection()
2012 s = accept4 (fd, addr, &addrlen, SOCK_CLOEXEC | nonblock); in MHD_accept_connection()
2014 s = accept (fd, addr, &addrlen); in MHD_accept_connection()
2016 if ((MHD_INVALID_SOCKET == s) || (addrlen <= 0)) in MHD_accept_connection()
2048 addr, addrlen, in MHD_accept_connection()
3630 socklen_t addrlen; in MHD_start_daemon_va() local
3924 addrlen = sizeof (struct sockaddr_in6); in MHD_start_daemon_va()
3927 addrlen = sizeof (struct sockaddr_in); in MHD_start_daemon_va()
3982 if (-1 == bind (socket_fd, servaddr, addrlen)) in MHD_start_daemon_va()