mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Push some defines under _KERNEL, improve styling and comments.
This commit is contained in:
parent
67420bda02
commit
3fffa8c8ff
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=256522
@ -808,17 +808,17 @@ struct ifaddr {
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifdef _KERNEL
|
||||
#define IFA_ROUTE RTF_UP /* route installed */
|
||||
#define IFA_RTSELF RTF_HOST /* loopback route to self installed */
|
||||
#define IFA_RTSELF RTF_HOST /* loopback route to self installed */
|
||||
|
||||
/* for compatibility with other BSDs */
|
||||
/* For compatibility with other BSDs. SCTP uses it. */
|
||||
#define ifa_list ifa_link
|
||||
|
||||
#ifdef _KERNEL
|
||||
struct ifaddr * ifa_alloc(size_t size, int flags);
|
||||
void ifa_free(struct ifaddr *ifa);
|
||||
void ifa_ref(struct ifaddr *ifa);
|
||||
#endif
|
||||
#endif /* _KERNEL */
|
||||
|
||||
/*
|
||||
* Multicast address structure. This is analogous to the ifaddr
|
||||
|
Loading…
Reference in New Issue
Block a user