mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 00:33:57 +00:00
Make these less broken.
This commit is contained in:
parent
efd1491c3f
commit
e703b0e13e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103021
|
@ -134,12 +134,12 @@ struct sockaddr_ns {
|
|||
|
||||
#ifdef _KERNEL
|
||||
extern struct domain nsdomain;
|
||||
union ns_host ns_thishost;
|
||||
union ns_host ns_zerohost;
|
||||
union ns_host ns_broadhost;
|
||||
union ns_net ns_zeronet;
|
||||
union ns_net ns_broadnet;
|
||||
u_short ns_cksum();
|
||||
extern union ns_host ns_thishost;
|
||||
extern union ns_host ns_zerohost;
|
||||
extern union ns_host ns_broadhost;
|
||||
extern union ns_net ns_zeronet;
|
||||
extern union ns_net ns_broadnet;
|
||||
u_short ns_cksum(void);
|
||||
#else
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
|
|
@ -80,10 +80,10 @@ struct nsip_req {
|
|||
#endif
|
||||
|
||||
#ifdef _KERNEL
|
||||
struct ns_ifaddr *ns_ifaddr;
|
||||
struct ns_ifaddr *ns_iaonnetof();
|
||||
void nsintr(void);
|
||||
struct ifqueue nsintrq; /* XNS input packet queue */
|
||||
extern struct ns_ifaddr *ns_ifaddr;
|
||||
extern struct ns_ifaddr *ns_iaonnetof(void);
|
||||
void nsintr(void);
|
||||
extern struct ifqueue nsintrq; /* XNS input packet queue */
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue