Skip to content

mmaped netlink

Ken-ichirou MATSUZAWA netfilter-devel 1 version In review

Get series with b4
b4 am 87txek8ztc.wl%[email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9headers: update netlink.h to 3.12include/linux/netlink.h+36 -40 replies
2/9mmap: initialinclude/libmnl/libmnl.h src/Makefile.am src/libmnl.map +1 more+279 -10 replies
3/9examples: add for min mmapconfigure.ac examples/Makefile.am examples/mmap/Makefile.am +7 more+1862 -20 replies
4/9mmap: add helper - nonmin1include/libmnl/libmnl.h src/libmnl.map src/mmap.c+169 -00 replies
5/9examples: add for mmap nonmin1configure.ac examples/mmap/Makefile.am examples/mmap/nonmin1/Makefile.am +4 more+1148 -20 replies
6/9mmap: add more helper - nonmin2include/libmnl/libmnl.h src/libmnl.map src/mmap.c+83 -00 replies
7/9examples: add for mmap nonmin2configure.ac examples/mmap/Makefile.am examples/mmap/nonmin2/Makefile.am +4 more+1162 -20 replies
8/9batch: introduce mnl_nlmsg_batch_reset_buffer for mmapinclude/libmnl/libmnl.h src/libmnl.map src/nlmsg.c+22 -00 replies
9/9examples: add for mnl_nlmsg_batch_reset_bufferexamples/mmap/min/Makefile.am examples/mmap/min/nfct-create-batch.c+253 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [libmnl PATCH 0/9] mmaped netlink

Hello Pablo, list

# First of all, you will have to excuse my poor English, sorry

I started implementing mmaped netlink socket in libmnl. Would you review the code? differ from original/nl-mmap, I added new struct mnl_ring_socket wrapping mnl_socket and new file mmap.c. Patches are divided into 4 parts.

part1: [2, 3] resemble to original/nl-mmap
part2: [4, 5] add helper
part3: [6, 7] add more helper
part4: [8, 9] add new batch function for mmap

Theses can be seen at https://github.com/chamaken/libmnl/tree/mmap-sbs too.

I have no experience using libmnl, netlink then do not know what is suitable for minimalistic. And I doubt part2 - 4 is suitable only for examples. Any advice is welcome.

thanks,