summaryrefslogtreecommitdiff
path: root/sys/netinet/in.h
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2017-10-06 21:14:56 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2017-10-06 21:14:56 +0000
commitf06e4616b7aff6dce615a6e662379d9e9744fbea (patch)
treeaa2e6e2722da9d713a96842774c8631d85b4afb1 /sys/netinet/in.h
parentb0b3e01aafbe2b1baf161ac889c0779aec57b23d (diff)
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.h7
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
/*