[Spce-user] Q: In-kernel + /proc recording: do you capture the first few userspace RTP packets ?

Richard Fuchs rfuchs at sipwise.com
Fri Aug 25 09:48:26 EDT 2017


On 08/24/2017 11:25 PM, Anthony Alba wrote:
> I'd like to check my understanding of /proc recording + in-kernel.
>
> When you record using /proc+in-kernel are the the userspace RTP
> packets (before kernelize()) also captured?
>
> I'm guessing yes: before kernelize() we would use dump_packet_proc()
> for the userspace RTP packets, subsequently we would switch to using
> the in-kernel module to add packets to the /proc interface.

You're correct. dump_packet_proc delivers a packet from userspace to 
kernel and makes it available the same way as an in-kernel packet was 
captured.

Cheers



More information about the Spce-user mailing list