masc2008 commented on code in PR #18245: URL: https://github.com/apache/nuttx/pull/18245#discussion_r2741719451
########## net/ipforward/ipfwd_forward.c: ########## @@ -49,6 +49,70 @@ * Public Functions ****************************************************************************/ +/**************************************************************************** + * Name: ipforward_enable + * + * Description: + * Enable forward function on a network device. + * + * Input Parameters: + * dev - The device on which will be enabled forward function. + * + * Returned Value: + * Zero is returned if forward function is successfully enabled; + * A negated errno value is returned if failed. + * + ****************************************************************************/ + +int ipforward_enable(FAR struct net_driver_s *dev) Review Comment: could you give me more further info about this "how IFUP" get changed from userspace. is there any commit id or related topic for it? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
