User Tools

Site Tools


mirnshi:sysctl_string

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
mirnshi:sysctl_string [2009/03/06 10:05] – created mirnshimirnshi:sysctl_string [2009/04/14 03:16] (current) mirnshi
Line 1: Line 1:
-====== sysctl string ======+====== sysctl string on FreeBSD ======
 The way to 'sysctl' string in the kernel module program The way to 'sysctl' string in the kernel module program
 \\ \\
Line 19: Line 19:
      return error;      return error;
   }   }
-\\+Note: SYSCTL_OUT sends the value to user space, that is to update the MIB value.
  
   SYSCTL_ADD_PROC(NULL, SYSCTL_CHILDREN(sysctl_root), OID_AUTO, "str",    SYSCTL_ADD_PROC(NULL, SYSCTL_CHILDREN(sysctl_root), OID_AUTO, "str", 
mirnshi/sysctl_string.txt · Last modified: 2009/04/14 03:16 by mirnshi