Skip to the content.

⚠️ This document is auto-generated and may drift as symbols change. The table lists the T symbols nm -gC --defined-only reports for the built libmmt_core.so; the public column is derived from membership in the installed public headers (src/mmt_core/public_include/*.h), not from the symbol table. Regenerate/check with: bash scripts/validate-exported-symbols.sh [--write] — the doc-validators CI job runs it on every PR (issue #187, Task 0.7).

As a basis for a future specification for the public API, here’s a comprehensive list of the symbols exported from libmmt_core.so.

We should probably trim it down to ~30 symbols.

Deprecation note (2026-09, #149): The following 3 public ABI symbols are exported (nm -D local_install/dpi/lib/libmmt_core.so | grep ' T ' confirms) but have 0 callers outside their definition/headers (grep -r <symbol> src sdk/tests sdk/examples tests examples shows only declaration+definition). They are now marked __attribute__((deprecated)) in src/mmt_core/public_include/mmt_core.h:938,795,640 (and mirrored in sdk/include/mmt_core.h) and are scheduled for removal in release 2.0.0 — recorded in CHANGELOG.md (issue #232): setDataLinkType (obsolete, @obsolete since long), get_attribute_extracted_data_encap_index (redundant with get_attribute_extracted_data_at_index), mmt_print_all_protocols (debug helper, prefer iterate_through_protocols).

Deprecation note (2026-09, #237): mmt_search_irc_ssl_detect_ninty_percent_but_very_fast (libmmt_tcpip) keeps its exported symbol for ABI stability but is now __attribute__((deprecated)) in src/mmt_tcpip/lib/protocols/proto_irc.c:375-376. Use the correctly named alias mmt_search_irc_ssl_detect (same signature and behaviour, defined alongside at proto_irc.c:356). The misspelled name is scheduled for removal in release 2.0.0.

Symbol table

# symbol public
1 _get_attribute_extracted_data_at_index_by_name N
2 attribute_ids_comparison_fct N
3 attribute_names_comparison_fct N
4 base_classify_next_proto N
5 char2int Y
6 classified_extraction N
7 clean_packet N
8 clean_packet_with_reassembly N
9 clear_int_map_space N
10 clear_map_space N
11 clear_protocol_stack_map N
12 clear_sessions_from_protocol_context N
13 clear_timeout_milestones N
14 close_extraction Y
15 close_plugins N
16 create_protocol_stats_instance N
17 debug_extracted_attributes_printout_handler Y
18 delete_int_key_value N
19 delete_int_map_space N
20 delete_key_value N
21 delete_map_space N
22 delete_protocol_stack_from_map N
23 delete_session_from_protocol_context N
24 delete_session_map_space N
25 delete_timeout_milestone N
26 disable_hostname_classify Y
27 disable_ip_address_classify Y
28 disable_mmt_reassembly Y
29 disable_port_classify Y
30 disable_port_classify_payload_confirm Y
31 disable_protocol_analysis Y
32 disable_protocol_classification Y
33 disable_protocol_statistics Y
34 dummy_stack_classification N
35 enable_hostname_classify Y
36 enable_ip_address_classify Y
37 enable_mmt_reassembly Y
38 enable_port_classify Y
39 enable_port_classify_payload_confirm Y
40 enable_protocol_analysis Y
41 enable_protocol_classification Y
42 enable_protocol_statistics Y
43 fhexdump N
44 find_int_key_value N
45 find_key_value N
46 fire_attribute_event Y
47 fire_evasion_event Y
48 force_session_timeout N
49 force_sessions_timeout N
50 free_handler_protocol_statistics N
51 free_handler_protocols_statistics N
52 free_protocol_stack N
53 free_protocols_contexts N
54 free_registered_attribute_handlers N
55 free_registered_extraction_attributes N
56 free_registered_packet_handlers N
57 free_registered_protocol N
58 free_registered_protocol_attribute N
59 free_registered_protocols N
60 general_byte_to_byte_extraction Y
61 general_char_extraction Y
62 general_int_extraction Y
63 general_int_extraction_with_ordering_change Y
64 general_short_extraction Y
65 general_short_extraction_with_ordering_change Y
66 generic_data_extraction N
67 getExtractionFunctionByProtocolAndFieldIds N
68 get_active_session_count Y
69 get_application_name Y
70 get_attr_data Y
71 get_attr_data_len Y
72 get_attr_data_type Y
73 get_attr_id Y
74 get_attr_offset Y
75 get_attr_protocol_id Y
76 get_attr_protocol_index Y
77 get_attr_scope Y
78 get_attr_status Y
79 get_attribute_data_type Y
80 get_attribute_data_type_by_id_from_protocol_map N
81 get_attribute_extracted_data Y
82 get_attribute_extracted_data_at_index Y
83 get_attribute_extracted_data_by_name Y
84 get_attribute_extracted_data_encap_index Y
85 get_attribute_extraction_fct_by_id_from_protocol_map N
86 get_attribute_id_by_name_from_protocol_map N
87 get_attribute_id_by_protocol_and_attribute_names Y
88 get_attribute_id_by_protocol_id_and_attribute_name Y
89 get_attribute_length_from_protocol_map N
90 get_attribute_name_by_id_from_protocol_map N
91 get_attribute_name_by_protocol_and_attribute_ids Y
92 get_attribute_position_by_id_from_protocol_map N
93 get_attribute_scope Y
94 get_attribute_scope_by_id_from_protocol_map N
95 get_child_protocol_stats N
96 get_children_stats Y
97 get_classification_threshold Y
98 get_data_link_type Y
99 get_data_size_by_data_type Y
100 get_data_size_by_proto_and_field_ids Y
101 get_extracted_attribute Y
102 get_extracted_attribute_at_index Y
103 get_extracted_attribute_at_index_by_name Y
104 get_extracted_attribute_by_name Y
105 get_field_position_by_protocol_and_field_ids Y
106 get_last_activity_time Y
107 get_packet_offset_at_index Y
108 get_proto_attribute_id Y
109 get_proto_attribute_length Y
110 get_proto_attribute_name Y
111 get_proto_attribute_position Y
112 get_proto_attribute_scope Y
113 get_proto_attribute_type Y
114 get_proto_session_data Y
115 get_proto_session_data_from_packet Y
116 get_protocol_id_at_index Y
117 get_protocol_id_by_name Y
118 get_protocol_index_by_id Y
119 get_protocol_index_by_name Y
120 get_protocol_name_by_id Y
121 get_protocol_stack_from_map N
122 get_protocol_stack_name Y
123 get_protocol_stats Y
124 get_protocol_stats_from_parent N
125 get_protocol_stats_path Y
126 get_protocol_struct_by_id Y
127 get_protocol_struct_by_protocol_id N
128 get_protocol_struct_for_registration_if_free Y
129 get_registered_attribute N
130 get_registered_attribute_internal_struct N
131 get_session_byte_count Y
132 get_session_content_class_id Y
133 get_session_content_flags Y
134 get_session_content_type_id Y
135 get_session_data_byte_count Y
136 get_session_data_cap_volume Y
137 get_session_data_packet_count Y
138 get_session_dl_byte_count Y
139 get_session_dl_cap_byte_count Y
140 get_session_dl_cap_packet_count Y
141 get_session_dl_data_byte_count Y
142 get_session_dl_data_packet_count Y
143 get_session_dl_packet_count Y
144 get_session_from_packet Y
145 get_session_from_protocol_context_by_session_key N
146 get_session_handler Y
147 get_session_id Y
148 get_session_id_from_packet Y
149 get_session_init_time Y
150 get_session_last_activity_time Y
151 get_session_last_data_packet_time_by_direction Y
152 get_session_last_packet_direction Y
153 get_session_next Y
154 get_session_outoforder_count Y
155 get_session_packet_cap_count Y
156 get_session_packet_count Y
157 get_session_parent Y
158 get_session_previous Y
159 get_session_proto_path_direction Y
160 get_session_protocol_hierarchy Y
161 get_session_protocol_index Y
162 get_session_retransmission_count Y
163 get_session_rtt Y
164 get_session_setup_direction Y
165 get_session_total_byte_count Y
166 get_session_total_data_byte_count Y
167 get_session_total_data_cap_volume Y
168 get_session_total_data_packet_count Y
169 get_session_total_dl_byte_count Y
170 get_session_total_dl_cap_byte_count Y
171 get_session_total_dl_cap_packet_count Y
172 get_session_total_dl_data_byte_count Y
173 get_session_total_dl_data_packet_count Y
174 get_session_total_dl_packet_count Y
175 get_session_total_packet_cap_count Y
176 get_session_total_packet_count Y
177 get_session_total_ul_byte_count Y
178 get_session_total_ul_cap_byte_count Y
179 get_session_total_ul_cap_packet_count Y
180 get_session_total_ul_data_byte_count Y
181 get_session_total_ul_data_packet_count Y
182 get_session_total_ul_packet_count Y
183 get_session_ul_byte_count Y
184 get_session_ul_cap_byte_count Y
185 get_session_ul_cap_packet_count Y
186 get_session_ul_data_byte_count Y
187 get_session_ul_data_packet_count Y
188 get_session_ul_packet_count Y
189 get_timed_out_session_list N
190 get_user_session_context Y
191 get_user_session_context_from_packet Y
192 getmapsize N
193 has_registered_attribute_handler Y
194 hashmap_alloc N
195 hashmap_cleanup N
196 hashmap_dump N
197 hashmap_free N
198 hashmap_get N
199 hashmap_init N
200 hashmap_insert_kv N
201 hashmap_remove N
202 hashmap_walk N
203 hex2char Y
204 hex2dec Y
205 hex2int Y
206 hex2str Y
207 hexdump N
208 htoi Y
209 init_extraction Y
210 init_int_map_space N
211 init_map_space N
212 init_plugins N
213 init_proto_meta_struct N
214 init_proto_unknown_struct N
215 init_protocol_struct N
216 init_protocol_struct_for_registration Y
217 init_session_map_space N
218 insert_int_key_value N
219 insert_key_value N
220 insert_protocol_stack_into_map N
221 insert_session_into_protocol_context N
222 insert_session_timeout_milestone N
223 int_mapspace_iteration_callback N
224 internal_attribute_iterator_callback N
225 internal_extract_attribute N
226 internal_handler_iterator_callback N
227 internal_protocol_children_stats_iterator N
228 is_free_protocol_id_for_registractionl Y
229 is_protocol_attribute Y
230 is_protocol_valid_attribute N
231 is_registered_attribute Y
232 is_registered_attribute_handler Y
233 is_registered_packet_handler Y
234 is_registered_protocol Y
235 is_valid_proto_attribute Y
236 is_valid_protocol_id Y
237 iterate_through_mmt_handlers Y
238 iterate_through_protocol_attributes Y
239 iterate_through_protocol_stacks N
240 iterate_through_protocols Y
241 load_plugin N
242 load_plugins N
243 mapspace_iteration_callback N
244 meta_session_data_analysis N
245 meta_session_data_init N
246 mmt_arena_alloc Y
247 mmt_arena_create Y
248 mmt_arena_destroy Y
249 mmt_arena_reset Y
250 mmt_attr_format Y
251 mmt_attr_fprintf Y
252 mmt_attr_snprintf N
253 mmt_attr_sprintf Y
254 mmt_binary_format N
255 mmt_binary_fprintf N
256 mmt_binary_snprintf N
257 mmt_caplen_guard_refused_count N
258 mmt_caplen_guard_stats_reset N
259 mmt_caplen_guard_total_count N
260 mmt_caplen_guard_unvalidated_count N
261 mmt_char_format N
262 mmt_char_fprintf N
263 mmt_char_snprintf N
264 mmt_close_handler Y
265 mmt_close_handler_internal N
266 mmt_drop_packet Y
267 mmt_float_snprintf N
268 mmt_free Y
269 mmt_header_line_pointer_format N
270 mmt_header_line_pointer_fprintf N
271 mmt_header_line_pointer_snprintf N
272 mmt_inet_ntop Y
273 mmt_init_handler Y
274 mmt_ip6_format N
275 mmt_ip6_fprintf N
276 mmt_ip6_snprintf N
277 mmt_ip_format N
278 mmt_ip_fprintf N
279 mmt_ip_snprintf N
280 mmt_mac_format N
281 mmt_mac_fprintf N
282 mmt_mac_snprintf N
283 mmt_malloc Y
284 mmt_match_prefix N
285 mmt_path_format N
286 mmt_path_fprintf N
287 mmt_path_snprintf N
288 mmt_pointer_format N
289 mmt_pointer_fprintf N
290 mmt_pointer_snprintf N
291 mmt_print_all_protocols Y
292 mmt_print_info Y
293 mmt_print_proto_info N
294 mmt_realloc Y
295 mmt_stats_format N
296 mmt_stats_fprintf N
297 mmt_stats_snprintf N
298 mmt_strcasecmp Y
299 mmt_strcmp Y
300 mmt_string_format N
301 mmt_string_fprintf N
302 mmt_string_pointer_format N
303 mmt_string_pointer_fprintf N
304 mmt_string_pointer_snprintf N
305 mmt_string_snprintf N
306 mmt_strncasecmp Y
307 mmt_strncmp Y
308 mmt_strnstr N
309 mmt_timeval_format N
310 mmt_timeval_fprintf N
311 mmt_timeval_snprintf N
312 mmt_tolower Y
313 mmt_toupper Y
314 mmt_u16_array_snprintf N
315 mmt_u32_array_snprintf N
316 mmt_u64_array_snprintf N
317 mmt_uint16_format N
318 mmt_uint16_fprintf N
319 mmt_uint16_snprintf N
320 mmt_uint32_format N
321 mmt_uint32_fprintf N
322 mmt_uint32_snprintf N
323 mmt_uint64_format N
324 mmt_uint64_fprintf N
325 mmt_uint64_snprintf N
326 mmt_uint8_format N
327 mmt_uint8_fprintf N
328 mmt_uint8_snprintf N
329 mmt_version Y
330 package_dependent_init N
331 packet_direction_extraction N
332 packet_id_extraction N
333 packet_process Y
334 plen_extraction N
335 pointer_comp_fn_pt N
336 print_attributes_list N
337 print_protocol_stats N
338 print_string_upper N
339 probe_id_extraction N
340 process_outofmemory_force_sessions_timeout N
341 process_packet N
342 process_packet_handler Y
343 process_packet_with_reassembly N
344 process_session_timer_handler Y
345 process_timedout_sessions N
346 proto_data_extraction N
347 proto_data_len_extraction N
348 proto_data_volume_extraction N
349 proto_first_packet_time_extraction N
350 proto_header_extraction N
351 proto_hierarchy_extraction N
352 proto_hierarchy_to_str Y
353 proto_hierarchy_to_str_with_size Y
354 proto_last_packet_time_extraction N
355 proto_packet_analyze N
356 proto_packet_classify_next N
357 proto_packet_count_extraction N
358 proto_packet_process N
359 proto_payload_extraction N
360 proto_payload_volume_extraction N
361 proto_process_attribute_handlers N
362 proto_session_extraction N
363 proto_session_id_extraction N
364 proto_session_management N
365 proto_stats_extraction N
366 protocol_names_comparison_fct N
367 protocol_sessions_iteration_callback N
368 protocol_stack_callback_fct N
369 register_attribute_handler Y
370 register_attribute_handler_by_name Y
371 register_attribute_with_protocol Y
372 register_classification_function Y
373 register_classification_function_full Y
374 register_classification_function_internal N
375 register_classification_function_with_parent_protocol Y
376 register_data_analysis_function_internal N
377 register_evasion_handler Y
378 register_extraction_attribute Y
379 register_extraction_attribute_by_name Y
380 register_packet_handler Y
381 register_pre_post_analysis_functions Y
382 register_pre_post_classification_functions Y
383 register_proto_context_init_cleanup_function Y
384 register_protocol Y
385 register_protocol_session_attributes N
386 register_protocol_stack Y
387 register_protocol_stack_full Y
388 register_protocol_stats_attributes N
389 register_session_data_analysis_function Y
390 register_session_data_analysis_function_full Y
391 register_session_data_analysis_function_with_protocol Y
392 register_session_data_cleanup_function Y
393 register_session_data_initialization_function Y
394 register_session_hash_function Y
395 register_session_timeout_handler Y
396 register_session_timer_handler Y
397 register_sessionizer_function Y
398 reset_proto_stats N
399 reset_statistics Y
400 session_extraction N
401 session_timeout_comp_fn_pt N
402 session_timer_handler_callback N
403 session_timer_iteration_callback N
404 setDataLinkType Y
405 set_classified_proto Y
406 set_default_session_timed_out Y
407 set_fragment_in_packet Y
408 set_fragment_in_session Y
409 set_fragmented_packet_in_session Y
410 set_live_session_timed_out Y
411 set_long_session_timed_out Y
412 set_proto_session_data Y
413 set_session_timeout_delay Y
414 set_short_session_timed_out Y
415 set_user_session_context Y
416 set_user_session_context_for_packet Y
417 short_time_diff Y
418 silent_extraction Y
419 source_id_extraction N
420 str_combine Y
421 str_compare Y
422 str_copy Y
423 str_get_indexes Y
424 str_get_indexes_n Y
425 str_hex2int Y
426 str_hex2int_n Y
427 str_hex2str Y
428 str_index Y
429 str_print_array Y
430 str_replace Y
431 str_sub Y
432 str_sub_n Y
433 str_subvalue Y
434 timeout_iteration_callback N
435 uargs_extraction N
436 unregister_attribute_handler Y
437 unregister_attribute_handler_by_name Y
438 unregister_extraction_attribute Y
439 unregister_extraction_attribute_by_name Y
440 unregister_packet_handler Y
441 unregister_protocol_by_id Y
442 unregister_protocol_by_name Y
443 unregister_protocol_stack Y
444 update_key_value N
445 update_proto_stats_on_new_session N
446 update_proto_stats_on_packet N
447 update_proto_stats_on_session_timeout N
448 update_protocol Y
449 update_session_timeout_milestone N
450 utime_extraction N
451 validate_attribute_metadata N