Diff for /embedaddon/iperf/src/net.h between versions 1.1 and 1.1.1.3

version 1.1, 2016/10/18 13:28:18 version 1.1.1.3, 2023/09/27 11:14:54
Line 1 Line 1
 /*  /*
 * iperf, Copyright (c) 2014, The Regents of the University of * iperf, Copyright (c) 2014, 2017, The Regents of the University of
  * California, through Lawrence Berkeley National Laboratory (subject   * California, through Lawrence Berkeley National Laboratory (subject
  * to receipt of any required approvals from the U.S. Dept. of   * to receipt of any required approvals from the U.S. Dept. of
  * Energy).  All rights reserved.   * Energy).  All rights reserved.
Line 27 Line 27
 #ifndef __NET_H  #ifndef __NET_H
 #define __NET_H  #define __NET_H
   
int netdial(int domain, int proto, char *local, int local_port, char *server, int port);int timeout_connect(int s, const struct sockaddr *name, socklen_t namelen, int timeout);
int netannounce(int domain, int proto, char *local, int port);int create_socket(int domain, int proto, const char *local, const char *bind_dev, int local_port, const char *server, int port, struct addrinfo **server_res_out);
 int netdial(int domain, int proto, const char *local, const char *bind_dev, int local_port, const char *server, int port, int timeout);
 int netannounce(int domain, int proto, const char *local, const char *bind_dev, int port);
 int Nread(int fd, char *buf, size_t count, int prot);  int Nread(int fd, char *buf, size_t count, int prot);
 int Nwrite(int fd, const char *buf, size_t count, int prot) /* __attribute__((hot)) */;  int Nwrite(int fd, const char *buf, size_t count, int prot) /* __attribute__((hot)) */;
 int has_sendfile(void);  int has_sendfile(void);
 int Nsendfile(int fromfd, int tofd, const char *buf, size_t count) /* __attribute__((hot)) */;  int Nsendfile(int fromfd, int tofd, const char *buf, size_t count) /* __attribute__((hot)) */;
 int getsock_tcp_mss(int inSock);  
 int set_tcp_options(int sock, int no_delay, int mss);  
 int setnonblocking(int fd, int nonblocking);  int setnonblocking(int fd, int nonblocking);
 int getsockdomain(int sock);  int getsockdomain(int sock);
   int parse_qos(const char *tos);
   
 #define NET_SOFTERROR -1  #define NET_SOFTERROR -1
 #define NET_HARDERROR -2  #define NET_HARDERROR -2

Removed from v.1.1  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>