~ubuntu-branches/ubuntu/quantal/iproute/quantal-updates

« back to all changes in this revision

Viewing changes to include/linux/netlink.h

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-05-22 14:10:07 UTC
  • mfrom: (1.1.15) (23.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20120522141007-uuwicj2cx2x71vfb
Tags: 20120319-1ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Mark iproute as Multi-Arch: foreign.
  - Add cross-building support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef __LINUX_NETLINK_H
2
2
#define __LINUX_NETLINK_H
3
3
 
4
 
#include <linux/socket.h> /* for sa_family_t */
 
4
#include <linux/socket.h> /* for __kernel_sa_family_t */
5
5
#include <linux/types.h>
6
6
 
7
7
#define NETLINK_ROUTE           0       /* Routing/device hook                          */
8
8
#define NETLINK_UNUSED          1       /* Unused number                                */
9
9
#define NETLINK_USERSOCK        2       /* Reserved for user mode socket protocols      */
10
10
#define NETLINK_FIREWALL        3       /* Firewalling hook                             */
11
 
#define NETLINK_INET_DIAG       4       /* INET socket monitoring                       */
 
11
#define NETLINK_SOCK_DIAG       4       /* socket monitoring                            */
12
12
#define NETLINK_NFLOG           5       /* netfilter/iptables ULOG */
13
13
#define NETLINK_XFRM            6       /* ipsec */
14
14
#define NETLINK_SELINUX         7       /* SELinux event notifications */
25
25
#define NETLINK_SCSITRANSPORT   18      /* SCSI Transports */
26
26
#define NETLINK_ECRYPTFS        19
27
27
#define NETLINK_RDMA            20
 
28
#define NETLINK_CRYPTO          21      /* Crypto layer */
 
29
 
 
30
#define NETLINK_INET_DIAG       NETLINK_SOCK_DIAG
28
31
 
29
32
#define MAX_LINKS 32            
30
33