12add0d91Sopenharmony_ci#include <time.h> 22add0d91Sopenharmony_ci#include <linux/errqueue.h> 32add0d91Sopenharmony_ci 42add0d91Sopenharmony_ci// SO_EE_OFFENDER is defined as a macro in linux/errqueue.h. This file wraps 52add0d91Sopenharmony_ci// that macro in a function so we can test the reimplementation in this package 62add0d91Sopenharmony_ci// is equivalent. 72add0d91Sopenharmony_ci 82add0d91Sopenharmony_cistruct sockaddr *so_ee_offender(struct sock_extended_err *ee) { 92add0d91Sopenharmony_ci return SO_EE_OFFENDER(ee); 102add0d91Sopenharmony_ci} 11