diff options
author | denis <denis@cvs.openbsd.org> | 2020-10-29 21:15:28 +0000 |
---|---|---|
committer | denis <denis@cvs.openbsd.org> | 2020-10-29 21:15:28 +0000 |
commit | df7cbdab60153656c19a828195074a4d83bdb9e0 (patch) | |
tree | 5632d70895deead52edfa2e96b607e0325037343 /sys/net/route.h | |
parent | d73c97ddaa729cc0794f44fca3741a91952d2c93 (diff) |
Add feature to force the selection of source IP address
Based/previous work on an idea from deraadt@
Input from claudio@, djm@, deraadt@, sthen@
OK deraadt@
Diffstat (limited to 'sys/net/route.h')
-rw-r--r-- | sys/net/route.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/route.h b/sys/net/route.h index 25e486cabf4..492edcfcb6a 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -1,4 +1,4 @@ -/* $OpenBSD: route.h,v 1.182 2020/08/13 04:58:22 jmatthew Exp $ */ +/* $OpenBSD: route.h,v 1.183 2020/10/29 21:15:27 denis Exp $ */ /* $NetBSD: route.h,v 1.9 1996/02/13 22:00:49 christos Exp $ */ /* @@ -238,6 +238,7 @@ struct rt_msghdr { #define RTM_PROPOSAL 0x13 /* proposal for netconfigd */ #define RTM_CHGADDRATTR 0x14 /* address attribute change */ #define RTM_80211INFO 0x15 /* 80211 iface change */ +#define RTM_SOURCE 0x16 /* set source address */ #define RTV_MTU 0x1 /* init or lock _mtu */ #define RTV_HOPCOUNT 0x2 /* init or lock _hopcount */ |