GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > MSG / V3-0-2

Constituent: msg2src     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

MSG_cpu.c.ux-xxx-xxx File Reference

Return the IP address of the current embedded CPU (if possible). More...

#include <netdb.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <sys/types.h>
#include <sys/socket.h>
#include "MSG_prvdefs.h"

Include dependency graph for MSG_cpu.c.ux-xxx-xxx:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Functions

void MSG_getIP (unsigned char *ip)
 Get the IP address of the current node (if possible).


Detailed Description

Return the IP address of the current embedded CPU (if possible).

CVS $Id: MSG_cpu.c.ux-xxx-xxx,v 1.1 2004/12/12 06:45:40 apw Exp $
Author:
A.P.Waite

Function Documentation

void MSG_getIP unsigned char *  ip  ) 
 

Get the IP address of the current node (if possible).

Parameters:
ip (out) Pointer to four byte array, filled by this routine
In this host system version, MSG_getIP() will attempt identify the IP address of the current host using standard IP procedures. If anything goes wrong, this routine will fill in the IP address as '127.0.0.1' (i.e. "I'm me").


Generated on Thu Sep 22 08:08:52 2005 by doxygen 1.3.3