source: network-demos/networkconfig.h @ 9184e70

4.11
Last change on this file since 9184e70 was 2da63bc, checked in by Sebastian Huber <sebastian.huber@…>, on 12/08/10 at 10:46:46

2010-12-08 Sebastian Huber <Sebastian.Huber@…>

  • networkconfig.h, networkconfig-qemu.h, networkconfig-icecube.h, networkconfig-mpc8313erdb.h: Loop back interface will be initialized now during normal initialization via rtems_bsdnet_initialize_network().
  • 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 *  $Id$
14 */
15
16#ifndef _RTEMS_NETWORKCONFIG_H_
17#define _RTEMS_NETWORKCONFIG_H_
18
19
20/* #define RTEMS_USE_BOOTP */
21
22#include <bsp.h>
23
24/*
25 * Network configuration
26 */
27struct rtems_bsdnet_config rtems_bsdnet_config = {
28  NULL,                /* Loop back interface only */
29  NULL,                /* do not use bootp */
30  0,                   /* Default network task priority */
31  0,                   /* Default mbuf capacity */
32  0,                   /* Default mbuf cluster capacity */
33  "rtems",             /* Host name */
34  "nodomain.com",      /* Domain name */
35  "127.0.0.1",         /* Gateway */
36  "127.0.0.1",         /* Log host */
37  {"127.0.0.1" },      /* Name server(s) */
38  {"127.0.0.1" },      /* NTP server(s) */
39  0,                   /* sb_efficiency */
40  0,                   /* udp_tx_buf_size */
41  0,                   /* udp_rx_buf_size */
42  0,                   /* tcp_tx_buf_size */
43  0                    /* tcp_rx_buf_size */
44
45};
46
47/*
48 * For TFTP test application
49 */
50#if (defined (RTEMS_USE_BOOTP))
51#define RTEMS_TFTP_TEST_HOST_NAME "BOOTP_HOST"
52#define RTEMS_TFTP_TEST_FILE_NAME "BOOTP_FILE"
53#else
54#define RTEMS_TFTP_TEST_HOST_NAME "XXX.YYY.ZZZ.XYZ"
55#define RTEMS_TFTP_TEST_FILE_NAME "tftptest"
56#endif
57
58/*
59 * For NFS test application
60 *
61 * NFS server/path to mount and a directory to ls once mounted
62 */
63#define RTEMS_NFS_SERVER      "192.168.1.210"
64#define RTEMS_NFS_SERVER_PATH "/home"
65#define RTEMS_NFS_LS_PATH     "/mnt/nfstest"
66#endif /* _RTEMS_NETWORKCONFIG_H_ */
Note: See TracBrowser for help on using the repository browser.