Browse code

core, lib, modules: restructured source code tree

- new folder src/ to hold the source code for main project applications
- main.c is in src/
- all core files are subfolder are in src/core/
- modules are in src/modules/
- libs are in src/lib/
- application Makefiles are in src/
- application binary is built in src/ (src/kamailio)

Daniel-Constantin Mierla authored on 07/12/2016 11:03:51
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,35 +0,0 @@
1
-/*
2
- * Copyright (C) 2010 iptelorg GmbH
3
- *
4
- * Permission to use, copy, modify, and distribute this software for any
5
- * purpose with or without fee is hereby granted, provided that the above
6
- * copyright notice and this permission notice appear in all copies.
7
- *
8
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15
- */
16
-/** Kamailio core :: raw socket udp listen functions.
17
- *  @file raw_listener.h
18
- *  @ingroup core
19
- *  @author andrei
20
- *  Module: @ref core
21
- */
22
-
23
-#ifndef _raw_listener_h
24
-#define _raw_listener_h
25
-
26
-#include "ip_addr.h"
27
-
28
-
29
-/** default raw socket used for sending on udp ipv4 */
30
-struct socket_info* raw_udp_sendipv4;
31
-
32
-int raw_listener_init(struct socket_info* si, str* iface, int iphdr_incl);
33
-int raw_udp4_rcv_loop(int rsock, int port1, int port2);
34
-
35
-#endif /* _raw_listener_h */
Browse code

Core Update of doxygen, removal of history, changing "ser" to "kamailio"

Olle E. Johansson authored on 03/01/2015 14:03:24
Showing 1 changed files
... ...
@@ -13,16 +13,12 @@
13 13
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 14
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 15
  */
16
-/** raw socket udp listen functions.
16
+/** Kamailio core :: raw socket udp listen functions.
17 17
  *  @file raw_listener.h
18 18
  *  @ingroup core
19
+ *  @author andrei
19 20
  *  Module: @ref core
20 21
  */
21
-/*
22
- * History:
23
- * --------
24
- *  2010-06-09  initial version (from older code) andrei
25
- */
26 22
 
27 23
 #ifndef _raw_listener_h
28 24
 #define _raw_listener_h
Browse code

raw socket: compilation fixes

Andrei Pelinescu-Onciul authored on 15/06/2010 14:24:46
Showing 1 changed files
... ...
@@ -27,11 +27,11 @@
27 27
 #ifndef _raw_listener_h
28 28
 #define _raw_listener_h
29 29
 
30
-#include "../../ip_addr.h"
30
+#include "ip_addr.h"
31 31
 
32 32
 
33 33
 /** default raw socket used for sending on udp ipv4 */
34
-struct struct_info* raw_udp_sendipv4;
34
+struct socket_info* raw_udp_sendipv4;
35 35
 
36 36
 int raw_listener_init(struct socket_info* si, str* iface, int iphdr_incl);
37 37
 int raw_udp4_rcv_loop(int rsock, int port1, int port2);
Browse code

core: basic support for receiving udp sip packets on raw sockets

Functions for receiving udp sip packets from raw sockets.

Andrei Pelinescu-Onciul authored on 09/06/2010 20:55:21
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,39 @@
1
+/*
2
+ * Copyright (C) 2010 iptelorg GmbH
3
+ *
4
+ * Permission to use, copy, modify, and distribute this software for any
5
+ * purpose with or without fee is hereby granted, provided that the above
6
+ * copyright notice and this permission notice appear in all copies.
7
+ *
8
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15
+ */
16
+/** raw socket udp listen functions.
17
+ *  @file raw_listener.h
18
+ *  @ingroup core
19
+ *  Module: @ref core
20
+ */
21
+/*
22
+ * History:
23
+ * --------
24
+ *  2010-06-09  initial version (from older code) andrei
25
+ */
26
+
27
+#ifndef _raw_listener_h
28
+#define _raw_listener_h
29
+
30
+#include "../../ip_addr.h"
31
+
32
+
33
+/** default raw socket used for sending on udp ipv4 */
34
+struct struct_info* raw_udp_sendipv4;
35
+
36
+int raw_listener_init(struct socket_info* si, str* iface, int iphdr_incl);
37
+int raw_udp4_rcv_loop(int rsock, int port1, int port2);
38
+
39
+#endif /* _raw_listener_h */