diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-15 18:52:38 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-15 20:24:20 +0800 |
commit | ca999a989d972ba79902251cbb74956732e91bf9 (patch) | |
tree | f3821fbcd0e1a07cc7dc1c8711cd6e3db43c3e91 /openbsc/include/openbsc/bsc_msc.h | |
parent | b71c23bb0aba550f7f6907476ef5ca43cd578433 (diff) |
msc: Add msc ip-tos NR option for the BSC
Allow to set the TOS field via the VTY interface. The
SO_PRIORITY was not used as it has no effect on the
packets being sent (in contrast to the documentation).
Diffstat (limited to 'openbsc/include/openbsc/bsc_msc.h')
-rw-r--r-- | openbsc/include/openbsc/bsc_msc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/bsc_msc.h b/openbsc/include/openbsc/bsc_msc.h index 9b75def9a..faf6faaa3 100644 --- a/openbsc/include/openbsc/bsc_msc.h +++ b/openbsc/include/openbsc/bsc_msc.h @@ -32,6 +32,7 @@ struct bsc_msc_connection { int is_authenticated; const char *ip; int port; + int prio; void (*connection_loss) (struct bsc_msc_connection *); void (*connected) (struct bsc_msc_connection *); @@ -39,7 +40,7 @@ struct bsc_msc_connection { struct timer_list timeout_timer; }; -struct bsc_msc_connection *bsc_msc_create(const char *ip, int port); +struct bsc_msc_connection *bsc_msc_create(const char *ip, int port, int prio); int bsc_msc_connect(struct bsc_msc_connection *); void bsc_msc_schedule_connect(struct bsc_msc_connection *); |