/[inetutils]/inetutils/libicmp/ping.h
ViewVC logotype

Diff of /inetutils/libicmp/ping.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by gray, Sat Aug 11 08:32:20 2001 UTC revision 1.6 by gray, Fri Jul 29 17:09:12 2005 UTC
# Line 29  struct ping_data Line 29  struct ping_data
29  {  {
30    int    ping_fd;        /* Raw socket descriptor */    int    ping_fd;        /* Raw socket descriptor */
31    int    ping_type;      /* Type of packets to send */    int    ping_type;      /* Type of packets to send */
32    int    ping_count;     /* Number of packets to send */    size_t ping_count;     /* Number of packets to send */
33    int    ping_interval;  /* Number of seconds to wait between sending pkts */    size_t ping_interval;  /* Number of seconds to wait between sending pkts */
34    struct sockaddr_in ping_dest; /* whom to ping */    struct sockaddr_in ping_dest; /* whom to ping */
35    char   *ping_hostname;     /* Printable hostname */    char   *ping_hostname;     /* Printable hostname */
36    size_t ping_datalen;   /* Length of data */    size_t ping_datalen;   /* Length of data */
# Line 68  struct ping_data Line 68  struct ping_data
68    
69  PING *ping_init (int type, int ident);  PING *ping_init (int type, int ident);
70  void ping_set_type (PING *p, int type);  void ping_set_type (PING *p, int type);
71  void ping_set_count (PING *ping, int count);  void ping_set_count (PING *ping, size_t count);
72  void ping_set_sockopt (PING *ping, int opt, void *val, int valsize);  void ping_set_sockopt (PING *ping, int opt, void *val, int valsize);
73  void ping_set_interval (PING *ping, int interval);  void ping_set_interval (PING *ping, size_t interval);
74  void ping_set_packetsize (PING *ping, int size);  void ping_set_packetsize (PING *ping, size_t size);
75  int ping_set_dest (PING *ping, char *host);  int ping_set_dest (PING *ping, char *host);
76  int ping_set_pattern (PING *p, int len, u_char *pat);  int ping_set_pattern (PING *p, int len, u_char *pat);
77  void ping_set_event_handler (PING *ping, ping_efp fp, void *closure);  void ping_set_event_handler (PING *ping, ping_efp fp, void *closure);

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26