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 FILE_SECBOOT ( PERMITTED );
12 
13 #include <stdint.h>
14 #include <ipxe/interface.h>
15 #include <ipxe/socket.h>
16 
17 extern int create_pinger ( struct interface *job, const char *hostname,
18  unsigned long timeout, size_t len,
19  unsigned int count,
20  void ( * callback ) ( struct sockaddr *peer,
21  unsigned int sequence,
22  size_t len,
23  int rc ) );
24 
25 #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:125
Object interfaces.
ring len
Length.
Definition: dwmac.h:231
static unsigned int count
Number of entries.
Definition: dwmac.h:225
Generalized socket address structure.
Definition: socket.h:97
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
FILE_SECBOOT(PERMITTED)
void timeout(int)
struct mschapv2_challenge peer
Peer challenge.
Definition: mschapv2.h:12
Socket addresses.