loopback driver in 4.6.99
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Jul 10 13:08:12 UTC 2012
On 07/10/2012 02:50 PM, Wadepohl, Wolfram wrote:
> Do I have to explicitly attach the loopback interface?
Yes, in this RTEMS version you have to explicitly attach the loopback interface:
extern int rtems_bsdnet_loopattach();
static struct rtems_bsdnet_ifconfig loopback_config = {
"lo0", /* name */
rtems_bsdnet_loopattach, /* attach function */
NULL, /* No more interfaces */
"127.0.0.1", /* IP address */
"255.0.0.0", /* IP net mask */
NULL, /* Driver supplies hardware address */
0, /* Use default driver parameters */
0, /* default efficiency multiplier */
0, /* default udp TX socket buffer size */
0, /* default udp RX socket buffer size */
0, /* default tcp TX socket buffer size */
0, /* default tcp RX socket buffer size */
};
--
Sebastian Huber, embedded brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the users
mailing list