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 xfer_interface *xfer, 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 xfer_interface *xfer, struct sockaddr *peer, struct sockaddr *local)

Open socket.

Parameters:
xfer Data transfer interface
peer Peer socket address
local Local socket address, or NULL
Return values:
rc Return status code

Referenced by xfer_open_socket().


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

Generated on Tue Apr 6 20:02:09 2010 for gPXE by  doxygen 1.5.7.1