diff options
author | Christian Spielberger <christian.spielberger@gmail.com> | 2018-05-15 12:35:17 +0200 |
---|---|---|
committer | Daniel Wagner <wagi@monom.org> | 2018-05-24 22:17:38 +0200 |
commit | f40674c9f299da0bc5c8eb5e8588c236b69cc82d (patch) | |
tree | bd2676430f02d7539542b36decd02a5866ba1217 /include/acd.h | |
parent | 2ead876f77f7bbbca6c1c5184ffd92bc22b696b8 (diff) | |
download | connman-f40674c9f299da0bc5c8eb5e8588c236b69cc82d.tar.gz |
acd: Add functions start/stop_listening
Adds functions for starting and stopping of the ARP listening which is essential
for ACD. Adds also the callback function for processing received ARP packets
which does nothing for the moment.
Diffstat (limited to 'include/acd.h')
-rw-r--r-- | include/acd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/acd.h b/include/acd.h index db2452dd..211d825e 100644 --- a/include/acd.h +++ b/include/acd.h @@ -35,6 +35,8 @@ extern "C" { struct acd_host; struct acd_host *acd_host_new(int ifindex); +int acd_host_start(struct acd_host *acd, uint32_t ip); +void acd_host_stop(struct acd_host *acd); #ifdef __cplusplus } |