binding_address_family_matches
Name
binding_address_family_matches — Validate that the binding in question matches the address family provided
Synopsis
#include "binding.h"
| int **binding_address_family_matches** (
| binding_slot, | |
| | family)
; | |
ec_binding_slot <var class="pdparam">binding_slot</var>
;
u_int8_t <var class="pdparam">family</var>
;
Description
Note
This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.
Validate that the binding in question matches the address family provided.
- binding_slot
-
binding to validate
- family
-
Address family that needs to be matched
Returns 1 if the address family provided is valid for the binding in question. For a binding that has no specific bind address, this will always return 1.