Home
last modified time | relevance | path

Searched refs:rl_ip_node (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/usr.sbin/inetd/
H A Dratelimit.c61 static struct rl_ip_node *rl_add(struct servtab *, union addr *);
62 static struct rl_ip_node *rl_try_get_ip(struct servtab *, union addr *);
63 static bool rl_ip_eq(struct servtab *, union addr *, struct rl_ip_node *);
68 static void rl_print_found_node(struct servtab *, struct rl_ip_node *);
70 static void rl_log_address_exceed(struct servtab *, struct rl_ip_node *);
71 static const char *rl_node_tostring(struct servtab *, struct rl_ip_node *, char[NI_MAXHOST]);
238 static struct rl_ip_node *
242 struct rl_ip_node *node; in rl_add()
251 node_size = offsetof(struct rl_ip_node, ipv4_addr) in rl_add()
256 node_size = offsetof(struct rl_ip_node, ipv6_addr) in rl_add()
[all …]
H A Dinetd.h191 SLIST_HEAD(iplist, rl_ip_node) se_rl_ip_list; /* per-address (IP) rate limting */
198 struct rl_ip_node { struct
200 SLIST_ENTRY(rl_ip_node) entries;