[vala] linux: rtnetlink routing / discovery messages
- From: Michael Lauer <mlauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] linux: rtnetlink routing / discovery messages
- Date: Thu, 22 Apr 2010 16:49:01 +0000 (UTC)
commit be14c704cd286d65c6e7b123c7b71ae4b3a4ecb6
Author: Michael 'Mickey' Lauer <mickey vanille-media de>
Date: Thu Apr 22 18:45:08 2010 +0200
linux: rtnetlink routing / discovery messages
vapi/linux.vapi | 39 +++++++++++++++++++++++++++++++++++++++
1 files changed, 39 insertions(+), 0 deletions(-)
---
diff --git a/vapi/linux.vapi b/vapi/linux.vapi
index 168ea2c..bd0eb8f 100644
--- a/vapi/linux.vapi
+++ b/vapi/linux.vapi
@@ -2522,6 +2522,45 @@ namespace Linux {
[CCode (cheader_filename = "sys/socket.h", sentinel = "")]
public int bind (int sockfd, SockAddrNl addr, ulong length);
*/
+
+ // rtnetlink routing / discovery messages
+ [CCode (cprefix = "RTM_", cheader_filename = "linux/rtnetlink.h")]
+ public enum RtMessageType {
+ NEWLINK,
+ DELLINK,
+ GETLINK,
+ SETLINK,
+ NEWADDR,
+ DELADDR,
+ GETADDR,
+ NEWROUTE,
+ DELROUTE,
+ GETROUTE,
+ NEWNEIGH,
+ DELNEIGH,
+ GETNEIGH,
+ NEWRULE,
+ DELRULE,
+ GETRULE,
+ NEWQDISC,
+ DELQDISC,
+ GETQDISC,
+ NEWTCLASS,
+ DELTCLASS,
+ GETTCLASS,
+ NEWTFILTER,
+ DELTFILTER,
+ GETTFILTER,
+ NEWACTION,
+ DELACTION,
+ GETACTION,
+ NEWPREFIX,
+ GETMULTICAST,
+ GETANYCAST,
+ NEWNEIGHTBL,
+ GETNEIGHTBL,
+ SETNEIGHTBL,
+ }
}
/*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]