20 #ifndef NETWORKINGHELPER_H
21 #define NETWORKINGHELPER_H
23 #include <netinet/in.h>
25 #include "NetworkingPluginCommon.h"
37 in_addr_t ipv4Addr()
const;
38 std::string ipv4AddrStr()
const;
41 struct in6_addr ipv6Addr() const;
42 std::string ipv6AddrStr()
const;
44 std::string vethName()
const;
52 std::string mIpv4AddrStr;
55 struct in6_addr mIpv6Addr;
56 std::string mIpv6AddrStr;
58 std::string mVethName;
Definition: NetworkingHelper.h:28
bool storeContainerInterface(in_addr_t addr, const std::string &vethName)
Constructs addresses for the container based on input address. Also stores the veth device used for t...
Definition: NetworkingHelper.cpp:96
static struct in6_addr in6addrCreate(const in_addr_t inaddr)
Constructs an IPv6 address to be used by Dobby.
Definition: NetworkingHelper.cpp:135