ESP-IDF
Select one of the symbols to view example projects that use it.
Symbol previews are coming soon...
Outline
#define _ESP_PLATFORM_NET_IF_H_
#include "lwip/sockets.h"
#include "lwip/if_api.h"
#define MSG_DONTROUTE
#define SOCK_SEQPACKET
#define MSG_EOR
#define SOCK_SEQPACKET
#define SOMAXCONN
#define IPV6_UNICAST_HOPS
#define NI_MAXHOST
#define NI_MAXSERV
#define NI_NUMERICSERV
#define NI_DGRAM
socklen_t
if_nametoindex(const char *);
if_indextoname(unsigned int, char *);
Files
loading...
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
components/newlib/platform_include/net/if.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* SPDX-FileCopyrightText: 2018-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
/* ... */
#ifndef
_ESP_PLATFORM_NET_IF_H_
#define
_ESP_PLATFORM_NET_IF_H_
#ifdef
__cplusplus
extern
"C"
{
#endif
#include
"
lwip
/
sockets.h"
#include
"
lwip
/
if_api.h"
#define
MSG_DONTROUTE
0x4
/* send without using routing tables */
#define
SOCK_SEQPACKET
5
/* sequenced packet stream */
#define
MSG_EOR
0x8
/* data completes record */
#define
SOCK_SEQPACKET
5
/* sequenced packet stream */
#define
SOMAXCONN
128
#define
IPV6_UNICAST_HOPS
4
/* int; IP6 hops */
#define
NI_MAXHOST
1025
#define
NI_MAXSERV
32
#define
NI_NUMERICSERV
0x00000008
#define
NI_DGRAM
0x00000010
10 defines
typedef
u32_t
socklen_t
;
unsigned
int
if_nametoindex
(
const
char
*
ifname
)
;
char
*
if_indextoname
(
unsigned
int
ifindex
,
char
*
ifname
)
;
#ifdef
__cplusplus
}
{...}
#endif
/* ... */
#endif
// _ESP_PLATFORM_NET_IF_H_
Details
Show:
from
Types:
Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.
if_indextoname()
if_nametoindex()
u32_t
socklen_t
SOMAXCONN
if_indextoname()::ifname
if_indextoname()::ifindex
SOCK_SEQPACKET
_ESP_PLATFORM_NET_IF_H_
MSG_DONTROUTE
MSG_EOR
IPV6_UNICAST_HOPS
NI_MAXHOST
NI_MAXSERV
NI_NUMERICSERV
NI_DGRAM
if_nametoindex()::ifname