iPXE
Data Fields
socket_opener Struct Reference

A socket opener. More...

#include <open.h>

Data Fields

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

Detailed Description

A socket opener.

Definition at line 70 of file open.h.


Field Documentation

Communication semantics (e.g.

SOCK_STREAM)

Definition at line 72 of file open.h.

Referenced by xfer_open_socket().

Address family (e.g.

AF_INET)

Definition at line 74 of file open.h.

Referenced by xfer_open_socket().

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 82 of file open.h.

Referenced by xfer_open_socket().


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