VIEW-OS(1) | General Commands Manual | VIEW-OS(1) |
mstack - networking stack selection
mstack [-hv] [-o protocol list] stack_mountpoint command
In View-OS multiple networking stacks are available to processes
at the same time. View-OS supports the msocket(2) system call. mstack
defines the default stack (for each address family) that is used when
msocket refers to a NULL pathname for its stack. mstack provides also a
backward compatibility for all the programs using the obsolete
socket(2) system call. The stack mountpoint identifies the stack. In
ViewOS it is the mountpoint where the stack was mounted (by
mount(2)(8). In fact the call:
"socket(domain,type,protocol)"
is equivalent to:
"msocket(NULL,domain,type protocol)"
mstacks changes the default stack for the desired protocol families and
executes the command (by execve(2)).
umview(1), kmview(1), msocket(3), umnetnative(9), umnetnull(9), umnetlwipv6(9), unix(7), ip(7), ipv6(7), netlink(7), packet(7).
View-OS is a project of the Computer Science Department,
University of Bologna. Project Leader: Renzo Davoli.
<http://www.sourceforge.net/projects/view-os>
Howto's and further information can be found on the project wiki <wiki.virtualsquare.org>.
April 23, 2008 | VIEW-OS: a process with a view |