diff options
author | 2017-10-06 21:14:55 +0000 | |
---|---|---|
committer | 2017-10-06 21:14:55 +0000 | |
commit | 8b4596e6c2924b2e13e09c477986d89b20c525a8 (patch) | |
tree | da95574fb01b81477aedf5a7d879c50bc923a755 /sys/netinet/in.h | |
parent | Use the modern POSIX idiom "-exec ... {} +" instead of find|xargs and (diff) | |
download | wireguard-openbsd-8b4596e6c2924b2e13e09c477986d89b20c525a8.tar.xz wireguard-openbsd-8b4596e6c2924b2e13e09c477986d89b20c525a8.zip |
Kill the divert-packet socket option IP_DIVERTFL to filter packets.
It used a loop over the global list divbtable that would be hard
to make MP safe. The port net/dnsfilter does not work without this,
it should be converted to divert-to. Neither other ports nor base
use this filter feature.
ports checked by sthen@; OK mpi@ benno@
Diffstat (limited to 'sys/netinet/in.h')
-rw-r--r-- | sys/netinet/in.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h index 68a3826459d..3bc34d8d7e7 100644 --- a/sys/netinet/in.h +++ b/sys/netinet/in.h @@ -1,4 +1,4 @@ -/* $OpenBSD: in.h,v 1.124 2017/08/11 19:53:02 bluhm Exp $ */ +/* $OpenBSD: in.h,v 1.125 2017/10/06 21:14:55 bluhm Exp $ */ /* $NetBSD: in.h,v 1.20 1996/02/13 23:41:47 christos Exp $ */ /* @@ -317,11 +317,6 @@ struct ip_opts { /* source address to use */ #define IP_RTABLE 0x1021 /* int; routing table, see SO_RTABLE */ -#define IP_DIVERTFL 0x1022 /* int; divert direction flag opt */ - -/* Values used by IP_DIVERTFL socket option */ -#define IPPROTO_DIVERT_RESP 0x01 /* divert response packets */ -#define IPPROTO_DIVERT_INIT 0x02 /* divert packets initial direction */ #if __BSD_VISIBLE /* |