From a0a9022eecda19cdae7707bab61e812c900e6cf3 Mon Sep 17 00:00:00 2001 From: thorpej Date: Thu, 30 Apr 1998 00:03:16 +0000 Subject: [PATCH] Define a new pseudo-address family, pseudo_AF_HDRCMPLT, which is used by BPF to tell interface output routines to not fill in the layer 2 source address. From Greg Smith . --- sys/sys/socket.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/sys/socket.h b/sys/sys/socket.h index a6ce96c5d2b5..461c30aced65 100644 --- a/sys/sys/socket.h +++ b/sys/sys/socket.h @@ -1,4 +1,4 @@ -/* $NetBSD: socket.h,v 1.30 1998/04/25 17:29:45 matt Exp $ */ +/* $NetBSD: socket.h,v 1.31 1998/04/30 00:03:16 thorpej Exp $ */ /* * Copyright (c) 1982, 1985, 1986, 1988, 1993, 1994 @@ -127,8 +127,10 @@ struct linger { #define AF_NATM 27 /* native ATM access */ #define AF_ARP 28 /* (rev.) addr. res. prot. (RFC 826) */ #define pseudo_AF_KEY 29 /* Internal key management protocol */ +#define pseudo_AF_HDRCMPLT 30 /* Used by BPF to not rewrite hdrs + in interface output routine */ -#define AF_MAX 30 +#define AF_MAX 31 /* * Structure used by kernel to store most