function pointer, which does the actual process on incoming packets
priv
private resource, which gets passed to `stack_input` callback without any modification
Return value
- ESP_OK: update input path successfully - ESP_ERR_INVALID_ARG: update input path failed because of some invalid argument - ESP_FAIL: update input path failed because some other error occurred
Notes
After install driver, Ethernet still don't know where to deliver the input buffer. In fact, this API registers a callback function which get invoked when Ethernet received new packets.
Examples
esp_eth_update_input_path() is referenced by 4 libraries and example projects: