added hio_ipad_bytes_is_loop_back(), hio_pad_bytes_is_link_local()

This commit is contained in:
2021-07-24 04:06:00 +00:00
parent b54f96d8c3
commit 1d8363f1c7
2 changed files with 69 additions and 0 deletions

View File

@ -228,6 +228,20 @@ HIO_EXPORT int hio_bchars_to_ipad_bytes (
hio_oow_t blen
);
HIO_EXPORT int hio_ipad_bytes_is_v4_mapped (
const hio_uint8_t* iptr,
hio_oow_t ilen
);
HIO_EXPORT int hio_ipad_bytes_is_loop_back (
const hio_uint8_t* iptr,
hio_oow_t ilen
);
HIO_EXPORT int hio_ipad_bytes_is_link_local (
const hio_uint8_t* iptr,
hio_oow_t ilen
);
#if defined(__cplusplus)
}