NET: Rename uip_ipaddr* to net_ipaddr*

This commit is contained in:
Gregory Nutt 2014-06-29 13:11:08 -06:00
parent 165e5df670
commit b7d73dab81
3 changed files with 3 additions and 3 deletions

View File

@ -90,7 +90,7 @@ int main(int argc, char **argv, char **envp)
printf("sendmail: Subject: %s\n", g_subject); printf("sendmail: Subject: %s\n", g_subject);
printf("sendmail: Body: %s\n", g_msg_body); printf("sendmail: Body: %s\n", g_msg_body);
uip_ipaddr(addr.s_addr, 127, 0, 0, 1); net_ipaddr(addr.s_addr, 127, 0, 0, 1);
handle = smtp_open(); handle = smtp_open();
if (handle) if (handle)
{ {

View File

@ -144,7 +144,7 @@ int sendmail_main(int argc, char *argv[])
/* Then send the mail */ /* Then send the mail */
uip_ipaddr(addr.s_addr, 127, 0, 0, 1); net_ipaddr(addr.s_addr, 127, 0, 0, 1);
handle = smtp_open(); handle = smtp_open();
if (handle) if (handle)
{ {

View File

@ -288,7 +288,7 @@ void smtp_configure(FAR void *handle, FAR const char *lhostname,
{ {
FAR struct smtp_state *psmtp = (FAR struct smtp_state *)handle; FAR struct smtp_state *psmtp = (FAR struct smtp_state *)handle;
psmtp->localhostname = lhostname; psmtp->localhostname = lhostname;
uip_ipaddr_copy(psmtp->smtpserver, paddr); net_ipaddr_copy(psmtp->smtpserver, paddr);
} }
/* Send an e-mail. /* Send an e-mail.