source: network-demos/networkconfig.h @ 78daa9f

Last change on this file since 78daa9f was af6a124, checked in by Joel Sherrill <joel.sherrill@…>, on 05/15/12 at 21:23:55

network-demos - Remove CVS Ids (scripted)

  • Property mode set to 100644
File size: 1.9 KB
Line 
1/*
2 * Network configuration -- LOOPBACK ONLY!!!
3 *
4 * See one of the other networkconfig.h files for an
5 * example of a system that includes a real NIC and
6 * the loopback interface.
7 *
8 ************************************************************
9 * EDIT THIS FILE TO REFLECT YOUR NETWORK CONFIGURATION     *
10 * BEFORE RUNNING ANY RTEMS PROGRAMS WHICH USE THE NETWORK! *
11 ************************************************************
12 */
13
14#ifndef _RTEMS_NETWORKCONFIG_H_
15#define _RTEMS_NETWORKCONFIG_H_
16
17
18/* #define RTEMS_USE_BOOTP */
19
20#include <bsp.h>
21
22/*
23 * Network configuration
24 */
25struct rtems_bsdnet_config rtems_bsdnet_config = {
26  NULL,                /* Loop back interface only */
27  NULL,                /* do not use bootp */
28  0,                   /* Default network task priority */
29  0,                   /* Default mbuf capacity */
30  0,                   /* Default mbuf cluster capacity */
31  "rtems",             /* Host name */
32  "nodomain.com",      /* Domain name */
33  "127.0.0.1",         /* Gateway */
34  "127.0.0.1",         /* Log host */
35  {"127.0.0.1" },      /* Name server(s) */
36  {"127.0.0.1" },      /* NTP server(s) */
37  0,                   /* sb_efficiency */
38  0,                   /* udp_tx_buf_size */
39  0,                   /* udp_rx_buf_size */
40  0,                   /* tcp_tx_buf_size */
41  0                    /* tcp_rx_buf_size */
42
43};
44
45/*
46 * For TFTP test application
47 */
48#if (defined (RTEMS_USE_BOOTP))
49#define RTEMS_TFTP_TEST_HOST_NAME "BOOTP_HOST"
50#define RTEMS_TFTP_TEST_FILE_NAME "BOOTP_FILE"
51#else
52#define RTEMS_TFTP_TEST_HOST_NAME "XXX.YYY.ZZZ.XYZ"
53#define RTEMS_TFTP_TEST_FILE_NAME "tftptest"
54#endif
55
56/*
57 * For NFS test application
58 *
59 * NFS server/path to mount and a directory to ls once mounted
60 */
61#define RTEMS_NFS_SERVER      "192.168.1.210"
62#define RTEMS_NFS_SERVER_PATH "/home"
63#define RTEMS_NFS_LS_PATH     "/mnt/nfstest"
64#endif /* _RTEMS_NETWORKCONFIG_H_ */
Note: See TracBrowser for help on using the repository browser.