summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sccp/sccp.h1
-rw-r--r--include/sccp/sccp_types.h11
2 files changed, 12 insertions, 0 deletions
diff --git a/include/sccp/sccp.h b/include/sccp/sccp.h
index 8ee4b68..3ad568c 100644
--- a/include/sccp/sccp.h
+++ b/include/sccp/sccp.h
@@ -101,6 +101,7 @@ int sccp_system_incoming(struct msgb *data);
* Send data on an existing connection
*/
int sccp_connection_write(struct sccp_connection *connection, struct msgb *data);
+int sccp_connection_send_it(struct sccp_connection *connection);
int sccp_connection_close(struct sccp_connection *connection, int cause);
int sccp_connection_free(struct sccp_connection *connection);
diff --git a/include/sccp/sccp_types.h b/include/sccp/sccp_types.h
index c6b1182..9310a6b 100644
--- a/include/sccp/sccp_types.h
+++ b/include/sccp/sccp_types.h
@@ -380,4 +380,15 @@ struct sccp_data_unitdata {
u_int8_t data[0];
} __attribute__((packed));
+struct sccp_data_it {
+ /* mandantory */
+ u_int8_t type;
+ struct sccp_source_reference destination_local_reference;
+ struct sccp_source_reference source_local_reference;
+ u_int8_t proto_class;
+
+ u_int8_t sequencing[2];
+ u_int8_t credit;
+} __attribute__((packed));
+
#endif