blob: 931ca91bbf8c834e666ca482d609ee59c4064d1f (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include <time.h>
#include <linux/errqueue.h>
// SO_EE_OFFENDER is defined as a macro in linux/errqueue.h. This file wraps
// that macro in a function so we can test the reimplementation in this package
// is equivalent.
struct sockaddr *so_ee_offender(struct sock_extended_err *ee) {
return SO_EE_OFFENDER(ee);
}
|