Matteo Concas commented on a discussion on rtemslwip/greth/greth_lwip.c: 
https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_152469

 > + * MAC address, initializes the TCP/IP stack, sets IP addresses, netmask,
 > + * and gateway, and adds the network interface to LwIP. It also sets the
 > + * interface as default and brings it up.
 > + *
 > + * @param net_interface Pointer to the LwIP network interface structure.
 > + * @param ipaddr        Pointer to the desired IP address (ip_addr_t).
 > + * @param netmask       Pointer to the desired network mask (ip_addr_t).
 > + * @param gateway       Pointer to the desired gateway address (ip_addr_t).
 > + * @param mac_addr      Pointer to 6-byte MAC address. If NULL, a default
 > + *                      MAC address defined by `ETH_MAC_ADDR` is used.
 > + *
 > + * @return int Status code
 > + * @retval SUCCESS       Networking started successfully
 > + * @retval NETIF_ADD_ERR Failed to add the network interface
 > + */
 > +int start_networking(

Do you mean to only have a call to `start_networking_shared()` in 
`start_networking()` or simply to rename the file to `netstart.c`?

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_152469
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to