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

Constituent: msg_mt     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:

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


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 Fri Nov 18 03:07:28 2005 by  doxygen 1.4.4