MCPcopy Create free account
hub / github.com/apache/trafficserver / IP

Class IP

src/cripts/Bundles/HRWBridge.cc:84–102  ·  view source on GitHub ↗

//////////////////////////////////////////////////////////////////////// Bridge for the IP class

Source from the content-addressed store, hash-verified

82/////////////////////////////////////////////////////////////////////////////
83// Bridge for the IP class
84class IP : public detail::HRWBridge
85{
86 using self_type = IP;
87 using super_type = detail::HRWBridge;
88
89 enum class Type : uint8_t { none, CLIENT, INBOUND, SERVER, OUTBOUND };
90
91public:
92 IP(const self_type &) = delete;
93 void operator=(const self_type &) = delete;
94
95 IP(const cripts::string_view &ip);
96 ~IP() override = default;
97
98 cripts::string_view value(cripts::Context *context) override;
99
100private:
101 Type _type = Type::none;
102};
103
104IP::IP(const cripts::string_view &type) : super_type(type)
105{

Callers 1

synclient_txn_createFunction · 0.50

Calls

no outgoing calls

Tested by 1

synclient_txn_createFunction · 0.40