Hybrid ICN (hICN) plugin  v21.06-rc0-4-g18fa668
hicnTunnel.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017-2019 Cisco and/or its affiliates.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at:
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
25 #ifndef hicnTunnel_h
26 #define hicnTunnel_h
27 
28 #include <hicn/core/forwarder.h>
29 #include <hicn/io/ioOperations.h>
30 #include <hicn/io/listener.h>
31 #include <hicn/utils/address.h>
32 
57 IoOperations *hicnTunnel_Create(Forwarder *forwarder,
58  const Address *localAddress,
59  const Address *remoteAddress);
60 
61 IoOperations *hicnTunnel_CreateOnListener(Forwarder *forwarder,
62  ListenerOps *localListener,
63  const Address *remoteAddress);
64 
65 #endif // hicnTunnel_h
hicnTunnel_Create
IoOperations * hicnTunnel_Create(Forwarder *forwarder, const Address *localAddress, const Address *remoteAddress)
listener.h
Provides the function abstraction of all Listeners.
io_ops
Definition: ioOperations.h:74
listener_ops
Definition: listener.h:44