Age | Commit message (Collapse) | Author | Files | Lines |
|
the old ways except the proto_help.c file, which is kept for now in case someone
is willing to reimplement the help menus using non-deprecated methods.
svn path=/trunk/; revision=39137
|
|
in GTK3) by GObject (which does).
These were the trivial cases, the two remaining uses in packet_win.c
are left for someone who understands the code.
svn path=/trunk/; revision=38344
|
|
svn path=/trunk/; revision=38006
|
|
svn path=/trunk/; revision=37996
|
|
cleanup.
svn path=/trunk/; revision=37970
|
|
svn path=/trunk/; revision=37175
|
|
- Define some fcns and vars as static;
- Use less generic names for certain externs;
Also: Remove some usused #defines & cleanup some whitespace
svn path=/trunk/; revision=34488
|
|
svn path=/trunk/; revision=32395
|
|
svn path=/trunk/; revision=32376
|
|
svn path=/trunk/; revision=31737
|
|
1) This indicates that the string has ephemeral lifetime
2) More consistent with its existing seasonal counterpart, se_address_to_str().
svn path=/trunk/; revision=29747
|
|
level window.
svn path=/trunk/; revision=28796
|
|
a protocol tree;
the column values.
This includes stats-tree listeners.
Have the routines to build the packet list, and to retap packets, honor
those requirements. This means that cf_retap_packets() no longer needs
an argument to specify whether to construct the column values or not, so
get rid of that argument.
This also means that there's no need for a tap to have a fake filter
to ensure that the protocol tree will be built, so don't set up a fake
"frame" filter.
While we're at it, clean up some cases where "no filter" was represented
as a null string rather than a null pointer.
Have a routine to return an indication of the number of tap listeners
with filters; use that rather than the global num_tap_filters.
Clean up some indentation and some gboolean vs. gint items.
svn path=/trunk/; revision=28645
|
|
numeric constant in various places;
svn path=/trunk/; revision=27800
|
|
"gtk_label_set is deprecated and should not be used in newly-written code.
Aliases gtk_label_set_text()."
svn path=/trunk/; revision=27556
|
|
equivalent API
gtk_button_box_set_spacing() ==> gtk_box_set_spacing()
svn path=/trunk/; revision=25673
|
|
equivalent API
gtk_container_border_width() ==> gtk_container_set_border_width()
gtk_container_children() ==> gtk_container_get_children()
gtk_entry_new_with_max_length() ==> gtk_entry_new(); gtk_entry_set_max_length()
gtk_menu_append() ==> gtk_menu_shell_append()
gtk_menu_prepend() ==> gtk_menu_shell_prepend()
gtk_notebook_set_page() ==> gtk_notebook_set_current_page()
gtk_paned_gutter_size() ==> gtk_paned_set_gutter_size()
gtk_radio_button_group() ==> gtk_radio_button_get_group()
gtk_signal_connect() ==> g_signal_connect()
gtk_signal_disconnect() ==> g_signal_handler_disconnect()
gtk_signal_emit_by_name() ==> g_signal_emit_by_name()
gtk_signal_handler_block_by_data() ==> g_signal_handlers_block_matched()
gtk_signal_handler_block_by_func() ==> g_signal_handlers_block_by_func()
gtk_signal_handler_unblock_by_data() ==> g_signal-handlers_unblock_matched()
gtk_signal_handler_unblock_by_func() ==> g_signal-handlers_unblock_by_func()
gtk_spin_button_get_value_as_float() ==> gtk_spin_button_get_value()
gtk_toggle_button_set_state() ==> gtk_toggle_button_set_active()
svn path=/trunk/; revision=25634
|
|
Correct some typos.
svn path=/trunk/; revision=25145
|
|
a bit misleading
svn path=/trunk/; revision=25086
|
|
svn path=/trunk/; revision=25008
|
|
svn path=/trunk/; revision=24969
|
|
svn path=/trunk/; revision=24922
|
|
svn path=/trunk/; revision=24918
|
|
gtk_button_new_from_stock
svn path=/trunk/; revision=24904
|
|
svn path=/trunk/; revision=24894
|
|
svn path=/trunk/; revision=24513
|
|
strncpy -> g_strlcpy, strncat -> g_strlcat
svn path=/trunk/; revision=24504
|
|
svn path=/trunk/; revision=24382
|
|
If we get some truncated strings we probably overwrote some buffers...
svn path=/trunk/; revision=24239
|
|
Here is a patch for spelling typos in comments and strings in the gtk/
directories.
svn path=/trunk/; revision=19568
|
|
svn path=/trunk/; revision=18462
|
|
strings, and function names.
svn path=/trunk/; revision=18205
|
|
svn path=/trunk/; revision=18197
|
|
Fix typo in menu item name
svn path=/trunk/; revision=18016
|
|
With the new feature we can:
1. Measure how big the bursts are for a video streams (it uses sliding window algorithm) 2. Measure how big the output buffer should be that no packet drop will occur (it uses Leaky bucket algorithm)
3. Detect if we have loses inside the MPEG2 video stream (if there are already MPEG2 packets missing) - this part of code is not added yet, see Limitations
The addition is called Multicast streams and works as follows:
- it uses the TAP system
- the main "stream" logic is taken from rtp_strems.* files
- the TAP system checks for UDP packets where the destination MAC address starts with "01:00:5E" (ethernet multicast address)
- it creates an entry for every new multicast stream
- based on sliding window and leaky bucket algorithm it calculates for every stream average BW, max BW, burst size, max buffer needed, some alarms if the limits are exceeded,...
- the same calculation is done for all streams together
- inside the window dialog you can specify the burst interval, the alarm limits and output speeds
To do & limitations:
- Currently the analysis can be done only for multicast streams, it means that VoD (Video on demand) or PayTV streams, which are normally unicast can not be analysed.
- since the MPEG2 is patended I don't know if decoding of MPEG2 packets is allowed? Can we look inside this packets and calculate packets drops based on some counter information inside the payload? Can someone please answer this question? If we can do this, I will post this part of code too.
- some more flexibility will be added
svn path=/trunk/; revision=17980
|