Function

sflt_register

Declaration

errno_t sflt_register(const struct sflt_filter *filter, int domain, int type, int protocol);

Parameters

filter

A structure describing the filter.

domain

The protocol domain these filters will be attached to.

type

The socket type these filters will be attached to.

protocol

The protocol these filters will be attached to.

Return Value

0 on success otherwise the errno error.

Discussion

Registers a socket filter. See 'man 2 socket' for a desciption of domain, type, and protocol.

See Also

Miscellaneous

sflt_attach

Deprecated
sflt_detach

Deprecated
sflt_unregister

Deprecated
sockopt_copyin

Deprecated
sockopt_copyout

Deprecated
sockopt_level

Deprecated
sockopt_name

Deprecated
sockopt_valsize

Deprecated