iPXE
|
A pinger. More...
Data Fields | |
struct refcnt | refcnt |
Reference count. More... | |
struct interface | job |
Job control interface. More... | |
struct interface | xfer |
Data transfer interface. More... | |
struct retry_timer | timer |
Timer. More... | |
unsigned long | timeout |
Timeout. More... | |
size_t | len |
Payload length. More... | |
uint16_t | sequence |
Current sequence number. More... | |
int | pending |
Response for current sequence number is still pending. More... | |
unsigned int | remaining |
Number of remaining expiry events (zero to continue indefinitely) More... | |
int | rc |
Return status. More... | |
void(* | callback )(struct sockaddr *src, unsigned int sequence, size_t len, int rc) |
Callback function. More... | |
struct refcnt pinger::refcnt |
struct interface pinger::job |
Job control interface.
Definition at line 62 of file pinger.c.
Referenced by create_pinger(), and pinger_close().
struct interface pinger::xfer |
Data transfer interface.
Definition at line 64 of file pinger.c.
Referenced by create_pinger(), pinger_close(), pinger_expired(), and pinger_window_changed().
struct retry_timer pinger::timer |
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().
size_t pinger::len |
Payload length.
Definition at line 72 of file pinger.c.
Referenced by create_pinger(), pinger_deliver(), pinger_expired(), pinger_generate(), and pinger_verify().
uint16_t pinger::sequence |
Current sequence number.
Definition at line 74 of file pinger.c.
Referenced by pinger_deliver(), and pinger_expired().
int pinger::pending |
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().
int pinger::rc |
Return status.
Definition at line 80 of file pinger.c.
Referenced by create_pinger(), pinger_deliver(), and pinger_expired().
Callback function.
src | Source socket address, or NULL |
sequence | Sequence number |
len | Payload length |
rc | Status code |
Definition at line 89 of file pinger.c.
Referenced by create_pinger(), pinger_deliver(), and pinger_expired().