~ubuntu-branches/ubuntu/quantal/lxc/quantal-201205292108

« back to all changes in this revision

Viewing changes to src/lxc/network.h

  • Committer: Bazaar Package Importer
  • Author(s): Guido Trotter
  • Date: 2010-01-10 10:40:21 UTC
  • mto: (1.1.2 upstream) (3.1.2 sid)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20100110104021-ff3ukvpu7yzc36hm
ImportĀ upstreamĀ versionĀ 0.6.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
/*
32
32
 * Move a device between namespaces
33
33
 */
34
 
extern int lxc_device_move(const char *name, pid_t pid);
 
34
extern int lxc_device_move(int ifindex, pid_t pid);
35
35
 
36
36
/*
37
37
 * Delete a network device
81
81
/*
82
82
 * Set ip address
83
83
 */
84
 
extern int lxc_ip_addr_add(const char *ifname, const char *addr,
85
 
                           int prefix, const char *bcast);
86
 
 
87
 
extern int lxc_ip6_addr_add(const char *ifname, const char *addr,
88
 
                            int prefix, const char *bcast);
 
84
extern int lxc_ip_addr_add(int family, int ifindex, void *addr, int prefix);
89
85
 
90
86
/*
91
87
 * Attach an interface to the bridge