~ubuntu-branches/ubuntu/wily/marionnet/wily

« back to all changes in this revision

Viewing changes to uml/kernel/doc/ghost_kernel_errors.txt

  • Committer: Package Import Robot
  • Author(s): Lucas Nussbaum
  • Date: 2013-03-29 15:57:12 UTC
  • Revision ID: package-import@ubuntu.com-20130329155712-o0b9b96w8av68ktq
Tags: upstream-0.90.6+bzr407
ImportĀ upstreamĀ versionĀ 0.90.6+bzr407

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Kernel code error :
 
2
===================
 
3
 
 
4
Part  of  the kernel  which  has in charge the Ghost operations can
 
5
return several error code when an error occurs.
 
6
 
 
7
Ghostify or Unghostify a network interface (card) is done through a
 
8
ioctl(2) request, on error  ioctl  request use errno to provide the 
 
9
number of the error.
 
10
 
 
11
The differents error code which can be returned are :
 
12
-----------------------------------------------------
 
13
 
 
14
During Ghostify operation :
 
15
---------------------------
 
16
 
 
17
EINVAL - This error is returned  when the name of the specified
 
18
         network  card is too long (greater than IFNAMSIZ) or  when
 
19
         the name has a null length. This error is also returned by
 
20
         a incorrect ioctl() request. With ghost2 this reflects the
 
21
         fact that the kernel doesn't supports the Ghost operations
 
22
     (because the other cases are handled by the program).
 
23
 
 
24
EEXIST - This error occurs when the network card is already ghostified.
 
25
 
 
26
ENODEV - This error is returned when the specified network card
 
27
         doesn't exist (really doesn't exist ;).
 
28
 
 
29
ENOMEM - This error is returned when the max number of ghostified
 
30
         network cards has been reached.
 
31
 
 
32
During Unghostify operation :
 
33
-----------------------------
 
34
 
 
35
ENODEV - This error is returned when the specified network card 
 
36
         doesn't exist (really doesn't exist ;).
 
37
 
 
38
ESRCH - The network card is not ghositified.
 
39