Change in libosmo-abis[master]: Configure E1 pcap file per line

keith gerrit-no-reply at
Wed Apr 14 19:41:47 UTC 2021

keith has posted comments on this change. ( )

Change subject: Configure E1 pcap file per line

Patch Set 8:


File include/osmocom/abis/e1_input.h: 
PS7, Line 324: e1_set_pcap_fd
> Should we deprecate the old symbol now?
What does it imply to deprecate the old symbol here? To add a deprecated compliler warning? 

BTW, AFAIK, the only place this is called is in openbsc - osmo-nitb/bsc_hack.c 
File include/osmocom/abis/e1_input.h: 
PS3, Line 319: int e1_set_pcap_fd(int fd, int e1_nr);
> Yes a new function would be great to avoid breaking build in osmo-nitb. […]
File src/e1_input.c: 
PS3, Line 186: 			      struct msgb *msg, int pcap_fd) {
> Ah sorry I thought it's not because I didn't see any line added with it.
File src/e1_input.c: 
PS7, Line 144: pcap_hdr
> It can also be 'static' I think, so it will definitely end up in RODATA.
File src/e1_input_vty.c: 
PS7, Line 273: 		return CMD_WARNING;
> I think you need to close(fd) before you return from here.
PS7, Line 275: 	if (line->pcap_file) {
> osmo_talloc_replace_string() will free() it automatically, remove this block.
PS7, Line 295: void
> This pointer cast is not needed because it's not 'const'.

To view, visit
To unsubscribe, or for help writing mail filters, visit

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I316c3d6a839e84c2f52a148c6b8dd6f5933cf4bf
Gerrit-Change-Number: 21118
Gerrit-PatchSet: 8
Gerrit-Owner: keith <keith at>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at>
Gerrit-Reviewer: keith <keith at>
Gerrit-Reviewer: pespin <pespin at>
Gerrit-CC: laforge <laforge at>
Gerrit-Comment-Date: Wed, 14 Apr 2021 19:41:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin at>
Comment-In-Reply-To: fixeria <vyanitskiy at>
Comment-In-Reply-To: keith <keith at>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gerrit-log mailing list