aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2022-08-11 16:19:36 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2022-08-11 16:19:36 +0000
commitb8103ca76de09414775aa2eaca7b0e1bca59136c (patch)
tree029b89ded2ca073611c4c471ba94e5a9ea458b94 /sys/sys
parent78d7704b7c0d36a476e2c998a8510eb98e024753 (diff)
downloadsrc-b8103ca76de09414775aa2eaca7b0e1bca59136c.tar.gz
src-b8103ca76de09414775aa2eaca7b0e1bca59136c.zip
netinet: get interface event notifications directly via EVENTHANDLER(9)
The old mechanism of getting them via domains/protocols control input is a relict from the previous century, when nothing like EVENTHANDLER(9) existed yet. Retire PRC_IFDOWN/PRC_IFUP as netinet was the only one to use them. Reviewed by: melifaro Differential revision: https://reviews.freebsd.org/D36116
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/protosw.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/sys/protosw.h b/sys/sys/protosw.h
index 26cd1bc3fc16..85761583c30a 100644
--- a/sys/sys/protosw.h
+++ b/sys/sys/protosw.h
@@ -282,9 +282,7 @@ int pru_sopoll_notsupp(struct socket *so, int events, struct ucred *cred,
* where cmd is one of the commands below, sa is a pointer to a sockaddr,
* and arg is a `void *' argument used within a protocol family.
*/
-#define PRC_IFDOWN 0 /* interface transition */
#define PRC_ROUTEDEAD 1 /* select new route if possible ??? */
-#define PRC_IFUP 2 /* interface has come back up */
/* was PRC_QUENCH2 3 DEC congestion bit says slow down */
/* was PRC_QUENCH 4 Deprecated by RFC 6633 */
#define PRC_MSGSIZE 5 /* message size forced drop */