@@ -41,25 +41,25 @@ int EthernetInterface::set_dhcp(bool dhcp)
41
41
42
42
int EthernetInterface::connect ()
43
43
{
44
- return lwip_bringup (NULL ,_dhcp,
44
+ return mbed_lwip_bringup (NULL , _dhcp,
45
45
_ip_address[0 ] ? _ip_address : 0 ,
46
46
_netmask[0 ] ? _netmask : 0 ,
47
47
_gateway[0 ] ? _gateway : 0 );
48
48
}
49
49
50
50
int EthernetInterface::disconnect ()
51
51
{
52
- return lwip_bringdown ();
52
+ return mbed_lwip_bringdown ();
53
53
}
54
54
55
55
const char *EthernetInterface::get_mac_address ()
56
56
{
57
- return lwip_get_mac_address ();
57
+ return mbed_lwip_get_mac_address ();
58
58
}
59
59
60
60
const char *EthernetInterface::get_ip_address ()
61
61
{
62
- if (lwip_get_ip_address (_ip_address, sizeof _ip_address)) {
62
+ if (mbed_lwip_get_ip_address (_ip_address, sizeof _ip_address)) {
63
63
return _ip_address;
64
64
}
65
65
@@ -68,7 +68,7 @@ const char *EthernetInterface::get_ip_address()
68
68
69
69
const char *EthernetInterface::get_netmask ()
70
70
{
71
- if (lwip_get_netmask (_netmask, sizeof _netmask)) {
71
+ if (mbed_lwip_get_netmask (_netmask, sizeof _netmask)) {
72
72
return _netmask;
73
73
}
74
74
@@ -77,7 +77,7 @@ const char *EthernetInterface::get_netmask()
77
77
78
78
const char *EthernetInterface::get_gateway ()
79
79
{
80
- if (lwip_get_gateway (_gateway, sizeof _gateway)) {
80
+ if (mbed_lwip_get_gateway (_gateway, sizeof _gateway)) {
81
81
return _gateway;
82
82
}
83
83
0 commit comments