diff options
Diffstat (limited to 'msghdr.c')
-rw-r--r-- | msghdr.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -17,6 +17,9 @@ #include <arpa/inet.h> #include <netinet/in.h> +#define XLAT_MACROS_ONLY +#include "xlat/sock_options.h" +#undef XLAT_MACROS_ONLY #include "xlat/msg_flags.h" #include "xlat/scmvals.h" #include "xlat/ip_cmsg_types.h" @@ -197,9 +200,9 @@ static const struct { [SCM_RIGHTS] = { print_scm_rights, sizeof(int) }, [SCM_CREDENTIALS] = { print_scm_creds, sizeof(struct ucred) }, [SCM_SECURITY] = { print_scm_security, 1 }, - [SCM_TIMESTAMP] = { print_scm_timestamp, 1 }, - [SCM_TIMESTAMPNS] = { print_scm_timestampns, 1 }, - [SCM_TIMESTAMPING] = { print_scm_timestamping, 1 } + [SO_TIMESTAMP] = { print_scm_timestamp, 1 }, + [SO_TIMESTAMPNS] = { print_scm_timestampns, 1 }, + [SO_TIMESTAMPING] = { print_scm_timestamping, 1 } }, cmsg_ip_printers[] = { [IP_PKTINFO] = { print_cmsg_ip_pktinfo, sizeof(struct in_pktinfo) }, [IP_TTL] = { print_cmsg_uint, sizeof(unsigned int) }, |