diff options
author | Eric <ewild@sysmocom.de> | 2020-05-06 12:54:08 +0200 |
---|---|---|
committer | Eric <ewild@sysmocom.de> | 2020-05-06 14:00:37 +0200 |
commit | a670630cfe02662f15778caadcc0a33e293b2113 (patch) | |
tree | 6c9b4d7050d43e560abc448442cbe1c1e488a99c /Transceiver52M/device/ipc/shm.h | |
parent | 76c8846df991096ad089c428f7727cadc78c1e4a (diff) |
ipc: add master socket number/path parametershoernchen/ipc
osmo-trx-ipc needs to know which master socket it should talk to, so
pass this path in the config device args like this:
dev-args ipc_msock=/path/to/socket
Additionally, add a master socket suffix number parameter to the ipc
backend,
ipc-driver-test -n 0 to start serving /tmp/ipc_sock0
Change-Id: I24857fbb74e5fc808b2a218957c723291de2ba04
Diffstat (limited to 'Transceiver52M/device/ipc/shm.h')
-rw-r--r-- | Transceiver52M/device/ipc/shm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/device/ipc/shm.h b/Transceiver52M/device/ipc/shm.h index 5ff8f2d..0466349 100644 --- a/Transceiver52M/device/ipc/shm.h +++ b/Transceiver52M/device/ipc/shm.h @@ -78,7 +78,7 @@ struct ipc_shm_region *ipc_shm_decode_region(void *tall_ctx, struct ipc_shm_raw_ // Master socket ////////////////// -#define IPC_SOCK_PATH "/tmp/ipc_sock" +#define IPC_SOCK_PATH_PREFIX "/tmp/ipc_sock" #define IPC_SOCK_API_VERSION 1 /* msg_type */ |