Class

NEFilterSocketFlow

A flow of network data originating from a nonbrowser TCP connection that’s being examined by the filter.

Declaration

@interface NEFilterSocketFlow : NEFilterFlow

Topics

Getting Socket Flow Properties

remoteEndpoint

An NWEndpoint object containing details about the socket’s remote endpoint. This endpoint object may be nil when [NEFilterDataProvider handleNewFlow:] is invoked; if so, it will be populated upon receiving network data. In such a case, flow filtering may still be performed based on its socket type, socket family, or socket protocol.

localEndpoint

An NWEndpoint object containing details about the socket’s local endpoint. This endpoint object may be nil when [NEFilterDataProvider handleNewFlow:] is invoked; if so, it will be populated upon receiving network data. In such a case, flow filtering may still be performed based on its socket type, socket family, or socket protocol.

socketFamily

The protocol family of the socket. For example, PF_INET.

socketType

The type of the socket. For example, SOCK_STREAM.

socketProtocol

The protocol of the socket. For example, IPPROTO_TCP.

Relationships

Inherits From

See Also

Flow Handling

NEFilterBrowserFlow

A flow of network data originating from a WebKit-based browser that’s being examined by the filter.

NEFilterFlow

An abstract base class shared by NEFilterBrowserFlow and NEFilterSocketFlow.

NEFilterNewFlowVerdict

The filtering decision made by a filter data provider for a flow that it’s just seen for the first time.

NEFilterDataVerdict

The filtering decision made by a filter data provider for subsequent chunks of data on a flow.

NEFilterControlVerdict

The filtering decision made by a filter control provider.

NEFilterRemediationVerdict

The filtering decision made by a filter data provider after the user requests remediation for a blocked flow.

NEFilterVerdict

The abstract base class for filter verdict classes.

NEFilterReport

The report of an action taken by the data provider on a flow.