Getting the pid from NEFilterPacketContext in Objective C

I would like to know how to get the pid from NEFilterPacketContext within the NEFilterPacketProvider from

 self.packetHandler = ^NEFilterPacketProviderVerdict(NEFilterPacketContext * _Nonnull context, nw_interface_t _Nonnull interface, NETrafficDirection direction, const void * _Nonnull packetBytes, const size_t packetLength) {

}

without calling the delayCurrentPacket function since I don't want the packet to get delayed. Is this possible?

Thanks

See this post.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Getting the pid from NEFilterPacketContext in Objective C
 
 
Q