Changeset View
Changeset View
Standalone View
Standalone View
head/lib/libcasper/services/cap_dns/cap_dns.3
Show All 18 Lines | |||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd January 10, 2018 | .Dd February 24, 2018 | ||||
.Dt CAP_DNS 3 | .Dt CAP_DNS 3 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm cap_gethostbyname , | .Nm cap_gethostbyname , | ||||
.Nm cap_gethostbyname2 , | .Nm cap_gethostbyname2 , | ||||
.Nm cap_gethostbyaddr , | .Nm cap_gethostbyaddr , | ||||
.Nm cap_getnameinfo , | .Nm cap_getnameinfo , | ||||
.Nm cap_dns_type_limit , | .Nm cap_dns_type_limit , | ||||
▲ Show 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | |||||
provided. | provided. | ||||
.Sh LIMITS | .Sh LIMITS | ||||
The preferred way of setting limits is to use the | The preferred way of setting limits is to use the | ||||
.Fn cap_dns_type_limit | .Fn cap_dns_type_limit | ||||
and | and | ||||
.Fn cap_dns_family_limit | .Fn cap_dns_family_limit | ||||
functions, but the limits of service can be set also using | functions, but the limits of service can be set also using | ||||
.Xr cap_limit_set 3 . | .Xr cap_limit_set 3 . | ||||
The nvlist for that function can contain the following values and types: | The | ||||
.Xr nvlist 9 | |||||
for that function can contain the following values and types: | |||||
.Bl -ohang -offset indent | .Bl -ohang -offset indent | ||||
.It type ( NV_TYPE_STRING ) | .It type ( NV_TYPE_STRING ) | ||||
The | The | ||||
.Va type | .Va type | ||||
can have two values: | can have two values: | ||||
.Dv ADDR | .Dv ADDR | ||||
or | or | ||||
.Dv NAME . | .Dv NAME . | ||||
▲ Show 20 Lines • Show All 89 Lines • Show Last 20 Lines |