- macOS 10.4+
Cookie value specified when the filter attach was called.
The socket the filter is attached to.
If you return a non-zero value, your filter will not be attached to this socket.
sf_detach_func is called to notify the filter it has been detached from a socket. If the filter allocated any memory for this attachment, it should be freed. This function will be called when the socket is disposed of.