#include <socket_option.hpp>
Public Member Functions | |
| network_interface () | |
| network_interface (const asio::ip::address_v4 &ipv4_interface) | |
| network_interface (unsigned long ipv6_interface) | |
| template<typename Protocol> | |
| int | level (const Protocol &protocol) const |
| template<typename Protocol> | |
| int | name (const Protocol &protocol) const |
| template<typename Protocol> | |
| const void * | data (const Protocol &protocol) const |
| template<typename Protocol> | |
| std::size_t | size (const Protocol &protocol) const |
Private Attributes | |
| asio::detail::in4_addr_type | ipv4_value_ |
| unsigned long | ipv6_value_ |
Definition at line 452 of file socket_option.hpp.
| asio::ip::detail::socket_option::network_interface< IPv4_Level, IPv4_Name, IPv6_Level, IPv6_Name >::network_interface | ( | ) | [inline] |
Definition at line 456 of file socket_option.hpp.
References asio::ip::address_v4::any(), asio::detail::socket_ops::host_to_network_long(), asio::ip::detail::socket_option::network_interface< IPv4_Level, IPv4_Name, IPv6_Level, IPv6_Name >::ipv4_value_, and asio::ip::detail::socket_option::network_interface< IPv4_Level, IPv4_Name, IPv6_Level, IPv6_Name >::ipv6_value_.
| asio::ip::detail::socket_option::network_interface< IPv4_Level, IPv4_Name, IPv6_Level, IPv6_Name >::network_interface | ( | const asio::ip::address_v4 & | ipv4_interface | ) | [inline, explicit] |
Definition at line 465 of file socket_option.hpp.
References asio::detail::socket_ops::host_to_network_long(), asio::ip::detail::socket_option::network_interface< IPv4_Level, IPv4_Name, IPv6_Level, IPv6_Name >::ipv4_value_, asio::ip::detail::socket_option::network_interface< IPv4_Level, IPv4_Name, IPv6_Level, IPv6_Name >::ipv6_value_, and asio::ip::address_v4::to_ulong().
| asio::ip::detail::socket_option::network_interface< IPv4_Level, IPv4_Name, IPv6_Level, IPv6_Name >::network_interface | ( | unsigned long | ipv6_interface | ) | [inline, explicit] |
Definition at line 474 of file socket_option.hpp.
References asio::ip::address_v4::any(), asio::detail::socket_ops::host_to_network_long(), asio::ip::detail::socket_option::network_interface< IPv4_Level, IPv4_Name, IPv6_Level, IPv6_Name >::ipv4_value_, and asio::ip::detail::socket_option::network_interface< IPv4_Level, IPv4_Name, IPv6_Level, IPv6_Name >::ipv6_value_.
| int asio::ip::detail::socket_option::network_interface< IPv4_Level, IPv4_Name, IPv6_Level, IPv6_Name >::level | ( | const Protocol & | protocol | ) | const [inline] |
Definition at line 484 of file socket_option.hpp.
| int asio::ip::detail::socket_option::network_interface< IPv4_Level, IPv4_Name, IPv6_Level, IPv6_Name >::name | ( | const Protocol & | protocol | ) | const [inline] |
Definition at line 493 of file socket_option.hpp.
| const void* asio::ip::detail::socket_option::network_interface< IPv4_Level, IPv4_Name, IPv6_Level, IPv6_Name >::data | ( | const Protocol & | protocol | ) | const [inline] |
| std::size_t asio::ip::detail::socket_option::network_interface< IPv4_Level, IPv4_Name, IPv6_Level, IPv6_Name >::size | ( | const Protocol & | protocol | ) | const [inline] |
asio::detail::in4_addr_type asio::ip::detail::socket_option::network_interface< IPv4_Level, IPv4_Name, IPv6_Level, IPv6_Name >::ipv4_value_ [private] |
Definition at line 519 of file socket_option.hpp.
Referenced by asio::ip::detail::socket_option::network_interface< IPv4_Level, IPv4_Name, IPv6_Level, IPv6_Name >::data(), asio::ip::detail::socket_option::network_interface< IPv4_Level, IPv4_Name, IPv6_Level, IPv6_Name >::network_interface(), and asio::ip::detail::socket_option::network_interface< IPv4_Level, IPv4_Name, IPv6_Level, IPv6_Name >::size().
unsigned long asio::ip::detail::socket_option::network_interface< IPv4_Level, IPv4_Name, IPv6_Level, IPv6_Name >::ipv6_value_ [private] |
Definition at line 520 of file socket_option.hpp.
Referenced by asio::ip::detail::socket_option::network_interface< IPv4_Level, IPv4_Name, IPv6_Level, IPv6_Name >::data(), asio::ip::detail::socket_option::network_interface< IPv4_Level, IPv4_Name, IPv6_Level, IPv6_Name >::network_interface(), and asio::ip::detail::socket_option::network_interface< IPv4_Level, IPv4_Name, IPv6_Level, IPv6_Name >::size().
1.5.6