]> git.ipfire.org Git - thirdparty/systemd.git/commit
socket-util: add generic socket_pass_pktinfo() helper
authorLennart Poettering <lennart@poettering.net>
Wed, 27 May 2020 17:27:51 +0000 (19:27 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 27 May 2020 20:39:34 +0000 (22:39 +0200)
commit35a3eb9bdc95d1e6ba25bc65c78959ea104e45a1
tree4a968efc849cb3aee1c8ad61b19f11ffa44eae41
parentbb2294e4545ef2685d52ef27e7bc8a5a265d530b
socket-util: add generic socket_pass_pktinfo() helper

The helper turns on the protocol specific "packet info" structure cmsg
for three relevant protocols we know.
src/basic/socket-util.c
src/basic/socket-util.h