Networking related commands and configuration.
More...
|
| _i32 | sl_NetUtilSet (const _u16 Option, const _u32 ObjID, const _u8 *pValues, const _u16 ValueLen) |
| | Function for setting configurations of utilities. More...
|
| |
| _i16 | sl_NetUtilGet (const _u16 Option, const _u32 ObjID, _u8 *pValues, _u16 *pValueLen) |
| | Function for getting configurations of utilities. More...
|
| |
| _i16 | sl_NetUtilCmd (const _u16 Cmd, const _u8 *pAttrib, const _u16 AttribLen, const _u8 *pInputValues, const _u16 InputLen, _u8 *pOutputValues, _u16 *pOutputLen) |
| | Function for performing utilities-related commands. More...
|
| |
Networking related commands and configuration.
| _i16 sl_NetUtilCmd |
( |
const _u16 |
Cmd, |
|
|
const _u8 * |
pAttrib, |
|
|
const _u16 |
AttribLen, |
|
|
const _u8 * |
pInputValues, |
|
|
const _u16 |
InputLen, |
|
|
_u8 * |
pOutputValues, |
|
|
_u16 * |
pOutputLen |
|
) |
| |
Function for performing utilities-related commands.
- Returns
- On success, zero is returned. On error, -1 is returned
- Parameters
-
| [in] | Cmd | Identifier of the specific Command to perform |
| [in] | pAttrib | Pointer to the buffer holding the Attribute values |
| [in] | AttribLen | Length of the Attribute-values |
| [in] | pInputValues | Pointer to the buffer holding the input-value |
| [in] | InputLen | Length of the input-value |
| [out] | pOutputValues | Pointer to the buffer that the application allocates, and will hold the received data |
| [in,out] | pOutputLen | Length of the output-value
On input - provides the length of the buffer that the application allocates, and will hold the output
On output - provides the actual length of the received output-values |
- Returns
- Zero on success, or -1 on failure
- See also
- sl_NetUtilGet sl_NetUtilSet
- Note
- Warning
| _i16 sl_NetUtilGet |
( |
const _u16 |
Option, |
|
|
const _u32 |
ObjID, |
|
|
_u8 * |
pValues, |
|
|
_u16 * |
pValueLen |
|
) |
| |
Function for getting configurations of utilities.
- Parameters
-
| [in] | Option | Identifier of the specific "get" operation to perform |
| [in] | ObjID | ID of the relevant object that this set operation will be performed on |
| [in,out] | pValueLen | Pointer to the length of the value parameter
On input - provides the length of the buffer that the application allocates, and will hold the output
On output - provides the actual length of the received data |
| [out] | pValues | Pointer to the buffer that the application allocates, and will hold the received data |
- Returns
- Zero on success, or -1 on failure
- See also
- sl_NetUtilSet sl_NetUtilCmd
- Note
- Warning
| _i32 sl_NetUtilSet |
( |
const _u16 |
Option, |
|
|
const _u32 |
ObjID, |
|
|
const _u8 * |
pValues, |
|
|
const _u16 |
ValueLen |
|
) |
| |
Function for setting configurations of utilities.
- Parameters
-
| [in] | Option | Identifier of the specific "set" operation to perform |
| [in] | ObjID | ID of the relevant object that this set operation will be performed on |
| [in] | ValueLen | Length of the value parameter |
| [in] | pValues | Pointer to the buffer holding the configurations values |
- Returns
- Zero on success, or -1 on failure
- See also
- sl_NetUtilGet sl_NetUtilCmd
- Note
- Warning
| struct SlNetUtilCryptoEcCustomCurveParam_t |
Definition at line 147 of file netutil.h.
| Data Fields |
|
_u8 |
Padding[4] |
|
| union SlNetUtilCryptoEcCurveParams_u |
| struct SlNetUtilCryptoEcKeyParams_t |
| union SlNetUtilCryptoPubKeyParams_u |
| struct SlNetUtilCryptoPubKeyInfo_t |
| struct SlNetUtilCryptoCmdSignAttrib_t |
Definition at line 203 of file netutil.h.
| Data Fields |
|
_u32 |
Flags |
|
|
_u32 |
ObjId |
|
|
_u32 |
SigType |
|
| struct SlNetUtilCryptoCmdVerifyAttrib_t |
Definition at line 212 of file netutil.h.
| Data Fields |
|
_u32 |
Flags |
|
|
_u16 |
MsgLen |
|
|
_u32 |
ObjId |
|
|
_u16 |
SigLen |
|
|
_u32 |
SigType |
|
| struct SlNetUtilCryptoCmdCreateCertAttrib_t |
Definition at line 222 of file netutil.h.
| Data Fields |
|
_u32 |
Flags |
|
|
_u32 |
ObjId |
|
|
_u16 |
SubCmd |
|
| struct SlNetUtilCryptoCmdKeyMgnt_t |
Definition at line 231 of file netutil.h.
| Data Fields |
|
_u32 |
Flags |
|
|
_u32 |
ObjId |
|
|
_u16 |
SubCmd |
|