← Back to team overview

rohc team mailing list archive

Re: useless ceil() calls


2012/6/20 Didier Barvaux <didier@xxxxxxxxxxx>:
> Linux kernel support would a great thing. There is Launchpad blueprint
> on this subject [2]. Is it planned to make the modifications public?

Yes, take a look at kernel_module.patch.

It allows to build rohc library as linux kernel module. The main issue
here is lack of standard c library in kernel. So, I just created bunch
of libc header wrappers to use similar kernel functions. Actually,
It's not a good idea to get implicit dual-targeting this way, but it
woks for now. Anyways, this ad-hoc solution points out some
portability issues (you really should rename rohc.c to rohc_common.c)
and may serve as a good start.

Attachment: kernel_module.patch
Description: Binary data

Follow ups