iPXE
pinger.h
Go to the documentation of this file.
1 #ifndef _IPXE_PINGER_H
2 #define _IPXE_PINGER_H
3 
4 /** @file
5  *
6  * ICMP ping sender
7  *
8  */
9 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11 
12 #include <stdint.h>
13 #include <ipxe/interface.h>
14 #include <ipxe/socket.h>
15 
16 extern int create_pinger ( struct interface *job, const char *hostname,
17  unsigned long timeout, size_t len,
18  unsigned int count,
19  void ( * callback ) ( struct sockaddr *peer,
20  unsigned int sequence,
21  size_t len,
22  int rc ) );
23 
24 #endif /* _IPXE_PINGER_H */
struct arbelprm_rc_send_wqe rc
Definition: arbel.h:14
int create_pinger(struct interface *job, const char *hostname, unsigned long timeout, size_t len, unsigned int count, void(*callback)(struct sockaddr *peer, unsigned int sequence, size_t len, int rc))
An object interface.
Definition: interface.h:124
Object interfaces.
Generalized socket address structure.
Definition: socket.h:96
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
uint32_t len
Length.
Definition: ena.h:14
uint16_t count
Number of entries.
Definition: ena.h:22
void timeout(int)
struct mschapv2_challenge peer
Peer challenge.
Definition: mschapv2.h:12
Socket addresses.