diff options
author | markus <markus@openbsd.org> | 2017-05-31 08:55:10 +0000 |
---|---|---|
committer | markus <markus@openbsd.org> | 2017-05-31 08:55:10 +0000 |
commit | e35050970e3e2b822e383a5e844e4c4402eebccc (patch) | |
tree | 4bed03c81a4fd37b3fcd9dc7fbcf20b22ee3603b /sys/sys/socket.h | |
parent | Look for setrgbf and setrgbb terminfo extensions for RGB colour. This is (diff) | |
download | wireguard-openbsd-e35050970e3e2b822e383a5e844e4c4402eebccc.tar.xz wireguard-openbsd-e35050970e3e2b822e383a5e844e4c4402eebccc.zip |
new socketoption SO_ZEROIZE: zero out all mbufs sent over socket
ok deraadt bluhm
Diffstat (limited to 'sys/sys/socket.h')
-rw-r--r-- | sys/sys/socket.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/socket.h b/sys/sys/socket.h index 27cd9b5962e..a1ff94653f8 100644 --- a/sys/sys/socket.h +++ b/sys/sys/socket.h @@ -1,4 +1,4 @@ -/* $OpenBSD: socket.h,v 1.94 2017/05/04 15:00:24 bluhm Exp $ */ +/* $OpenBSD: socket.h,v 1.95 2017/05/31 08:55:10 markus Exp $ */ /* $NetBSD: socket.h,v 1.14 1996/02/09 18:25:36 christos Exp $ */ /* @@ -96,6 +96,7 @@ typedef __sa_family_t sa_family_t; /* sockaddr address family type */ #define SO_REUSEPORT 0x0200 /* allow local address & port reuse */ #define SO_TIMESTAMP 0x0800 /* timestamp received dgram traffic */ #define SO_BINDANY 0x1000 /* allow bind to any address */ +#define SO_ZEROIZE 0x2000 /* zero out all mbufs sent over socket */ /* * Additional options, not kept in so_options. |