Skip to content
Success

Changes

Summary

  1. pcap-client: Move stats to its own file (details)
  2. pcap-client,pcap-server: Use rate_ctr_inc2 and rate_ctr_add2 APIs (details)
  3. pcap-client: Add per iface counter group instance (details)
  4. pcap-client: Allow recording on several interfaces (details)
  5. pcap-server: Use osmo_talloc_replace_string() to replace base-path (details)
  6. pcap-server: Move struct osmo_pcap_server alloc to its own helper (details)
Commit cc0e222bd02abfadf7af46be279ab88bdb0ae840 by Pau Espin Pedrol
pcap-client: Move stats to its own file

Further stats groups will be added, so move it to a separate file for
easier handing.

Change-Id: I4b5ecdd6f9b0c646dd03ca3bc7fa24624fb9fcbc
The file was addedsrc/osmo_client_stats.c
The file was modifiedsrc/Makefile.am
The file was modifiedsrc/osmo_client_main.c
The file was modifiedinclude/osmo-pcap/osmo_pcap_client.h
The file was modifiedsrc/osmo_client_core.c
Commit 2c0631f0ee36eadf95d32f7082cfcee408e8f2f3 by Pau Espin Pedrol
pcap-client,pcap-server: Use rate_ctr_inc2 and rate_ctr_add2 APIs

Change-Id: Idcc20646d252ad7bf61a740d900b31ca37ada280
The file was modifiedsrc/osmo_server_network.c
The file was modifiedsrc/osmo_client_core.c
The file was modifiedsrc/osmo_client_network.c
Commit 63dfdb04c692cb18f32de59304f368fa424e5127 by Pau Espin Pedrol
pcap-client: Add per iface counter group instance

Change-Id: I0a35f8258eedb785ddb3311f94b42707f0045c32
The file was modifiedsrc/osmo_client_stats.c
The file was modifiedsrc/osmo_client_core.c
The file was modifiedinclude/osmo-pcap/osmo_pcap_client.h
Commit feab95516b1b2a7bc0c7a7903341fc5980debf9c by Pau Espin Pedrol
pcap-client: Allow recording on several interfaces

This commit enables basic support for multi-interface capturing.
The transmitted data to the osmo-pcap-server is not yet in pcapng
format, which means no information regarding the iface it was captured
on is provided when opening the resulting pcap file.

Related: SYS#5822
Change-Id: I082b0bd38cf1829937c5e643f0ee31f9d56a07a7
The file was modifiedsrc/osmo_client_vty.c
Commit f36a729ca39a8054efa49fc70a1943587ec8785d by Pau Espin Pedrol
pcap-server: Use osmo_talloc_replace_string() to replace base-path

Change-Id: I9ba1b7202d3e6a06cfd6efd6ed773b53007a99c4
The file was modifiedsrc/osmo_server_vty.c
Commit 16b362caa6da3b98c698158c80e689570bca2e4d by Pau Espin Pedrol
pcap-server: Move struct osmo_pcap_server alloc to its own helper function

Change-Id: Ie3b96ed6f47c966e2e12ab99710ac6af1468f963
The file was modifiedsrc/osmo_server_main.c