mirror of
https://github.com/open5gs/open5gs.git
synced 2025-11-02 13:03:31 +00:00
mac: Support Apple M1 chips
See https://open5gs.org/open5gs/docs/platform/05-macosx-apple-silicon/
This commit is contained in:
@@ -292,7 +292,6 @@ static void test1_func(abts_case *tc, void *data)
|
||||
ABTS_PTR_NOTNULL(tc, recvbuf);
|
||||
ogs_pkbuf_free(recvbuf);
|
||||
|
||||
#if __linux__
|
||||
/* Send GTP-U ICMP Packet */
|
||||
rv = test_gtpu_send_ping(gtpu, bearer, TEST_PING_IPV6);
|
||||
ABTS_INT_EQUAL(tc, OGS_OK, rv);
|
||||
@@ -301,7 +300,6 @@ static void test1_func(abts_case *tc, void *data)
|
||||
recvbuf = test_gtpu_read(gtpu);
|
||||
ABTS_PTR_NOTNULL(tc, recvbuf);
|
||||
ogs_pkbuf_free(recvbuf);
|
||||
#endif
|
||||
|
||||
/* Send Attach Request */
|
||||
memset(&sess->pdn_connectivity_param,
|
||||
|
||||
@@ -86,7 +86,7 @@ static void child_main(void *data)
|
||||
ogs_proc_t *current = NULL;
|
||||
FILE *out = NULL;
|
||||
char buf[OGS_HUGE_LEN];
|
||||
int ret = 0, out_return_code = 0;;
|
||||
int ret = 0, out_return_code = 0;
|
||||
|
||||
current = &process[process_num++];
|
||||
ret = ogs_proc_create(commandLine,
|
||||
|
||||
@@ -308,7 +308,6 @@ static void test1_func(abts_case *tc, void *data)
|
||||
ABTS_PTR_NOTNULL(tc, recvbuf);
|
||||
ogs_pkbuf_free(recvbuf);
|
||||
|
||||
#if __linux__
|
||||
/* Send GTP-U ICMP Packet */
|
||||
rv = test_gtpu_send_ping(gtpu, qos_flow, TEST_PING_IPV6);
|
||||
ABTS_INT_EQUAL(tc, OGS_OK, rv);
|
||||
@@ -317,7 +316,6 @@ static void test1_func(abts_case *tc, void *data)
|
||||
recvbuf = test_gtpu_read(gtpu);
|
||||
ABTS_PTR_NOTNULL(tc, recvbuf);
|
||||
ogs_pkbuf_free(recvbuf);
|
||||
#endif
|
||||
|
||||
/* Send Registration request
|
||||
* - Update Registration request type
|
||||
@@ -847,7 +845,6 @@ static void test2_func(abts_case *tc, void *data)
|
||||
ABTS_PTR_NOTNULL(tc, recvbuf);
|
||||
ogs_pkbuf_free(recvbuf);
|
||||
|
||||
#if __linux__
|
||||
/* Send GTP-U ICMP Packet */
|
||||
rv = test_gtpu_send_ping(gtpu, qos_flow, TEST_PING_IPV6);
|
||||
ABTS_INT_EQUAL(tc, OGS_OK, rv);
|
||||
@@ -856,7 +853,6 @@ static void test2_func(abts_case *tc, void *data)
|
||||
recvbuf = test_gtpu_read(gtpu);
|
||||
ABTS_PTR_NOTNULL(tc, recvbuf);
|
||||
ogs_pkbuf_free(recvbuf);
|
||||
#endif
|
||||
|
||||
/* Send Registration request
|
||||
* - Update Registration request type
|
||||
|
||||
Reference in New Issue
Block a user