Add example of a custom function in ethernet