Searched defs:network (Results 1 - 4 of 4) sorted by relevance

/lxc/src/lxc/
H A Dstart.c662 static inline int count_veths(struct lxc_list *network) argument
668 lxc_list_for_each(iterator, network) {
677 static int read_unpriv_netifindex(struct lxc_list *network) argument
684 lxc_list_for_each(iterator, network) {
754 if (read_unpriv_netifindex(&handler->conf->network) < 0)
964 lxc_list_for_each(iterator, &conf->network) {
1082 if (!lxc_list_empty(&handler->conf->network)) {
1086 * before creating network interfaces, since goto
1099 ERROR("Failed to create the network.");
1139 if (am_unpriv() && (nveths = count_veths(&handler->conf->network))) {
[all...]
H A Dconf.h60 * @mask : network mask
77 * @mask : network mask
113 * Defines a structure to configure a network device
114 * @link : lxc.network.link, name of bridge or host iface to attach if any
115 * @name : lxc.network.name, name of iface on the container side
116 * @flags : flag of the network device (IFF_UP, ... )
117 * @ipv4 : a list of ipv4 addresses to be set on the network device
118 * @ipv6 : a list of ipv6 addresses to be set on the network device
271 * @network : network configuratio
304 struct lxc_list network; member in struct:lxc_conf
[all...]
H A Dconfile.c49 #include "network.h"
149 { "lxc.network.type", config_network_type },
150 { "lxc.network.flags", config_network_flags },
151 { "lxc.network.link", config_network_link },
152 { "lxc.network.name", config_network_name },
153 { "lxc.network.macvlan.mode", config_network_macvlan_mode },
154 { "lxc.network.veth.pair", config_network_veth_pair },
155 { "lxc.network.script.up", config_network_script_up },
156 { "lxc.network.script.down", config_network_script_down },
157 { "lxc.network
410 struct lxc_list *network = &lxc_conf->network; local
492 get_netdev_from_key(const char *key, struct lxc_list *network) argument
554 network_netdev(const char *key, const char *value, struct lxc_list *network) argument
[all...]
H A Dconf.c87 #include "network.h"
2340 /* empty network namespace */
2418 /* set the network device up */
2429 /* the network is up, make the loopback up too */
2516 static int setup_network(struct lxc_list *network) argument
2521 lxc_list_for_each(iterator, network) {
2531 if (!lxc_list_empty(network))
2532 INFO("network has been setup");
2615 lxc_list_init(&new->network);
2978 struct lxc_list *network local
3002 struct lxc_list *network = &handler->conf->network; local
3033 struct lxc_list *network = &handler->conf->network; local
3216 lxc_assign_network(const char *lxcpath, char *lxcname, struct lxc_list *network, pid_t pid) argument
3491 struct lxc_list *network = &handler->conf->network; local
[all...]

Completed in 27 milliseconds