iPXE
Data Fields
socket_opener Struct Reference

A socket opener. More...

#include <open.h>

Data Fields

int semantics
 Communication semantics (e.g. More...
 
int(* open )(struct interface *intf, struct sockaddr *peer, struct sockaddr *local)
 Open socket. More...
 

Detailed Description

A socket opener.

Definition at line 70 of file open.h.

Field Documentation

◆ semantics

int socket_opener::semantics

Communication semantics (e.g.

SOCK_STREAM)

Definition at line 72 of file open.h.

Referenced by xfer_open_socket().

◆ open

int( * socket_opener::open) (struct interface *intf, struct sockaddr *peer, struct sockaddr *local)

Open socket.

Parameters
intfObject interface
peerPeer socket address
localLocal socket address, or NULL
Return values
rcReturn status code

Definition at line 80 of file open.h.

Referenced by xfer_open_socket().


The documentation for this struct was generated from the following file: