loopback driver in 4.6.99

Wadepohl, Wolfram Wolfram.Wadepohl at ek-automation.com
Tue Jul 10 12:50:37 UTC 2012


Dear all,

just an easy question for the experts:

Do I have to explicitly attach the loopback interface?

That's my actual config:

static struct rtems_bsdnet_ifconfig netdriver_config =
   {
   RTEMS_BSP_NETWORK_DRIVER_NAME,      /* name                          */
   RTEMS_BSP_NETWORK_DRIVER_ATTACH,    /* attach function               */
   NULL,                               /* link to next interface        */
#if BOOTP
   NULL,                               /* IP address                    */
   NULL,                               /* IP net mask                   */
#else
   CcsIpAddress,                       /* IP address                    */
   CcsNetMask,                         /* IP net mask                   */
#endif   
   ethernet_address,                   /* Supplied hardware address     */
                                       /* ifdef HAS_UBOOT taken from there */
   0                                   /* Use default driver parameters */
   };

struct rtems_bsdnet_config rtems_bsdnet_config =
   {
   &netdriver_config,
#if BOOTP
   rtems_bsdnet_do_dhcp,               /* rtems_bsdnet_do_dhcp or NULL */
#else
   NULL,                               /* rtems_bsdnet_do_dhcp or NULL */
#endif
   90,                                 /* Default network task priority */
   256*1024,                           /* Default mbuf capacity         */
   512*1024,                           /* Default mbuf cluster capacity */
   "ap4",                              /* Host name                     */
   "autopilot.eu",                     /* Domain name                   */
   NULL,				                     /* Gateway                       */
   "",                                 /* Log host                      */
   {"" },                              /* Name server(s)                */
   {""},                               /* NTP server(s)                 */
   };

Thx.

Wolfram Wadepohl, E&K Automation GmbH



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20120710/23924617/attachment.html>


More information about the users mailing list