Class

NEFilterPacketContext

The context object provided to the filter packet handler.

Declaration

class NEFilterPacketContext : NSObject

Relationships

Inherits From

Conforms To

See Also

Filtering Packets

var packetHandler: NEFilterPacketHandler?

A closure that handles each packet received by the filter.

typealias NEFilterPacketHandler

A type for closures that make filtering decisions about network packets.

enum NETrafficDirection

A type to represent the direction of network traffic.

enum NEFilterPacketProvider.Verdict

The verdict returned by a packet handler indicating what the framework should do with a packet.