File indexing completed on 2025-01-30 10:10:12
0001
0002
0003
0004
0005
0006
0007
0008
0009 #pragma once
0010
0011 #include <string>
0012
0013 #include <sys/socket.h>
0014
0015 namespace gloo {
0016 namespace transport {
0017 namespace tcp {
0018
0019 struct attr {
0020 attr() {}
0021 attr(const char* ptr) : hostname(ptr) {}
0022
0023 std::string hostname;
0024
0025 std::string iface;
0026
0027
0028
0029 int ai_family = AF_UNSPEC;
0030 int ai_socktype;
0031 int ai_protocol;
0032 struct sockaddr_storage ai_addr;
0033 int ai_addrlen;
0034 };
0035
0036 }
0037 }
0038 }