NEPacketTunnelFlow
An object you use to read and write packets to and from the tunnel’s virtual interface.
Declaration
class NEPacketTunnelFlowOverview
Use the NEPacketTunnelFlow class to implement a custom-IP tunneling protocol for your packet tunnel. For example, use the APIs in this class to read packets from the virtual interface, so you can then encapsulate these packets and send them to a packet-tunnel server. Likewise, read packets from your packet-tunnel server and use these APIs to write the packets back to the tunnel’s virtual interface.