|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
Go to the source code of this file.
Classes | |
| struct | _col_width_data |
| struct | recent_settings_tag |
| Persisted GUI state and preferences restored across Wireshark sessions. More... | |
Macros | |
| #define | RECENT_KEY_CAPTURE_FILE "recent.capture_file" |
| #define | RECENT_KEY_DISPLAY_FILTER "recent.display_filter" |
| #define | RECENT_KEY_COL_WIDTH "column.width" |
| #define | RECENT_KEY_CAPTURE_FILTER "recent.capture_filter" |
| #define | RECENT_KEY_REMOTE_HOST "recent.remote_host" |
| #define | COLUMN_XALIGN_DEFAULT 0 |
| #define | COLUMN_XALIGN_LEFT 'L' |
| #define | COLUMN_XALIGN_CENTER 'C' |
| #define | COLUMN_XALIGN_RIGHT 'R' |
Typedefs | |
| typedef struct _col_width_data | col_width_data |
| typedef struct recent_settings_tag | recent_settings_t |
| Persisted GUI state and preferences restored across Wireshark sessions. | |
Enumerations | |
| enum | bytes_view_type { BYTES_HEX , BYTES_BITS , BYTES_DEC , BYTES_OCT } |
| Numeric base used to render byte values in the Packet Bytes pane. More... | |
| enum | bytes_encoding_type { BYTES_ENC_FROM_PACKET , BYTES_ENC_ASCII , BYTES_ENC_EBCDIC } |
| Character encoding used to render the ASCII side-panel in the Packet Bytes pane. More... | |
| enum | search_in_type { SEARCH_IN_PACKET_LIST , SEARCH_IN_PACKET_DETAILS , SEARCH_IN_PACKET_BYTES } |
| Selects which packet pane the Find Packet search operates on. More... | |
| enum | search_char_set_type { SEARCH_CHAR_SET_NARROW_AND_WIDE , SEARCH_CHAR_SET_NARROW , SEARCH_CHAR_SET_WIDE } |
| Controls whether string searches match narrow (single-byte), wide (two-byte), or both character encodings. More... | |
| enum | search_type_type { SEARCH_TYPE_DISPLAY_FILTER , SEARCH_TYPE_HEX_VALUE , SEARCH_TYPE_STRING , SEARCH_TYPE_REGEX } |
| Specifies the matching method used by the Find Packet dialog. More... | |
| enum | bytes_show_type { SHOW_ASCII , SHOW_ASCII_CONTROL , SHOW_CARRAY , SHOW_EBCDIC , SHOW_HEXDUMP , SHOW_HTML , SHOW_IMAGE , SHOW_JSON , SHOW_RAW , SHOW_RUSTARRAY , SHOW_CODEC , SHOW_YAML } |
| Selects the presentation format for payload data in the Follow Stream and Show Packet Bytes dialogs. More... | |
| enum | follow_delta_type { FOLLOW_DELTA_NONE , FOLLOW_DELTA_TURN , FOLLOW_DELTA_ALL } |
| Controls display of inter-segment timing deltas in the Follow Stream dialog. More... | |
| enum | bytes_decode_type { DecodeAsNone , DecodeAsBASE64 , DecodeAsCompressed , DecodeAsHexDigits , DecodeAsPercentEncoding , DecodeAsQuotedPrintable , DecodeAsROT13 } |
| Secondary decode transformation applied to raw bytes before display in the Show Packet Bytes dialog. More... | |
Functions | |
| void | recent_init (void) |
| Initialize recent settings module (done at startup). | |
| void | recent_cleanup (void) |
| Cleans up recent settings and frees allocated memory. | |
| bool | write_recent (void) |
| Write recent_common settings file. | |
| bool | write_profile_recent (void) |
| Write profile recent settings file. | |
| bool | recent_read_static (char **rf_path_return, int *rf_errno_return) |
| Read recent settings file (static part). | |
| bool | recent_read_profile_static (char **rf_path_return, int *rf_errno_return) |
| Read profile recent settings file (static part). | |
| bool | recent_read_dynamic (char **rf_path_return, int *rf_errno_return) |
| Read recent settings file (dynamic part). | |
| int | recent_set_arg (char *prefarg) |
| Given a -o command line string, parse it and set the recent value in question. Return an indication of whether it succeeded or failed in some fashion. | |
| void | recent_free_column_width_info (recent_settings_t *rs) |
| Free the recent settings list of column width information. | |
| void | recent_insert_column (int col) |
| Insert an entry in the recent column width setting for the given column, which should have been just added to the column list preference. (This keeps them in sync.) | |
| void | recent_remove_column (int col) |
| Remove an entry in the recent column width setting for the given column, which should have been just removed to the column list preference. (This keeps them in sync.) | |
| int | recent_get_column_width (int col) |
| Get the column width for the given column. | |
| void | recent_set_column_width (int col, int width) |
| Set the column width for the given column. | |
| char | recent_get_column_xalign (int col) |
| Get the column xalign for the given column. | |
| void | recent_set_column_xalign (int col, char xalign) |
| Set the column xalign for the given column. | |
| void | window_geom_save (const char *name, window_geometry_t *geom) |
| save the window and its current geometry into the geometry hashtable. | |
| bool | window_geom_load (const char *name, window_geometry_t *geom) |
| Load the desired geometry for this window from the geometry hashtable. | |
| void | window_splitter_save (const char *name, const char *splitter_state) |
| Save the splitter state for a given interface. | |
| const char * | window_splitter_load (const char *name) |
| Load the splitter state for a given interface. | |
| GList * | recent_get_cfilter_list (const char *ifname) |
| Returns a list of recent capture filters. | |
| void | recent_add_cfilter (const char *ifname, const char *s) |
| Add a capture filter to the global recent capture filter list or the recent capture filter list for an interface. | |
| struct remote_host * | recent_get_remote_host (const char *host) |
| Get the value of an entry for a remote host from the remote host list. | |
| int | recent_get_remote_host_list_size (void) |
| Get the number of entries of the remote host list. | |
| void | recent_remote_host_list_foreach (GFunc func, void *user_data) |
| Iterate over all items in the remote host list, calling a function for each member. | |
| void | recent_free_remote_host_list (void) |
| Free all entries of the remote host list. | |
| void | recent_add_remote_host (char *host, struct remote_host *rh) |
| Add an entry to the remote_host_list. | |
Variables | |
| recent_settings_t | recent |
Definitions for recent "preference" handling routines Copyright 2004, Ulf Lamping ulf.l.nosp@m.ampi.nosp@m.ng@we.nosp@m.b.de
Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs
SPDX-License-Identifier: GPL-2.0-or-later
Recent user interface settings.
| #define COLUMN_XALIGN_DEFAULT 0 |
Defines used in col_width_data.xalign
| #define RECENT_KEY_CAPTURE_FILE "recent.capture_file" |
???.
| #define RECENT_KEY_DISPLAY_FILTER "recent.display_filter" |
???.
| enum bytes_decode_type |
Secondary decode transformation applied to raw bytes before display in the Show Packet Bytes dialog.
| enum bytes_encoding_type |
Character encoding used to render the ASCII side-panel in the Packet Bytes pane.
| Enumerator | |
|---|---|
| BYTES_ENC_FROM_PACKET | Use the encoding recorded in the frame's frame_data packet_char_enc field |
| BYTES_ENC_ASCII | Always render characters using ASCII |
| BYTES_ENC_EBCDIC | Always render characters using EBCDIC |
| enum bytes_show_type |
Selects the presentation format for payload data in the Follow Stream and Show Packet Bytes dialogs.
| enum bytes_view_type |
| enum follow_delta_type |
| enum search_char_set_type |
Controls whether string searches match narrow (single-byte), wide (two-byte), or both character encodings.
| enum search_in_type |
Selects which packet pane the Find Packet search operates on.
| enum search_type_type |
Specifies the matching method used by the Find Packet dialog.
|
extern |
Add a capture filter to the global recent capture filter list or the recent capture filter list for an interface.
| ifname | interface name; NULL refers to the global list. |
| s | text of capture filter |
Add a capture filter to the global recent capture filter list or the recent capture filter list for an interface.
| ifname | interface name; NULL refers to the global list. |
| s | text of capture filter |
|
extern |
Add an entry to the remote_host_list.
| host | Key of the entry |
| rh | Value of the entry |
|
extern |
Cleans up recent settings and frees allocated memory.
Cleanup/Frees recent settings (done at shutdown)
|
extern |
Free the recent settings list of column width information.
| rs | the recent settings (currently a global) |
|
extern |
Returns a list of recent capture filters.
| ifname | interface name; NULL refers to the global list. |
Returns a list of recent capture filters.
| ifname | interface name; NULL refers to the global list. |
|
extern |
Get the column width for the given column.
| col | column number |
|
extern |
Get the column xalign for the given column.
| col | column number |
|
extern |
Get the value of an entry for a remote host from the remote host list.
| host | host name for the remote host. |
|
extern |
Get the number of entries of the remote host list.
|
extern |
Insert an entry in the recent column width setting for the given column, which should have been just added to the column list preference. (This keeps them in sync.)
| col | column number |
|
extern |
Read recent settings file (dynamic part).
| rf_path_return | path to recent file if function failed |
| rf_errno_return | if failed |
|
extern |
Read profile recent settings file (static part).
| rf_path_return | path to recent file if function failed |
| rf_errno_return | if failed |
|
extern |
Read recent settings file (static part).
| rf_path_return | path to recent file if function failed |
| rf_errno_return | if failed |
|
extern |
Iterate over all items in the remote host list, calling a function for each member.
| func | function to be called |
| user_data | argument to pass as user data to the function |
|
extern |
Remove an entry in the recent column width setting for the given column, which should have been just removed to the column list preference. (This keeps them in sync.)
| col | column number |
|
extern |
Given a -o command line string, parse it and set the recent value in question. Return an indication of whether it succeeded or failed in some fashion.
| prefarg | a string of the form "<recent name>:<recent value>", as might appear as an argument to a "-o" command line option |
|
extern |
Set the column width for the given column.
| col | column number |
| width | column width |
|
extern |
Set the column xalign for the given column.
| col | column number |
| xalign | column alignment |
|
extern |
Load the desired geometry for this window from the geometry hashtable.
| name | The name of the window. |
| geom | Pointer to the window_geometry_t structure to be filled with the geometry data. |
|
extern |
save the window and its current geometry into the geometry hashtable.
| name | The name of the window. |
| geom | Pointer to the window_geometry_t structure containing the geometry data. |
|
extern |
Load the splitter state for a given interface.
| name | Interface name; NULL refers to the global list. |
|
extern |
Save the splitter state for a given interface.
| name | Interface name; NULL refers to the global list. |
| splitter_state | The state of the splitter. |
|
extern |
Write profile recent settings file.
|
extern |
Write recent_common settings file.
|
extern |
Global recent settings.