~ubuntu-branches/debian/jessie/mtr/jessie

« back to all changes in this revision

Viewing changes to net.h

  • Committer: Package Import Robot
  • Author(s): Robert Woodcock
  • Date: 2013-07-24 19:53:47 UTC
  • mfrom: (1.2.6)
  • Revision ID: package-import@ubuntu.com-20130724195347-hicfmbo16rcron5h
Tags: 0.85-1
New upstream version, closes: #706816, #717727

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
void net_close(void);
36
36
int net_waitfd(void);
37
37
void net_process_return(void);
 
38
void net_harvest_fds(void);
38
39
 
39
40
int net_max(void);
40
41
int net_min(void);
62
63
 
63
64
int calc_deltatime (float WaitTime);
64
65
 
65
 
 
66
 
/* Added by Brian Casey, December 1997 bcasey@imagiware.com*/
67
66
int net_returned(int at);
68
67
int net_xmit(int at);
69
68
int net_transit(int at);
80
79
int addrcmp( char * a, char * b, int af );
81
80
void addrcpy( char * a, char * b, int af );
82
81
 
 
82
void net_add_fds(fd_set *writefd, int *maxfd);
 
83
void net_process_fds(fd_set *writefd);
 
84
 
83
85
#define MAXPATH 8
84
86
#define MaxHost 256
85
87
#define MinSequence 33000
90
92
#define MINPACKET 28            /* 20 bytes IP header and 8 bytes ICMP or UDP */
91
93
#define MAXLABELS 8             /* http://kb.juniper.net/KB2190 (+ 3 just in case) */
92
94
 
93
 
/* stuff used by display such as report, curses... --Min */
 
95
/* stuff used by display such as report, curses... */
94
96
#define MAXFLD 20               /* max stats fields to display */
95
97
 
96
98
#if defined (__STDC__) && __STDC__
101
103
 
102
104
 
103
105
/* XXX This doesn't really belong in this header file, but as the
104
 
   right c-files include it, it will have to do for now. -- REW */
 
106
   right c-files include it, it will have to do for now. */
105
107
 
106
108
/* dynamic field drawing */
107
109
struct fields {