![]() |
![]()
| ![]() |
![]()
NAME
SYNOPSIS
DESCRIPTIONThis is a filter to be placed on a socket that will be using
It prevents the application from receiving the
connected descriptor via
The ACCEPT_FILTER_DNS kernel option is also a module that can be enabled at runtime via kldload(8) if the INET option has been compiled into the kernel. EXAMPLESIf the struct accept_filter_arg afa; bzero(&afa, sizeof(afa)); strcpy(afa.af_name, "dnsready"); setsockopt(sok, SOL_SOCKET, SO_ACCEPTFILTER, &afa, sizeof(afa)); SEE ALSOHISTORYThe accept filter mechanism was introduced in FreeBSD 4.0. AUTHORSThis manual page and the filter were written by David Malone.
|