Searched refs:netdev (Results 1 - 4 of 4) sorted by relevance

/lxc/src/lxc/
H A Dconf.c2334 static int setup_netdev(struct lxc_netdev *netdev) argument
2341 if (!netdev->ifindex) {
2342 if (netdev->flags & IFF_UP) {
2350 if (netdev->type != LXC_NET_VETH)
2352 netdev->ifindex = if_nametoindex(netdev->name);
2355 /* get the new ifindex in case of physical netdev */
2356 if (netdev->type == LXC_NET_PHYS) {
2357 if (!(netdev->ifindex = if_nametoindex(netdev
2519 struct lxc_netdev *netdev; local
2641 instantiate_veth(struct lxc_handler *handler, struct lxc_netdev *netdev) argument
2760 shutdown_veth(struct lxc_handler *handler, struct lxc_netdev *netdev) argument
2779 instantiate_macvlan(struct lxc_handler *handler, struct lxc_netdev *netdev) argument
2830 shutdown_macvlan(struct lxc_handler *handler, struct lxc_netdev *netdev) argument
2845 instantiate_vlan(struct lxc_handler *handler, struct lxc_netdev *netdev) argument
2897 shutdown_vlan(struct lxc_handler *handler, struct lxc_netdev *netdev) argument
2902 instantiate_phys(struct lxc_handler *handler, struct lxc_netdev *netdev) argument
2926 shutdown_phys(struct lxc_handler *handler, struct lxc_netdev *netdev) argument
2939 instantiate_none(struct lxc_handler *handler, struct lxc_netdev *netdev) argument
2945 instantiate_empty(struct lxc_handler *handler, struct lxc_netdev *netdev) argument
2958 shutdown_empty(struct lxc_handler *handler, struct lxc_netdev *netdev) argument
2971 shutdown_none(struct lxc_handler *handler, struct lxc_netdev *netdev) argument
2980 struct lxc_netdev *netdev; local
3004 struct lxc_netdev *netdev; local
3035 struct lxc_netdev *netdev; local
3111 unpriv_assign_nic(const char *lxcpath, char *lxcname, struct lxc_netdev *netdev, pid_t pid) argument
3220 struct lxc_netdev *netdev; local
3493 struct lxc_netdev *netdev; local
4159 struct lxc_netdev *netdev = it->elem; local
4193 struct lxc_netdev *netdev; local
[all...]
H A Dconfile.c411 struct lxc_netdev *netdev; local
417 netdev = malloc(sizeof(*netdev));
418 if (!netdev) {
423 memset(netdev, 0, sizeof(*netdev));
424 lxc_list_init(&netdev->ipv4);
425 lxc_list_init(&netdev->ipv6);
430 free(netdev);
435 list->elem = netdev;
496 struct lxc_netdev *netdev = NULL; local
512 struct lxc_netdev *netdev; local
557 struct lxc_netdev *netdev = NULL; local
659 struct lxc_netdev *netdev; local
673 struct lxc_netdev *netdev; local
685 struct lxc_netdev *netdev; local
697 struct lxc_netdev *netdev; local
713 struct lxc_netdev *netdev; local
729 struct lxc_netdev *netdev; local
757 struct lxc_netdev *netdev; local
776 struct lxc_netdev *netdev; local
788 struct lxc_netdev *netdev; local
879 struct lxc_netdev *netdev; local
917 struct lxc_netdev *netdev; local
981 struct lxc_netdev *netdev; local
1019 struct lxc_netdev *netdev; local
1031 struct lxc_netdev *netdev; local
2404 struct lxc_netdev *netdev; local
[all...]
H A Dstart.c665 struct lxc_netdev *netdev; local
669 netdev = iterator->elem;
670 if (netdev->type != LXC_NET_VETH)
680 struct lxc_netdev *netdev; local
685 netdev = iterator->elem;
686 if (netdev->type != LXC_NET_VETH)
688 if (!(netdev->name = malloc(IFNAMSIZ))) {
693 if (read(netpipe, netdev->name, IFNAMSIZ) != IFNAMSIZ) {
965 struct lxc_netdev *netdev = iterator->elem; local
967 if (netdev
1225 struct lxc_netdev *netdev; local
[all...]
H A Dcriu.c755 struct lxc_netdev *netdev = it->elem; local
758 if (netdev->type != LXC_NET_VETH)
763 if (!netdev->priv.veth_attr.pair)
764 netdev->priv.veth_attr.pair = lxc_mkifname(template);
766 if (!netdev->priv.veth_attr.pair)

Completed in 53 milliseconds