iPXE
Data Fields
pinger Struct Reference

A pinger. More...

Data Fields

struct refcnt refcnt
 Reference count.
struct interface job
 Job control interface.
struct interface xfer
 Data transfer interface.
struct retry_timer timer
 Timer.
unsigned long timeout
 Timeout.
size_t len
 Payload length.
uint16_t sequence
 Current sequence number.
int pending
 Response for current sequence number is still pending.
unsigned int remaining
 Number of remaining expiry events (zero to continue indefinitely)
int rc
 Return status.
void(* callback )(struct sockaddr *src, unsigned int sequence, size_t len, int rc)
 Callback function.

Detailed Description

A pinger.

Definition at line 57 of file pinger.c.


Field Documentation

Reference count.

Definition at line 59 of file pinger.c.

Referenced by create_pinger().

Job control interface.

Definition at line 62 of file pinger.c.

Referenced by create_pinger(), and pinger_close().

Data transfer interface.

Definition at line 64 of file pinger.c.

Referenced by create_pinger(), pinger_close(), pinger_expired(), and pinger_window_changed().

Timer.

Definition at line 67 of file pinger.c.

Referenced by create_pinger(), pinger_close(), pinger_expired(), and pinger_window_changed().

unsigned long pinger::timeout

Timeout.

Definition at line 69 of file pinger.c.

Referenced by create_pinger(), and pinger_expired().

Payload length.

Definition at line 72 of file pinger.c.

Referenced by create_pinger(), pinger_deliver(), pinger_expired(), pinger_generate(), and pinger_verify().

Current sequence number.

Definition at line 74 of file pinger.c.

Referenced by pinger_deliver(), and pinger_expired().

Response for current sequence number is still pending.

Definition at line 76 of file pinger.c.

Referenced by pinger_deliver(), and pinger_expired().

unsigned int pinger::remaining

Number of remaining expiry events (zero to continue indefinitely)

Definition at line 78 of file pinger.c.

Referenced by create_pinger(), pinger_deliver(), and pinger_expired().

Return status.

Definition at line 80 of file pinger.c.

Referenced by create_pinger(), pinger_deliver(), and pinger_expired().

void( * pinger::callback)(struct sockaddr *src, unsigned int sequence, size_t len, int rc)

Callback function.

Parameters:
srcSource socket address, or NULL
sequenceSequence number
lenPayload length
rcStatus code

Definition at line 89 of file pinger.c.

Referenced by create_pinger(), pinger_deliver(), and pinger_expired().


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