iPXE
Data Fields
sockaddr_converter Struct Reference

Socket address converter. More...

#include <socket.h>

Data Fields

sa_family_t family
 Socket address family.
const char *(* ntoa )(struct sockaddr *sa)
 Transcribe socket address.
int(* aton )(const char *string, struct sockaddr *sa)
 Parse socket address.

Detailed Description

Socket address converter.

Definition at line 115 of file socket.h.


Field Documentation

Socket address family.

This is an AF_XXX constant.

Definition at line 120 of file socket.h.

Referenced by sock_aton(), and sock_ntoa().

const char*( * sockaddr_converter::ntoa)(struct sockaddr *sa)

Transcribe socket address.

Parameters:
saSocket address
Return values:
stringSocket address string

Definition at line 126 of file socket.h.

Referenced by sock_ntoa().

int( * sockaddr_converter::aton)(const char *string, struct sockaddr *sa)

Parse socket address.

Parameters:
stringSocket address stringh
saSocket address to fill in
Return values:
rcReturn status code

Definition at line 133 of file socket.h.

Referenced by sock_aton().


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