new: add mptp packet verify functions

This commit is contained in:
ngn
2024-06-22 07:03:17 +03:00
parent 19c98b763d
commit c8e45097fe
12 changed files with 275 additions and 110 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-06-22 04:17+0300\n"
"POT-Creation-Date: 2024-06-22 07:00+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -47,74 +47,101 @@ msgid "URL does not have a valid hostname"
msgstr "URL does not have a valid hostname"
#: src/error.c:20
#, fuzzy
msgid "URL does not have a valid port number"
msgstr "URL does not have a valid hostname"
#: src/error.c:21
msgid "URL does not have a valid path"
msgstr "URL does not have a valid path"
#: src/error.c:21
msgid "URL does not contain a hostname with a valid port number"
#: src/error.c:22
#, fuzzy
msgid "hostname does not contain a valid port number"
msgstr "URL does not contain a hostname with a valid port number"
#: src/error.c:22
#: src/error.c:23
#, fuzzy
msgid "hostname is not valid"
msgstr "URL hostname is too large"
#: src/error.c:24
msgid "URL protocol port number is unknown"
msgstr "URL protocol port number is unknown"
#: src/error.c:23
#: src/error.c:25
msgid "URL is incomplete"
msgstr "URL tamamlanmamış"
#: src/error.c:24
#: src/error.c:26
msgid "pool does not support the specified protocol"
msgstr "pool does not support the specified protocol"
#: src/error.c:25
#: src/error.c:27
msgid "unsupported MPTP version"
msgstr ""
#: src/error.c:26
#: src/error.c:28
msgid "invalid MPTP request/response code"
msgstr ""
#: src/error.c:27
#: src/error.c:29
msgid "invalid MPTP URL"
msgstr ""
#: src/error.c:28
#: src/error.c:30
msgid "failed to resolve hostname for MPTP connection"
msgstr ""
#: src/error.c:29
#: src/error.c:31
msgid "failed to create a MPTP socket"
msgstr ""
#: src/error.c:30
#: src/error.c:32
msgid "failed to connect to the MPTP host"
msgstr ""
#: src/error.c:31
#: src/error.c:33
msgid "failed receive MPTP data from host"
msgstr ""
#: src/error.c:32
#: src/error.c:34
msgid "failed send MPTP data to host"
msgstr ""
#: src/error.c:33
#: src/error.c:35
#, fuzzy
msgid "MPTP data chunk is too large"
msgid "MPTP data chunk size is invalid"
msgstr "URL path is too large"
#: src/error.c:34
#: src/error.c:36
msgid "failed to set MPTP socket options"
msgstr ""
#: src/error.c:35
#: src/error.c:37
msgid "MPTP connection timed out"
msgstr ""
#: src/error.c:36
#: src/error.c:38
msgid "failed to bind MPTP socket"
msgstr ""
#: src/error.c:37
#: src/error.c:39
msgid "required argument is a NULL pointer"
msgstr ""
#: src/error.c:40
msgid "not a MPTP request"
msgstr ""
#: src/error.c:41
msgid "not a MPTP response"
msgstr ""
#: src/error.c:42
msgid "MPTP request last flag is not set"
msgstr ""
#: src/error.c:43
msgid "host port not specified"
msgstr ""