Searched refs:master (Results 1 - 9 of 9) sorted by relevance

/lxc/src/include/
H A Dopenpty.c41 int master, slave; local
43 master = open(_PATH_DEVPTMX, O_RDWR);
44 if (master == -1)
47 if (grantpt(master))
50 if (unlockpt(master))
53 if (ptsname_r(master, buf, sizeof buf))
66 *amaster = master;
74 close(master);
/lxc/src/lxc/
H A Dnetwork.h68 extern int lxc_macvlan_create(const char *master, const char *name, int mode);
69 extern int lxc_vlan_create(const char *master, const char *name, unsigned short vid);
H A Dconsole.c174 w = lxc_write_nointr(console->master, buf, r);
176 if (fd == console->master) {
224 if (console->master < 0) {
229 if (lxc_mainloop_add_handler(descr, console->master,
232 console->master);
299 close(console->peerpty.master);
301 console->peerpty.master = -1;
314 if (console->master < 0) {
328 * the real pty master will send to / recv from
331 ret = openpty(&console->peerpty.master,
[all...]
H A Dconf.h176 * @master : the file descriptor of the master
181 int master; member in struct:lxc_pty_info
205 int master; member in struct:lxc_console
H A Dnetwork.c754 int lxc_vlan_create(const char *master, const char *name, unsigned short vlanid) argument
767 len = strlen(master);
785 lindex = if_nametoindex(master);
834 int lxc_macvlan_create(const char *master, const char *name, int mode) argument
847 len = strlen(master);
865 index = if_nametoindex(master);
H A Dconf.c2599 new->console.peerpty.master = -1;
2601 new->console.master = -1;
3558 ret = openpty(&pty_info->master, &pty_info->slave,
3569 pty_info->name, pty_info->master, pty_info->slave);
3572 fcntl(pty_info->master, F_SETFD, FD_CLOEXEC);
3592 close(pty_info->master);
3950 if (send_fd(sock, pty_info->master) < 0)
3952 close(pty_info->master);
3953 pty_info->master = -1;
H A Dstart.c1014 recv_fd(sock, &pty_info->master) < 0) {
/lxc/src/lxc/tools/
H A Dlxc_attach.c269 close(wrap->console->master);
/lxc/templates/
H A Dlxc-debian.in298 wget https://ftp-master.debian.org/keys/${gpgkeyname}.asc -O - --quiet \

Completed in 26 milliseconds