diff options
| author | H. Peter Anvin <hpa@linux.intel.com> | 2012-01-19 15:56:50 -0500 |
|---|---|---|
| committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-01-19 15:56:50 -0500 |
| commit | 282f445a779ed76fca9884fe377bf56a3088b208 (patch) | |
| tree | d9abcf526baee0100672851e0a8894c19e762a39 /include/linux/errqueue.h | |
| parent | 68f30fbee19cc67849b9fa8e153ede70758afe81 (diff) | |
| parent | 90a4c0f51e8e44111a926be6f4c87af3938a79c3 (diff) | |
Merge remote-tracking branch 'linus/master' into x86/urgent
Diffstat (limited to 'include/linux/errqueue.h')
| -rw-r--r-- | include/linux/errqueue.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/errqueue.h b/include/linux/errqueue.h index 034072cea853..fd0628be45ce 100644 --- a/include/linux/errqueue.h +++ b/include/linux/errqueue.h | |||
| @@ -17,14 +17,15 @@ struct sock_extended_err { | |||
| 17 | #define SO_EE_ORIGIN_LOCAL 1 | 17 | #define SO_EE_ORIGIN_LOCAL 1 |
| 18 | #define SO_EE_ORIGIN_ICMP 2 | 18 | #define SO_EE_ORIGIN_ICMP 2 |
| 19 | #define SO_EE_ORIGIN_ICMP6 3 | 19 | #define SO_EE_ORIGIN_ICMP6 3 |
| 20 | #define SO_EE_ORIGIN_TIMESTAMPING 4 | 20 | #define SO_EE_ORIGIN_TXSTATUS 4 |
| 21 | #define SO_EE_ORIGIN_TIMESTAMPING SO_EE_ORIGIN_TXSTATUS | ||
| 21 | 22 | ||
| 22 | #define SO_EE_OFFENDER(ee) ((struct sockaddr*)((ee)+1)) | 23 | #define SO_EE_OFFENDER(ee) ((struct sockaddr*)((ee)+1)) |
| 23 | 24 | ||
| 24 | #ifdef __KERNEL__ | 25 | #ifdef __KERNEL__ |
| 25 | 26 | ||
| 26 | #include <net/ip.h> | 27 | #include <net/ip.h> |
| 27 | #if defined(CONFIG_IPV6) || defined (CONFIG_IPV6_MODULE) | 28 | #if IS_ENABLED(CONFIG_IPV6) |
| 28 | #include <linux/ipv6.h> | 29 | #include <linux/ipv6.h> |
| 29 | #endif | 30 | #endif |
| 30 | 31 | ||
| @@ -33,7 +34,7 @@ struct sock_extended_err { | |||
| 33 | struct sock_exterr_skb { | 34 | struct sock_exterr_skb { |
| 34 | union { | 35 | union { |
| 35 | struct inet_skb_parm h4; | 36 | struct inet_skb_parm h4; |
| 36 | #if defined(CONFIG_IPV6) || defined (CONFIG_IPV6_MODULE) | 37 | #if IS_ENABLED(CONFIG_IPV6) |
| 37 | struct inet6_skb_parm h6; | 38 | struct inet6_skb_parm h6; |
| 38 | #endif | 39 | #endif |
| 39 | } header; | 40 | } header; |
