]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/libsystemd-network/test-ndisc-rs.c
sd-ndisc: introduce separate callbacks
authorTom Gundersen <teg@jklm.no>
Mon, 19 Oct 2015 20:15:50 +0000 (22:15 +0200)
committerTom Gundersen <teg@jklm.no>
Wed, 11 Nov 2015 14:42:38 +0000 (15:42 +0100)
commit9d96e6c3efbe5ef52b2855612d51db52c469beb2
tree8398fd74f30954af3e427be8e19e93b58545889e
parentcb53894d3b6e90edaee4219fe716850d01242f46
sd-ndisc: introduce separate callbacks

As the data passed is very different, we introduce four different callbacks:
 - Generic - router discovery timed out or state machine stopped
 - Router - router and link configuration received
 - Prefix onlink - configuration for an onlink prefix received
 - Prefix autonomous - configuration for to configure a SLAAC address for a prefix received
src/libsystemd-network/sd-ndisc.c
src/libsystemd-network/test-ndisc-rs.c
src/network/networkd-ndisc.c
src/systemd/sd-ndisc.h