Searched refs:servtab (Results 1 – 5 of 5) sorted by relevance
/netbsd-src/usr.sbin/inetd/ |
H A D | parse_v2.c | 71 static hresult args_handler(struct servtab *, vlist); 72 static hresult bind_handler(struct servtab *, vlist); 73 static hresult exec_handler(struct servtab *, vlist); 74 static hresult filter_handler(struct servtab *, vlist); 75 static hresult group_handler(struct servtab *, vlist); 76 static hresult service_max_handler(struct servtab *, vlist); 77 static hresult ip_max_handler(struct servtab *, vlist); 78 static hresult protocol_handler(struct servtab *, vlist); 79 static hresult recv_buf_handler(struct servtab *, vlist); 80 static hresult send_buf_handler(struct servtab *, vlist); [all …]
|
H A D | inetd.h | 153 struct servtab { struct 195 struct servtab *se_next; argument 233 void setup(struct servtab *); 234 void close_sep(struct servtab *); 235 void register_rpc(struct servtab *); 236 void unregister_rpc(struct servtab *); 237 bool try_biltin(struct servtab *); 246 extern struct servtab *servtab; 253 int parse_protocol(struct servtab *); 254 int parse_wait(struct servtab *, int); [all …]
|
H A D | ratelimit.c | 57 static void rl_reset(struct servtab *, time_t); 59 static void rl_get_name(struct servtab *, int, union addr *); 60 static void rl_drop_connection(struct servtab *, int); 61 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]); 72 static bool rl_process_service_max(struct servtab *, int, time_t *); [all …]
|
H A D | inetd.c | 257 struct servtab *servtab; variable 264 static void chargen_dg(int, struct servtab *); 265 static void chargen_stream(int, struct servtab *); 266 static void daytime_dg(int, struct servtab *); 267 static void daytime_stream(int, struct servtab *); 268 static void discard_dg(int, struct servtab *); 269 static void discard_stream(int, struct servtab *); 270 static void echo_dg(int, struct servtab *); 271 static void echo_stream(int, struct servtab *); 273 static void machtime_dg(int, struct servtab *); [all …]
|
H A D | parse.c | 98 static struct servtab *enter(struct servtab *); 99 static struct servtab *getconfigent(char **); 101 static void print_service(const char *, struct servtab *); 103 static struct servtab init_servtab(void); 108 static bool is_same_service(const struct servtab *, const struct servtab *); 113 static void freeconfig(struct servtab *); 119 static struct servtab serv; 134 struct servtab *sep, *cp; in config() 159 for (sep = servtab; sep != NULL; sep = sep->se_next) in config() 337 static struct servtab * [all …]
|