diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-01-13 09:55:43 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-01-13 09:55:43 +0100 |
commit | b62c9a19cfca6a8230e33eea2140720ee4518686 (patch) | |
tree | 65acce97dc6d88e956974c07721eb05252f8d473 /openbsc/include/sccp/sccp.h | |
parent | ff5957568f9864121f7ffac808966388db1f1978 (diff) |
[sccp] Add a utility for the nat..
Add a small helper to determine the type of a message
Diffstat (limited to 'openbsc/include/sccp/sccp.h')
-rw-r--r-- | openbsc/include/sccp/sccp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/include/sccp/sccp.h b/openbsc/include/sccp/sccp.h index 3ad568c0b..69ef63c25 100644 --- a/openbsc/include/sccp/sccp.h +++ b/openbsc/include/sccp/sccp.h @@ -143,4 +143,10 @@ extern const struct sockaddr_sccp sccp_ssn_bssap; u_int32_t sccp_src_ref_to_int(struct sccp_source_reference *ref); struct sccp_source_reference sccp_src_ref_from_int(u_int32_t); + +/* + * helper functions for the nat code + */ +int sccp_determine_msg_type(struct msgb *msg); + #endif |