treewide: align function naming
[project/odhcpd.git] / src / ndp.c
index 8ecc79b6031af2f2d69698907e07bc5775d1f5d6..22a91066ea9e3da3ecfc9a9c70b843fc70d116b1 100644 (file)
--- a/src/ndp.c
+++ b/src/ndp.c
@@ -74,7 +74,7 @@ static const struct sock_fprog bpf_prog = {sizeof(bpf) / sizeof(*bpf), bpf};
 
 
 // Initialize NDP-proxy
-int init_ndp(void)
+int ndp_init(void)
 {
        int val = 2;
 
@@ -168,7 +168,7 @@ static void dump_addr_table(bool v6)
        nlmsg_free(msg);
 }
 
-int setup_ndp_interface(struct interface *iface, bool enable)
+int ndp_setup_interface(struct interface *iface, bool enable)
 {
        int ret = 0, procfd;
        bool dump_neigh = false;