• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Data Structures
  • Files
  • Directories
  • File List
  • Globals

raw_listener.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2010 iptelorg GmbH
00003  *
00004  * Permission to use, copy, modify, and distribute this software for any
00005  * purpose with or without fee is hereby granted, provided that the above
00006  * copyright notice and this permission notice appear in all copies.
00007  *
00008  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
00009  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
00010  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
00011  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
00012  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
00013  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
00014  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
00015  */
00021 /*
00022  * History:
00023  * --------
00024  *  2010-06-09  initial version (from older code) andrei
00025  */
00026 
00027 #ifndef _raw_listener_h
00028 #define _raw_listener_h
00029 
00030 #include "ip_addr.h"
00031 
00032 
00034 struct socket_info* raw_udp_sendipv4;
00035 
00036 int raw_listener_init(struct socket_info* si, str* iface, int iphdr_incl);
00037 int raw_udp4_rcv_loop(int rsock, int port1, int port2);
00038 
00039 #endif /* _raw_listener_h */

Generated on Tue May 22 2012 13:10:13 for SIP Router by  doxygen 1.7.1