summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in.h
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2018-02-10 05:32:21 +0000
committerclaudio <claudio@openbsd.org>2018-02-10 05:32:21 +0000
commitd62081b6dd05a67ee176092f85ee96e83eb74a19 (patch)
treebd440ed013a8669b781bbb2ec79eba37b019fb08 /sys/netinet/in.h
parentSyncronize filesystems to disk when suspending. Each mountpoint's vnodes (diff)
downloadwireguard-openbsd-d62081b6dd05a67ee176092f85ee96e83eb74a19.tar.xz
wireguard-openbsd-d62081b6dd05a67ee176092f85ee96e83eb74a19.zip
Similar to the IPv6 case create 127.0.0.1/8 on lo(4) interfaces which act
as loopback interfaces for each rdomain (including lo0). This is done when the interface is brought up. This is now also done by default (either on attach of lo0 or when creating the rdomain). OK mpi@
Diffstat (limited to 'sys/netinet/in.h')
-rw-r--r--sys/netinet/in.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h
index fc8a7b61044..02233bb3d08 100644
--- a/sys/netinet/in.h
+++ b/sys/netinet/in.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in.h,v 1.127 2017/11/20 10:35:24 mpi Exp $ */
+/* $OpenBSD: in.h,v 1.128 2018/02/10 05:32:21 claudio Exp $ */
/* $NetBSD: in.h,v 1.20 1996/02/13 23:41:47 christos Exp $ */
/*
@@ -811,6 +811,7 @@ int in_cksum(struct mbuf *, int);
int in4_cksum(struct mbuf *, u_int8_t, int, int);
void in_proto_cksum_out(struct mbuf *, struct ifnet *);
void in_ifdetach(struct ifnet *);
+int in_up_loopback(struct ifnet *);
int in_mask2len(struct in_addr *);
void in_len2mask(struct in_addr *, int);
int in_nam2sin(const struct mbuf *, struct sockaddr_in **);