A network packet and its associated properties.
On This Page
class NEPacket : NSObject
init(data: Data, protocolFamily: sa_family_t)
var data: Data
var metadata: NEFlowMetaData?
var protocolFamily: sa_family_t
var direction: NETrafficDirection
An object for reading and writing packets to and from the tunnel’s virtual interface.
Network APIs for use by all types of NetworkExtension providers and by hotspot helpers.