nat: u_int16_t -> uint16_t

This commit is contained in:
Holger Hans Peter Freyther 2010-07-23 19:09:21 +08:00
parent dbd16fe59a
commit e2c1520a71
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ int bsc_mgcp_assign(struct sccp_connections *con, struct msgb *msg)
{
struct sccp_connections *mcon;
struct tlv_parsed tp;
u_int16_t cic;
uint16_t cic;
uint8_t timeslot;
uint8_t multiplex;
int combined;
@ -62,7 +62,7 @@ int bsc_mgcp_assign(struct sccp_connections *con, struct msgb *msg)
return -1;
}
cic = ntohs(*(u_int16_t *)TLVP_VAL(&tp, GSM0808_IE_CIRCUIT_IDENTITY_CODE));
cic = ntohs(*(uint16_t *)TLVP_VAL(&tp, GSM0808_IE_CIRCUIT_IDENTITY_CODE));
timeslot = cic & 0x1f;
multiplex = (cic & ~0x1f) >> 5;

View File

@ -132,7 +132,7 @@ static const uint8_t pag_resp[] = {
struct filter_result {
const uint8_t *data;
const u_int16_t length;
const uint16_t length;
const int dir;
const int result;
};