3 ** Copyright 2008, The Android Open Source Project
5 ** This file is dual licensed. It may be redistributed and/or modified
6 ** under the terms of the Apache 2.0 License OR version 2 of the GNU
7 ** General Public License.
10 #ifndef _UTILS_LOGSOCKET_H
11 #define _UTILS_LOGSOCKET_H
13 #define SOCKET_CLOSE_LOCAL 0
15 void add_send_stats(int fd, int send);
16 void add_recv_stats(int fd, int recv);
17 void log_socket_close(int fd, short reason);
18 void log_socket_connect(int fd, unsigned int ip, unsigned short port);
20 #endif /* _UTILS_LOGSOCKET_H */