GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > MSG / V3-1-0
Constituent: msg_mt     Tag: rad750
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "MSG_prvdefs.h"
Include dependency graph for MSG_cpu.c.vx-xxx-xxx:
Defines | |
#define | MSG_L_BOOT ( 256 ) |
Maximum recognized length of boot string. | |
Functions | |
void | MSG_getIP (unsigned char *ip) |
Get the IP address of the current node (if possible). | |
Variables | |
char * | sysBootLine |
Pointer to the embedded system boot line. |
CVS $Id: MSG_cpu.c.vx-xxx-xxx,v 1.2 2005/09/22 01:45:07 apw Exp $
|
Get the IP address of the current node (if possible).
Note that the IP address (the four byte unsigned char array, the pointer to which is passed into this routine) is always filled in "network" order, irrespective of host architecture. It was done this way in the expectation that these numbers may end up in a database and that it would be important to use a consistent representation. To be specific, the IP address 127.0.0.1 is returned as follows: /code (ip + 0) = 127; (ip + 1) = 0; (ip + 2) = 0; (ip + 3) = 1; /endcode |
|
Pointer to the embedded system boot line. Pointer to the embedded system boot line. |