Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ucon.c File Reference
#include <asm/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/poll.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <arpa/inet.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <time.h>
#include <getopt.h>
#include <linux/connector.h>

Go to the source code of this file.

Macros

#define DEBUG
 
#define NETLINK_CONNECTOR   11
 
#define CN_TEST_IDX   CN_NETLINK_USERS + 3
 
#define CN_TEST_VAL   0x456
 
#define ulog(f, a...)   fprintf(stdout, f, ##a)
 

Functions

int main (int argc, char *argv[])
 

Macro Definition Documentation

#define CN_TEST_IDX   CN_NETLINK_USERS + 3

Definition at line 48 of file ucon.c.

#define CN_TEST_VAL   0x456

Definition at line 49 of file ucon.c.

#define DEBUG

Definition at line 44 of file ucon.c.

#define NETLINK_CONNECTOR   11

Definition at line 45 of file ucon.c.

#define ulog (   f,
  a... 
)    fprintf(stdout, f, ##a)

Definition at line 52 of file ucon.c.

Function Documentation

int main ( int  argc,
char argv[] 
)

Definition at line 111 of file ucon.c.