iPXE
Communication semantics

Macros

#define TCP_SOCK_STREAM   0x1
#define SOCK_STREAM   tcp_sock_stream
#define UDP_SOCK_DGRAM   0x2
#define SOCK_DGRAM   udp_sock_dgram
#define PING_SOCK_ECHO   0x3
#define SOCK_ECHO   ping_sock_echo

Variables

int tcp_sock_stream
 Connection-based, reliable streams.
int udp_sock_dgram
 Connectionless, unreliable streams.
int ping_sock_echo
 Echo testing streams.

Detailed Description

Macro Definition Documentation

◆ TCP_SOCK_STREAM

#define TCP_SOCK_STREAM   0x1

Definition at line 24 of file socket.h.

◆ SOCK_STREAM

◆ UDP_SOCK_DGRAM

#define UDP_SOCK_DGRAM   0x2

Definition at line 29 of file socket.h.

◆ SOCK_DGRAM

◆ PING_SOCK_ECHO

#define PING_SOCK_ECHO   0x3

Definition at line 34 of file socket.h.

◆ SOCK_ECHO

#define SOCK_ECHO   ping_sock_echo

Definition at line 35 of file socket.h.

Referenced by create_pinger(), and socket_semantics_name().

Variable Documentation

◆ tcp_sock_stream

int tcp_sock_stream
extern

Connection-based, reliable streams.

Connection-based, reliable streams.

Definition at line 1774 of file tcp.c.

Referenced by FILE_SECBOOT().

◆ udp_sock_dgram

int udp_sock_dgram
extern

Connectionless, unreliable streams.

Connectionless, unreliable streams.

Definition at line 407 of file udp.c.

◆ ping_sock_echo

int ping_sock_echo
extern

Echo testing streams.

Echo testing streams.

Definition at line 270 of file ping.c.