feat(sockutls): Add initial support for socket helpers

This commit is contained in:
David Cermak
2024-10-08 21:27:11 +02:00
parent 72f4f7c7a3
commit 31f57ad067
33 changed files with 1186 additions and 2 deletions

View File

@@ -0,0 +1,34 @@
/*
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#ifndef NI_NUMERICHOST
#define NI_NUMERICHOST 0x1
#endif
#ifndef IFF_UP
#define IFF_UP 0x1
#endif
#ifndef IFF_LOOPBACK
#define IFF_LOOPBACK 0x8
#endif
#ifndef NI_NUMERICSERV
#define NI_NUMERICSERV 0x8
#endif
#ifndef NI_DGRAM
#define NI_DGRAM 0x00000010
#endif
#ifndef EAI_BADFLAGS
#define EAI_BADFLAGS 3
#endif
#ifndef AF_UNIX
#define AF_UNIX 1
#endif