diff options
author | vzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2008-10-13 14:38:25 +0000 |
---|---|---|
committer | vzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2008-10-13 14:38:25 +0000 |
commit | fd31f6bb146a0ef4a9f60380323955ebdcc2ec08 (patch) | |
tree | f746418c0caf55d32c3401fdca57b3f3671c3156 /TAO/tao/params.h | |
parent | d272c1b897eb737f932b8961dc862729028b4a86 (diff) | |
download | ATCD-fd31f6bb146a0ef4a9f60380323955ebdcc2ec08.tar.gz |
ChangeLogTag: Mon Oct 13 14:12:09 UTC 2008 Vladimir Zykov <vzykov@prismtech.com>
Diffstat (limited to 'TAO/tao/params.h')
-rw-r--r-- | TAO/tao/params.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/TAO/tao/params.h b/TAO/tao/params.h index 55ae8c78513..65a77a96989 100644 --- a/TAO/tao/params.h +++ b/TAO/tao/params.h @@ -93,6 +93,14 @@ public: int sock_dontroute (void); void sock_dontroute (int); + /// Set/Get the number of hops to be used for datagrams sent through socket. + int ip_hoplimit (void); + void ip_hoplimit (int); + + /// Set/Get whether we should set IP_MULTICAST_LOOP on the socket or not. + bool ip_multicastloop (void); + void ip_multicastloop (bool); + /** * Octet sequences are marshalled without doing any copies, we * simply append a block to the CDR message block chain. When the @@ -292,6 +300,12 @@ private: /// 1 if we're using SO_DONTROUTE and 0 otherwise (default 0). int sock_dontroute_; + /// Number of hops to be used for datagrams sent through socket. + int ip_hoplimit_; + + /// 1 if we're using IP_MULTICAST_LOOP and 0 otherwise. + bool ip_multicastloop_; + /// Control the strategy for copying vs. appeding octet sequences in /// CDR streams. int cdr_memcpy_tradeoff_; |