2 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
5 ACE_ATM_Addr::get_selector () const
7 ACE_TRACE ("ACE_ATM_Addr::get_selector");
8 #if defined (ACE_HAS_FORE_ATM_XTI)
9 return atm_addr_.sap.t_atm_sap_addr.address[ATMNSAP_ADDR_LEN - 1];
10 #elif defined (ACE_HAS_FORE_ATM_WS2)
11 return atm_addr_.satm_number.Addr[ ATM_ADDR_SIZE - 1 ];
12 #elif defined (ACE_HAS_LINUX_ATM)
13 return atm_addr_.sockaddratmsvc.sas_addr.prv[ATM_ESA_LEN - 1];
16 #endif /* ACE_HAS_FORE_ATM_XTI || ACE_HAS_FORE_ATM_WS2 || ACE_HAS_LINUX_ATM */
20 ACE_ATM_Addr::set_selector (u_char selector)
22 ACE_TRACE ("ACE_ATM_Addr::set_selector");
23 #if defined (ACE_HAS_FORE_ATM_XTI)
24 atm_addr_.sap.t_atm_sap_addr.address[ATMNSAP_ADDR_LEN - 1] = selector;
25 #elif defined (ACE_HAS_FORE_ATM_WS2)
26 atm_addr_.satm_number.Addr[ ATM_ADDR_SIZE - 1 ] = selector;
27 #elif defined (ACE_HAS_LINUX_ATM)
28 atm_addr_.sockaddratmsvc.sas_addr.prv[ATM_ESA_LEN - 1] = selector;
30 ACE_UNUSED_ARG (selector);
31 #endif /* ACE_HAS_FORE_ATM_XTI || ACE_HAS_FORE_ATM_WS2 || ACE_HAS_LINUX_ATM */
34 ACE_END_VERSIONED_NAMESPACE_DECL