aboutsummaryrefslogtreecommitdiffstats
path: root/src/mnl.c
AgeCommit message (Collapse)AuthorFilesLines
2023-01-18Move src/*.{c,h} to src/core/Pau Espin Pedrol1-111/+0
This way we have all libosmocore.so in an own subdir instead of having lots of files in the parent dir, which also contains subdirs to other libraries. This also matches the schema under include/osmocom/. Change-Id: I6c76fafebdd5e961aed88bbecd2c16bc69d580e2
2022-11-09Fix typos in copyright statements.Harald Welte1-1/+1
Change-Id: I783c56bb1d216ce3a47a19da230ee5f50aca2ab3
2021-12-14treewide: remove FSF addressOliver Smith1-5/+0
Remove the paragraph about writing to the Free Software Foundation's mailing address. The FSF has changed addresses in the past, and may do so again. In 2021 this is not useful, let's rather have a bit less boilerplate at the start of source files. Change-Id: I5050285e75cf120407a1d883e99b3c4bcae8ffd7
2020-12-04mnl: Use mnl_socket_open() insatead of mnl_socket_open2()Harald Welte1-1/+1
mnl_socket_open2 is not yet available on e.g. Debian 8. Furthermore, osmo_fd_register() will set the CLOEXEC flag on every file descriptor anyway, so there is no benefit from using mnl_socket_open2() at all. Change-Id: I0b37ffa148ff0c0a22281b490820353f5fef00eb
2020-12-02Integrate libmnl (minimal netlink) library with libosmocore select loopHarald Welte1-0/+116
This adds an easy way to listen to netlink events form the Linux kernel from within libosmocore applications. The new dependency can be disabled via the "--disable-lbimnl" configure flag. Change-Id: I4f787ee68f0d6d04f0a5655eb57d55b3b326a42f