otIp4CidrFromString() function
Converts a human-readable IPv4 CIDR string into a binary representation.
Arguments
aString
A pointer to a NULL-terminated string.
aCidr
A pointer to an IPv4 CIDR.
Return value
OT_ERROR_NONE Successfully parsed the string. OT_ERROR_INVALID_ARGS Failed to parse the string.
otIp4CidrFromString():
![]()
otIp4CidrFromString()