Function

sflt_attach

Declaration

errno_t sflt_attach(socket_t socket, sflt_handle handle);

Parameters

socket

The socket the filter should be attached to.

handle

The handle of the registered filter to be attached.

Return Value

0 on success otherwise the errno error.

Discussion

Attaches a socket filter to the specified socket. A filter must be registered before it can be attached.

See Also

Miscellaneous

sflt_detach

Deprecated
sflt_register

Deprecated
sflt_unregister

Deprecated
sockopt_copyin

Deprecated
sockopt_copyout

Deprecated
sockopt_level

Deprecated
sockopt_name

Deprecated
sockopt_valsize

Deprecated