diff options
author | Harald Welte <laforge@osmocom.org> | 2020-03-10 16:46:41 +0100 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2020-03-10 21:35:56 +0100 |
commit | 5914d76d5c63826c7884f74aa0eb29325e24f613 (patch) | |
tree | e995347e2206b4dedd97e951276e402c3134c037 /include/osmo-bts | |
parent | cb4340b8a443811a7bfa281a32937663b51c8d62 (diff) |
osmo-bts-virtual: Add "virtual-um ttl <0-255>" VTY option
This can be used to determine the multicast TTL packet and hence
how far the packet will propagate in the network. If you want to
operate the virtual Um only on your own machine, a TTL of 0 would
prevent the packets from ever being transmitted on your local
ethernet segment.
Change-Id: I18a9f93b764aee4e1dc68a1c6ac4d078e52ca61d
Related: OS#2966
Diffstat (limited to 'include/osmo-bts')
-rw-r--r-- | include/osmo-bts/phy_link.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmo-bts/phy_link.h b/include/osmo-bts/phy_link.h index 69c6bd6a..116297b6 100644 --- a/include/osmo-bts/phy_link.h +++ b/include/osmo-bts/phy_link.h @@ -53,6 +53,7 @@ struct phy_link { } osmotrx; struct { char *mcast_dev; /* Network device for multicast */ + int ttl; /* TTL of transmitted udp multicast */ char *bts_mcast_group; /* BTS are listening to this group */ uint16_t bts_mcast_port; char *ms_mcast_group; /* MS are listening to this group */ |