Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
hv_kvp_daemon.c File Reference
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/poll.h>
#include <sys/utsname.h>
#include <linux/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include <arpa/inet.h>
#include <linux/connector.h>
#include <linux/hyperv.h>
#include <linux/netlink.h>
#include <ifaddrs.h>
#include <netdb.h>
#include <syslog.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <dirent.h>

Go to the source code of this file.

Data Structures

struct  kvp_record
 
struct  kvp_file_state
 

Macros

#define KVP_CONFIG_LOC   "/var/opt/"
 
#define MAX_FILE_NAME   100
 
#define ENTRIES_PER_BLOCK   50
 

Enumerations

enum  key_index {
  FullyQualifiedDomainName = 0, IntegrationServicesVersion, NetworkAddressIPv4, NetworkAddressIPv6,
  OSBuildNumber, OSName, OSMajorVersion, OSMinorVersion,
  OSVersion, ProcessorArchitecture
}
 
enum  { IPADDR = 0, NETMASK, GATEWAY, DNS }
 

Functions

void kvp_get_os_info (void)
 
int main (void)
 

Macro Definition Documentation

#define ENTRIES_PER_BLOCK   50

Definition at line 101 of file hv_kvp_daemon.c.

#define KVP_CONFIG_LOC   "/var/opt/"

Definition at line 98 of file hv_kvp_daemon.c.

#define MAX_FILE_NAME   100

Definition at line 100 of file hv_kvp_daemon.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
IPADDR 
NETMASK 
GATEWAY 
DNS 

Definition at line 74 of file hv_kvp_daemon.c.

enum key_index
Enumerator:
FullyQualifiedDomainName 
IntegrationServicesVersion 
NetworkAddressIPv4 
NetworkAddressIPv6 
OSBuildNumber 
OSName 
OSMajorVersion 
OSMinorVersion 
OSVersion 
ProcessorArchitecture 

Definition at line 60 of file hv_kvp_daemon.c.

Function Documentation

void kvp_get_os_info ( void  )

Definition at line 450 of file hv_kvp_daemon.c.

int main ( void  )

Definition at line 1401 of file hv_kvp_daemon.c.