diff options
Diffstat (limited to 'openbsc/tests/bsc-nat/bsc_data.c')
-rw-r--r-- | openbsc/tests/bsc-nat/bsc_data.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/openbsc/tests/bsc-nat/bsc_data.c b/openbsc/tests/bsc-nat/bsc_data.c index 34242db8c..6700b0ca2 100644 --- a/openbsc/tests/bsc-nat/bsc_data.c +++ b/openbsc/tests/bsc-nat/bsc_data.c @@ -1,7 +1,7 @@ /* test data */ /* BSC -> MSC, CR */ -static const u_int8_t bsc_cr[] = { +static const uint8_t bsc_cr[] = { 0x00, 0x2e, 0xfd, 0x01, 0x00, 0x00, 0x15, 0x02, 0x02, 0x04, 0x02, 0x42, 0xfe, 0x0f, 0x21, 0x00, 0x1f, 0x57, 0x05, @@ -10,7 +10,7 @@ static const u_int8_t bsc_cr[] = { 0x90, 0x20, 0x1d, 0x50, 0x08, 0x29, 0x47, 0x80, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00 }; -static const u_int8_t bsc_cr_patched[] = { +static const uint8_t bsc_cr_patched[] = { 0x00, 0x2e, 0xfd, 0x01, 0x00, 0x00, 0x05, 0x02, 0x02, 0x04, 0x02, 0x42, 0xfe, 0x0f, 0x21, 0x00, 0x1f, 0x57, 0x05, @@ -20,60 +20,60 @@ static const u_int8_t bsc_cr_patched[] = { 0x00, 0x00, 0x00, 0x00, 0x80, 0x00 }; /* CC, MSC -> BSC */ -static const u_int8_t msc_cc[] = { +static const uint8_t msc_cc[] = { 0x00, 0x0a, 0xfd, 0x02, 0x00, 0x00, 0x05, 0x01, 0x1f, 0xe4, 0x02, 0x01, 0x00 }; -static const u_int8_t msc_cc_patched[] = { +static const uint8_t msc_cc_patched[] = { 0x00, 0x0a, 0xfd, 0x02, 0x00, 0x00, 0x15, 0x01, 0x1f, 0xe4, 0x02, 0x01, 0x00 }; /* Classmark, BSC -> MSC */ -static const u_int8_t bsc_dtap[] = { +static const uint8_t bsc_dtap[] = { 0x00, 0x17, 0xfd, 0x06, 0x01, 0x1f, 0xe4, 0x00, 0x01, 0x10, 0x00, 0x0e, 0x54, 0x12, 0x03, 0x50, 0x18, 0x93, 0x13, 0x06, 0x60, 0x14, 0x45, 0x00, 0x81, 0x00 }; -static const u_int8_t bsc_dtap_patched[] = { +static const uint8_t bsc_dtap_patched[] = { 0x00, 0x17, 0xfd, 0x06, 0x01, 0x1f, 0xe4, 0x00, 0x01, 0x10, 0x00, 0x0e, 0x54, 0x12, 0x03, 0x50, 0x18, 0x93, 0x13, 0x06, 0x60, 0x14, 0x45, 0x00, 0x81, 0x00 }; /* Clear command, MSC -> BSC */ -static const u_int8_t msc_dtap[] = { +static const uint8_t msc_dtap[] = { 0x00, 0x0d, 0xfd, 0x06, 0x00, 0x00, 0x05, 0x00, 0x01, 0x06, 0x00, 0x04, 0x20, 0x04, 0x01, 0x09 }; -static const u_int8_t msc_dtap_patched[] = { +static const uint8_t msc_dtap_patched[] = { 0x00, 0x0d, 0xfd, 0x06, 0x00, 0x00, 0x15, 0x00, 0x01, 0x06, 0x00, 0x04, 0x20, 0x04, 0x01, 0x09 }; /*RLSD, MSC -> BSC */ -static const u_int8_t msc_rlsd[] = { +static const uint8_t msc_rlsd[] = { 0x00, 0x0a, 0xfd, 0x04, 0x00, 0x00, 0x05, 0x01, 0x1f, 0xe4, 0x00, 0x01, 0x00 }; -static const u_int8_t msc_rlsd_patched[] = { +static const uint8_t msc_rlsd_patched[] = { 0x00, 0x0a, 0xfd, 0x04, 0x00, 0x00, 0x15, 0x01, 0x1f, 0xe4, 0x00, 0x01, 0x00 }; /* RLC, BSC -> MSC */ -static const u_int8_t bsc_rlc[] = { +static const uint8_t bsc_rlc[] = { 0x00, 0x07, 0xfd, 0x05, 0x01, 0x1f, 0xe4, 0x00, 0x00, 0x15 }; -static const u_int8_t bsc_rlc_patched[] = { +static const uint8_t bsc_rlc_patched[] = { 0x00, 0x07, 0xfd, 0x05, 0x01, 0x1f, 0xe4, 0x00, 0x00, 0x05 }; /* a paging command */ -static const u_int8_t paging_by_lac_cmd[] = { +static const uint8_t paging_by_lac_cmd[] = { 0x00, 0x22, 0xfd, 0x09, 0x00, 0x03, 0x07, 0x0b, 0x04, 0x43, 0x02, 0x00, 0xfe, 0x04, 0x43, 0x5c, 0x00, 0xfe, 0x12, 0x00, @@ -82,7 +82,7 @@ static const u_int8_t paging_by_lac_cmd[] = { 0x15 }; /* an assignment command */ -static const u_int8_t ass_cmd[] = { +static const uint8_t ass_cmd[] = { 0x00, 0x12, 0xfd, 0x06, 0x00, 0x00, 0x49, 0x00, 0x01, 0x0b, 0x00, 0x09, 0x01, 0x0b, 0x03, 0x01, 0x0a, 0x11, 0x01, 0x00, |