version 1.1.1.2, 2021/03/17 00:07:30
|
version 1.1.1.3, 2023/09/27 11:18:58
|
Line 3
|
Line 3
|
Copyright (C) 1997,1998 Matt Kimball |
Copyright (C) 1997,1998 Matt Kimball |
|
|
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
it under the terms of the GNU General Public License version 2 as | it under the terms of the GNU General Public License version 2 as |
published by the Free Software Foundation. |
published by the Free Software Foundation. |
|
|
This program is distributed in the hope that it will be useful, |
This program is distributed in the hope that it will be useful, |
Line 33
|
Line 33
|
|
|
extern int net_open( |
extern int net_open( |
struct mtr_ctl *ctl, |
struct mtr_ctl *ctl, |
struct hostent *host); | struct addrinfo *res); |
extern void net_reopen( |
extern void net_reopen( |
struct mtr_ctl *ctl, |
struct mtr_ctl *ctl, |
struct hostent *address); | struct addrinfo *res); |
extern void net_reset( |
extern void net_reset( |
struct mtr_ctl *ctl); |
struct mtr_ctl *ctl); |
extern void net_close( |
extern void net_close( |
Line 58 extern ip_t *net_addr(
|
Line 58 extern ip_t *net_addr(
|
int at); |
int at); |
extern int net_err( |
extern int net_err( |
int at); |
int at); |
extern void *net_mpls( | extern struct mplslen *net_mpls( |
int at); |
int at); |
extern void *net_mplss( | extern struct mplslen *net_mplss( |
int, |
int, |
int); |
int); |
extern int net_loss( |
extern int net_loss( |
Line 89 extern ip_t *net_addrs(
|
Line 89 extern ip_t *net_addrs(
|
int at, |
int at, |
int i); |
int i); |
extern char *net_localaddr( |
extern char *net_localaddr( |
|
void); |
|
extern char *net_remoteaddr( |
void); |
void); |
|
|
extern int net_send_batch( |
extern int net_send_batch( |