/dports/security/distcache/distcache-1.5.1/include/libnal/ |
H A D | nal_devel.h | 103 int (*on_create)(NAL_LISTENER *); 104 void (*on_destroy)(NAL_LISTENER *); 105 void (*on_reset)(NAL_LISTENER *); 106 void (*pre_close)(NAL_LISTENER *); 108 int (*listen)(NAL_LISTENER *, const NAL_ADDRESS *); 110 int (*finished)(const NAL_LISTENER *); 112 int (*pre_selector_add)(NAL_LISTENER *, NAL_SELECTOR *); 128 void *nal_listener_get_vtdata(const NAL_LISTENER *); 130 void nal_listener_pre_select(NAL_LISTENER *); 131 void nal_listener_post_select(NAL_LISTENER *); [all …]
|
H A D | nal.h | 29 typedef struct st_NAL_LISTENER NAL_LISTENER; typedef 79 NAL_LISTENER * NAL_LISTENER_new(void); 80 void NAL_LISTENER_free(NAL_LISTENER *list); 81 void NAL_LISTENER_reset(NAL_LISTENER *list); 82 int NAL_LISTENER_create(NAL_LISTENER *list, 84 int NAL_LISTENER_add_to_selector(NAL_LISTENER *list, 86 void NAL_LISTENER_del_from_selector(NAL_LISTENER *list); 87 int NAL_LISTENER_finished(const NAL_LISTENER *list); 93 int NAL_LISTENER_set_fs_owner(NAL_LISTENER *list, 96 int NAL_LISTENER_set_fs_perms(NAL_LISTENER *list, [all …]
|
/dports/security/distcache/distcache-1.5.1/libnal/ |
H A D | nal_listener.c | 110 void *nal_listener_get_vtdata(const NAL_LISTENER *l) in nal_listener_get_vtdata() 121 void nal_listener_pre_select(NAL_LISTENER *l) in nal_listener_pre_select() 127 void nal_listener_post_select(NAL_LISTENER *l) in nal_listener_post_select() 152 NAL_LISTENER *NAL_LISTENER_new(void) in NAL_LISTENER_new() 154 NAL_LISTENER *l = SYS_malloc(NAL_LISTENER, 1); in NAL_LISTENER_new() 167 void NAL_LISTENER_free(NAL_LISTENER *list) in NAL_LISTENER_free() 174 SYS_free(NAL_LISTENER, list); in NAL_LISTENER_free() 177 void NAL_LISTENER_reset(NAL_LISTENER *list) in NAL_LISTENER_reset() 235 int NAL_LISTENER_finished(const NAL_LISTENER *list) in NAL_LISTENER_finished() 244 int NAL_LISTENER_set_fs_owner(NAL_LISTENER *list, in NAL_LISTENER_set_fs_owner() [all …]
|
H A D | proto_std.c | 62 static int list_on_create(NAL_LISTENER *); 63 static void list_on_destroy(NAL_LISTENER *); 64 static int list_listen(NAL_LISTENER *, const NAL_ADDRESS *); 66 static int list_finished(const NAL_LISTENER *); 67 static int list_pre_selector_add(NAL_LISTENER *, NAL_SELECTOR *); 103 static int conn_accept(NAL_CONNECTION *, const NAL_LISTENER *); 263 static int list_on_create(NAL_LISTENER *l) in list_on_create() 268 static void list_on_destroy(NAL_LISTENER *l) in list_on_destroy() 275 static int list_listen(NAL_LISTENER *l, const NAL_ADDRESS *addr) in list_listen() 300 static int list_finished(const NAL_LISTENER *l) in list_finished() [all …]
|
H A D | proto_fd.c | 66 static int list_on_create(NAL_LISTENER *l); 67 static void list_on_destroy(NAL_LISTENER *l); 68 static int list_listen(NAL_LISTENER *l, const NAL_ADDRESS *addr); 70 static int list_finished(const NAL_LISTENER *l); 71 static int list_pre_selector_add(NAL_LISTENER *, NAL_SELECTOR *); 234 static int list_on_create(NAL_LISTENER *l) in list_on_create() 241 static void list_on_destroy(NAL_LISTENER *l) in list_on_destroy() 247 static int list_listen(NAL_LISTENER *l, const NAL_ADDRESS *addr) in list_listen() 267 static int list_finished(const NAL_LISTENER *l) in list_finished() 292 static void list_pre_select(NAL_LISTENER *l, NAL_SELECTOR *sel, in list_pre_select() [all …]
|
H A D | nal_internal.h | 124 NAL_SELECTOR_TOKEN nal_selector_add_listener(NAL_SELECTOR *, NAL_LISTENER *); 126 void nal_selector_del_listener(NAL_SELECTOR *, NAL_LISTENER *, NAL_SELECTOR_TOKEN); 133 unsigned int nal_listener_get_def_buffer_size(const NAL_LISTENER *l); 134 int nal_listener_set_def_buffer_size(NAL_LISTENER *l, unsigned int def_buffer_size);
|
H A D | sel_select.c | 54 NAL_LISTENER *listener; 117 NAL_LISTENER *listener) in obj_table_add_listener() 193 static NAL_SELECTOR_TOKEN sel_add_listener(NAL_SELECTOR *, NAL_LISTENER *); 195 static void sel_del_listener(NAL_SELECTOR *, NAL_LISTENER *, NAL_SELECTOR_TOKEN); 321 NAL_LISTENER *listener) in sel_add_listener() 334 static void sel_del_listener(NAL_SELECTOR *sel, NAL_LISTENER *listener, in sel_del_listener()
|
H A D | sel_poll.c | 47 NAL_LISTENER *listener; 148 NAL_LISTENER *listener) in obj_table_add_listener() 189 static NAL_SELECTOR_TOKEN sel_add_listener(NAL_SELECTOR *, NAL_LISTENER *); 191 static void sel_del_listener(NAL_SELECTOR *, NAL_LISTENER *, NAL_SELECTOR_TOKEN); 269 NAL_LISTENER *listener) in sel_add_listener() 282 static void sel_del_listener(NAL_SELECTOR *sel, NAL_LISTENER *listener, in sel_del_listener()
|
H A D | nal_selector.c | 71 NAL_SELECTOR_TOKEN nal_selector_add_listener(NAL_SELECTOR *s, NAL_LISTENER *l) in nal_selector_add_listener() 83 void nal_selector_del_listener(NAL_SELECTOR *s, NAL_LISTENER *l, NAL_SELECTOR_TOKEN k) in nal_selector_del_listener()
|
H A D | nal_connection.c | 178 int NAL_CONNECTION_accept(NAL_CONNECTION *conn, NAL_LISTENER *list) in NAL_CONNECTION_accept()
|
/dports/security/distcache/distcache-1.5.1/doc/ |
H A D | NAL_LISTENER_new.pod | 11 NAL_LISTENER *NAL_LISTENER_new(void); 12 void NAL_LISTENER_free(NAL_LISTENER *list); 13 void NAL_LISTENER_reset(NAL_LISTENER *list); 14 int NAL_LISTENER_create(NAL_LISTENER *list, const NAL_ADDRESS *addr); 15 void NAL_LISTENER_add_to_selector(const NAL_LISTENER *list, 17 void NAL_LISTENER_del_from_selector(const NAL_LISTENER *list, 20 int NAL_LISTENER_set_fs_owner(NAL_LISTENER *list, 23 int NAL_LISTENER_set_fs_perms(NAL_LISTENER *list, 30 NAL_LISTENER_free() destroys a B<NAL_LISTENER> object. 77 NAL_LISTENER *list = NAL_LISTENER_new(); [all …]
|
H A D | NAL_ADDRESS_new.pod | 41 create a B<NAL_LISTENER> object, then any B<NAL_CONNECTION> objects that are 54 creating a B<NAL_LISTENER> object. In other words, these functions determine 96 B<NAL_LISTENER> object, although it will depend at run-time on the situation in 121 L<NAL_LISTENER_new(2)> - Functions for the NAL_LISTENER type.
|
H A D | NAL_SELECTOR_new.pod | 46 B<NAL_LISTENER> objects for any events appropriate to them and then block 74 L<NAL_LISTENER_new(2)> - Functions for the NAL_LISTENER type.
|
H A D | NAL_CONNECTION_new.pod | 19 int NAL_CONNECTION_accept(NAL_CONNECTION *conn, NAL_LISTENER *list, 90 accepted from a B<NAL_LISTENER> object, then from the address that created the 193 B<NAL_LISTENER> object had already been added to the selector using 292 L<NAL_LISTENER_new(2)> - Functions for the NAL_LISTENER type.
|
H A D | distcache.pod | 110 =item NAL_LISTENER (see L<NAL_LISTENER_new(2)>) 118 This provides an object that can be prepared with various NAL_LISTENER and
|
H A D | NAL_BUFFER_new.pod | 126 L<NAL_LISTENER_new(2)> - Functions for the NAL_LISTENER type.
|
H A D | NAL_decode_uint32.pod | 137 L<NAL_LISTENER_new(2)> - Functions for the NAL_LISTENER type.
|
/dports/security/distcache/distcache-1.5.1/test/ |
H A D | nal_test.c | 192 NAL_LISTENER *n_var = NAL_LISTENER_new(); in do_alloc_timings() 246 NAL_LISTENER *n_var = NAL_LISTENER_new(); in do_create_timings()
|
H A D | echo.c | 119 NAL_LISTENER *listener; in main()
|
H A D | proxy.c | 68 NAL_LISTENER *listener;
|
H A D | pong.c | 294 NAL_LISTENER *listener = NULL; in main()
|
/dports/security/distcache/distcache-1.5.1/sessserver/ |
H A D | server.c | 236 NAL_LISTENER *listener = NAL_LISTENER_new(); in do_server()
|
/dports/security/distcache/distcache-1.5.1/sessclient/ |
H A D | sclient.c | 137 NAL_LISTENER *listener; in main()
|
/dports/security/distcache/distcache-1.5.1/snoop/ |
H A D | snoop.c | 74 NAL_LISTENER *list;
|
/dports/security/distcache/distcache-1.5.1/ |
H A D | CHANGES | 213 *) Make NAL_SELECTOR vtable-based like NAL_ADDRESS, NAL_LISTENER, [etc]. The 473 - NAL_LISTENER and NAL_CONNECTION no longer keep an internal copy of their 479 as keeping a NAL_ADDRESS copy inside NAL_LISTENER and NAL_CONNECTION 695 - NAL_LISTENER_new.pod (all NAL_LISTENER functions)
|