#include "lib/util/debug.h"
-#include "ctdb_logging.h"
-#include "ctdb_private.h"
+#include "protocol/protocol.h"
#include <netinet/if_ether.h>
#include <netinet/ip6.h>
#include <sys/kinfo.h>
#include <pcap.h>
+#include "common/logging.h"
#include "common/system.h"
int s, ret;
uint32_t one = 1;
- s = socket(AF_INET, SOCK_RAW, htons(IPPROTO_RAW));
+ s = socket(AF_INET, SOCK_RAW, IPPROTO_RAW);
if (s == -1) {
DEBUG(DEBUG_CRIT,(" failed to open raw socket (%s)\n",
strerror(errno)));
- s = socket(AF_INET, SOCK_RAW, htons(IPPROTO_RAW));
+ s = socket(AF_INET, SOCK_RAW, IPPROTO_RAW);
if (s == -1) {
DEBUG(DEBUG_CRIT,(" failed to open raw socket (%s)\n",
strerror(errno)));
}
return ret;
}
-
-int ctdb_set_process_name(const char *name)
-{
- /* FIXME AIX: set_process_name not implemented */
- return -ENOSYS;
-}