Attention is currently required from: dexter, laforge.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-mgw/+/36357?usp=email )
Change subject: simplify unused transcoding/processing call-back
......................................................................
Patch Set 1: Code-Review+1
(1 comment)
Patchset:
PS1:
Ok now I see you are doing even more changes. Let's see if we end up doing something with this callback...
--
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/36357?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I002624f9008726e3d754d48aa2282c38e3b42953
Gerrit-Change-Number: 36357
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 20 Mar 2024 12:37:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: dexter, laforge.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-mgw/+/36356?usp=email )
Change subject: remove strange loop for non-existant transcoding support
......................................................................
Patch Set 1:
(1 comment)
File src/libosmo-mgcp/mgcp_network.c:
https://gerrit.osmocom.org/c/osmo-mgw/+/36356/comment/e5eba134_f76ee833
PS1, Line 1178: rc = endp->trunk->cfg->rtp_processing_cb(endp, rtp_end, (char *)msgb_data(msg), &buflen, RTP_BUF_SIZE);
You may was well drop the entire think which afaict is only used with cb mgcp_rtp_processing_default which does nothing?
imho it is equally confusing with and without the loop.
--
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/36356?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: Ie1a629fd31c5ab806fc929d1e6b279c4be5b8246
Gerrit-Change-Number: 36356
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 20 Mar 2024 12:36:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: osmith.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/36068?usp=email )
Change subject: gtp/gtp_internal.h: new file
......................................................................
Patch Set 1:
(1 comment)
File gtp/gtp_internal.h:
https://gerrit.osmocom.org/c/osmo-ggsn/+/36068/comment/e1c5d1ef_64a4f4b3
PS1, Line 3: int gtp_echo_resp(struct gsn_t *gsn, int version,
: struct sockaddr_in *peer, int fd,
: void *pack, unsigned len);
: int gtp_echo_ind(struct gsn_t *gsn, int version,
: struct sockaddr_in *peer, int fd,
: void *pack, unsigned len);
: int gtp_echo_conf(struct gsn_t *gsn, int version,
: struct sockaddr_in *peer, void *pack, unsigned len);
:
: int gtp_unsup_req(struct gsn_t *gsn, int version,
: struct sockaddr_in *peer,
: int fd, void *pack, unsigned len);
: int gtp_unsup_ind(struct gsn_t *gsn, struct sockaddr_in *peer,
: void *pack, unsigned len);
:
: int gtp_create_pdp_resp(struct gsn_t *gsn, int version,
: struct pdp_t *pdp, uint8_t cause);
:
: int gtp_create_pdp_ind(struct gsn_t *gsn, int version,
: struct sockaddr_in *peer, int fd,
: void *pack, unsigned len);
:
: int gtp_create_pdp_conf(struct gsn_t *gsn, int version,
: struct sockaddr_in *peer,
: void *pack, unsigned len);
:
: int gtp_update_pdp_req(struct gsn_t *gsn, int version, void *cbp,
: struct in_addr *inetaddr, struct pdp_t *pdp);
:
: int gtp_delete_pdp_req(struct gsn_t *gsn, int version, void *cbp,
: struct pdp_t *pdp);
:
: int gtp_delete_pdp_resp(struct gsn_t *gsn, int version,
: struct sockaddr_in *peer, int fd,
: void *pack, unsigned len,
: struct pdp_t *pdp, struct pdp_t *linked_pdp,
: uint8_t cause, int teardown);
:
: int gtp_delete_pdp_ind(struct gsn_t *gsn, int version,
: struct sockaddr_in *peer, int fd,
: void *pack, unsigned len);
:
: int gtp_delete_pdp_conf(struct gsn_t *gsn, int version,
: struct sockaddr_in *peer,
: void *pack, unsigned len);
why do those gtp_* symbols need to be non-static and declared in any header file at all? It looks to me like they are defined in gtp.c and the only user is in gtp.c itself?a
--
To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/36068?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: I72c40cbdec33449ca8104fb3cad8df1a9e07dfd7
Gerrit-Change-Number: 36068
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 20 Mar 2024 12:32:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: dexter, laforge.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/36324?usp=email )
Change subject: msgb: Also copy msgb {dst, lchan, cb} during msgb_copy_*
......................................................................
Patch Set 2: Code-Review+1
(1 comment)
File src/core/msgb.c:
https://gerrit.osmocom.org/c/libosmocore/+/36324/comment/7bd7ce73_efa9a6dd
PS1, Line 320: * and adjusts the pointers (incl l1h-l4h) accordingly. The cb part is not copied.
> I did a rather exhaustive study and could not find any osmocoom code that would rely on the existing […]
I think the cb was not copied as a performance reason, since lots of code doesn't use cb at all.
I personally think it's fine keeping the old behavior. You may want to add a copy_full() API which also copies the cb and other stuff.
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/36324?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I68328adb952ca8833ba047cb3b49ccc6f8a1f1b5
Gerrit-Change-Number: 36324
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 20 Mar 2024 12:31:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Comment-In-Reply-To: dexter <pmaier(a)sysmocom.de>
Gerrit-MessageType: comment