<div dir="ltr">Hello,<div><br></div><div>I am working on a functionality which handles ipsec tunel creation for VoLTE registration and I'd like to contribute it to the project. However the code is heavily Linux specific - uses xfrm framework, so it won't compile on distribution with older kernels and definitely won't compile on *BSD.</div><div><br></div><div>How problematic is this? How to handle this implementation so that it gets merged?</div><div><br></div><div>Right now I can see two options:</div><div>1. Implement the functionality in ims_register_pcscf.</div><div>2. Implement separate ipsec module and handle the tunel creation/tear down from the configuration.</div><div><br></div><div>The first solution is definitely the easiest one for implementation, but after my patch the module won't be as portable as it is now and I'm afraid my patch will be rejected.</div><div><br></div><div>The second one separates the platform specific code in separate module and won't affect ims_register_pcscf. However I need data from ims_usrloc_pcscf, which is not accessible from the configuration. Also, writing separate module for a limited IPSEC handling seems like a overkill for me.</div><div><br></div><div>What's your opinion?</div><div><br></div><div>Best regards,</div><div>Tsvetomir</div></div>