Kinsey Moore started a new discussion on rtemslwip/greth/greth_lwip.c: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_152375 > + * 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( I would strongly prefer for this implementation to be broken out into a separate netstart.c like all the other implementations (except for the historical tms570 which should get corrected as part of the current GSoC). -- View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_152375 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
