Index: lib/libcasper/libcasper/libcasper.3 =================================================================== --- lib/libcasper/libcasper/libcasper.3 +++ lib/libcasper/libcasper/libcasper.3 @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd February 5, 2018 +.Dd February 17, 2018 .Dt LIBCASPER 3 .Os .Sh NAME @@ -152,36 +152,59 @@ The .Fn cap_limit_set function sets limits for the given capability. -The limits are provided as nvlist. +The limits are provided as +.Xr nvlist 9 . The exact format depends on the service the capability represents. .Pp The .Fn cap_send_nvlist -function sends the given nvlist over the given capability. +function sends the given +.Xr nvlist 9 +over the given capability. This is low level interface to communicate with casper services. Most services should provide higher level API. .Pp The .Fn cap_recv_nvlist -function receives the given nvlist over the given capability. +function receives the given +.Xr nvlist 9 +over the given capability. The .Fa flags -argument defines what type the top nvlist is expected to be. -If the nvlist flags do not match the flags passed to +argument defines what type the top +.Xr nvlist 9 +is expected to be. +If the +.Xr nvlist 9 +flags do not match the flags passed to .Fn cap_recv_nvlist , -the nvlist will not be returned. +the +.Xr nvlist 9 +will not be returned. .Pp The .Fn cap_xfer_nvlist -function sends the given nvlist, destroys it and receives new nvlist in +function sends the given +.Xr nvlist 9 , +destroys it and receives new +.Xr nvlist 9 +in response over the given capability. The .Fa flags -argument defines what type the top nvlist is expected to be. -If the nvlist flags do not match the flags passed to +argument defines what type the top +.Xr nvlist 9 +is expected to be. +If the +.Xr nvlist 9 +flags do not match the flags passed to .Fn cap_xfer_nvlist , -the nvlist will not be returned. -It does not matter if the function succeeds or fails, the nvlist given +the +.Xr nvlist 9 +will not be returned. +It does not matter if the function succeeds or fails, the +.Xr nvlist 9 +given for sending will always be destroyed once the function returns. .Pp The Index: lib/libcasper/services/cap_dns/cap_dns.3 =================================================================== --- lib/libcasper/services/cap_dns/cap_dns.3 +++ lib/libcasper/services/cap_dns/cap_dns.3 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 10, 2018 +.Dd February 17, 2018 .Dt CAP_DNS 3 .Os .Sh NAME @@ -105,7 +105,9 @@ .Fn cap_dns_family_limit functions, but the limits of service can be set also using .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 .It type ( NV_TYPE_STRING ) The