diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-23 18:42:27 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-23 18:42:27 +0800 |
commit | 30cc096640a4d10ba9db64e101042a15822644ec (patch) | |
tree | d6116ec29e9c3dbc5b8971317b2f42b31189d746 /include/sccp/sccp.h | |
parent | 08b7545c78778bab83cf0c69a30029b7fcacab2e (diff) | |
parent | e3c0d8bbf378abd28f82789809a6fc30ee30cd96 (diff) |
Merge branch 'on-waves/sccp'
Diffstat (limited to 'include/sccp/sccp.h')
-rw-r--r-- | include/sccp/sccp.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/sccp/sccp.h b/include/sccp/sccp.h index 84ae914..a0cdf0b 100644 --- a/include/sccp/sccp.h +++ b/include/sccp/sccp.h @@ -47,12 +47,12 @@ enum { struct sockaddr_sccp { sa_family_t sccp_family; /* AF_SCCP in the future??? */ - u_int8_t sccp_ssn; /* subssystem number for routing */ + uint8_t sccp_ssn; /* subssystem number for routing */ /* TODO fill in address indicator... if that is ever needed */ /* not sure about these */ - /* u_int8_t sccp_class; */ + /* uint8_t sccp_class; */ }; /* @@ -60,13 +60,13 @@ struct sockaddr_sccp { */ struct sccp_address { struct sccp_called_party_address address; - u_int8_t ssn; - u_int8_t poi[2]; + uint8_t ssn; + uint8_t poi[2]; }; struct sccp_optional_data { - u_int8_t data_len; - u_int8_t data_start; + uint8_t data_len; + uint8_t data_start; }; struct sccp_connection { @@ -145,8 +145,8 @@ int sccp_set_read(const struct sockaddr_sccp *sock, extern const struct sockaddr_sccp sccp_ssn_bssap; /* helpers */ -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); +uint32_t sccp_src_ref_to_int(struct sccp_source_reference *ref); +struct sccp_source_reference sccp_src_ref_from_int(uint32_t); struct msgb *sccp_create_refuse(struct sccp_source_reference *src_ref, int cause, uint8_t *data, int length); struct msgb *sccp_create_cc(struct sccp_source_reference *src_ref, struct sccp_source_reference *dst_ref); |