diff options
Diffstat (limited to 'include/linux/if_addr.h')
-rw-r--r-- | include/linux/if_addr.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/if_addr.h b/include/linux/if_addr.h index 23357ab..c355522 100644 --- a/include/linux/if_addr.h +++ b/include/linux/if_addr.h @@ -52,10 +52,4 @@ struct ifa_cacheinfo { __u32 tstamp; /* updated timestamp, hundredths of seconds */ }; -/* backwards compatibility for userspace */ -#ifndef __KERNEL__ -#define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) -#define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg)) -#endif - #endif |