From: Michael 'Mickey' Lauer Date: Sat, 26 Mar 2011 12:29:41 +0000 (+0100) Subject: linux: add ioctls and structures for n_gsm X-Git-Tag: 0.12.0~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5544add449d76529de085297c045de08ade34d5b;p=thirdparty%2Fvala.git linux: add ioctls and structures for n_gsm n_gsm is a new line discipline that implements the 3GPP 07.10 multiplexing protocol in the kernel. --- diff --git a/vapi/linux.vapi b/vapi/linux.vapi index 9f6bfb1b6..9407d36ca 100644 --- a/vapi/linux.vapi +++ b/vapi/linux.vapi @@ -832,6 +832,32 @@ namespace Linux { } } + /* + * Gsm + */ + namespace Gsm { + + [CCode (cname = "GSMIOC_GETCONF", cheader_filename = "linux/gsmmux.h")] + public const int GSMIOC_GETCONF; + [CCode (cname = "GSMIOC_SETCONF", cheader_filename = "linux/gsmmux.h")] + public const int GSMIOC_SETCONF; + + [CCode (cname = "struct gsm_config", cheader_filename = "linux/gsmmux.h")] + public struct Config { + public uint adaption; + public uint encapsulation; + public uint initiator; + public uint t1; + public uint t2; + public uint t3; + public uint n2; + public uint mru; + public uint mtu; + public uint k; + public uint i; + } + } + /* * Inotify */