Hybrid ICN (hICN) plugin  v21.06-rc0-4-g18fa668
udpTunnel.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 
22 #ifndef udpTunnel_h
23 #define udpTunnel_h
24 
25 #include <hicn/core/forwarder.h>
26 #include <hicn/io/ioOperations.h>
27 #include <hicn/io/listener.h>
28 #include <hicn/utils/address.h>
29 
32 IoOperations *udpTunnel_CreateOnListener(Forwarder *forwarder,
33  ListenerOps *localListener,
34  const Address *remoteAddress);
35 
38 IoOperations *udpTunnel_Create(Forwarder *forwarder,
39  const Address *localAddress,
40  const Address *remoteAddress);
41 
42 #endif // udpTunnel_h
listener.h
Provides the function abstraction of all Listeners.
io_ops
Definition: ioOperations.h:74
listener_ops
Definition: listener.h:44