libnl on macOS and iOS

93 views
Skip to first unread message

OriolOMM

unread,
Oct 20, 2016, 8:46:09 AM10/20/16
to CocoaAsyncSocket

I'm trying to migrate a Linux/Android C app to macOS/iOS.

I have this problem, this app uses libnl library some times, in the source code you can see includes like:

#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <linux/if_tun.h>

These files are from libnl library, you can find information about this library here:

https://www.infradead.org/~tgr/libnl/doc/core.html#_introduction

I don't know what it's the equivalent in macOS and iOS. Maybe is the same but in another path? CocoaAsyncSocket is what I need? is there any official library from Apple?

But this means that I need to rewrite all parts of the code that uses libnl?

Any ideas?

Thanks in advance!


Reply all
Reply to author
Forward
0 new messages