diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-03 00:37:29 +0100 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-03 18:22:51 +0100 |
commit | 152e66242f2af7cd26e29d59a31f8bb8479595e5 (patch) | |
tree | 1c2f688b125cf12c61401fc07eef84c8a4d51442 /include/netinet/udp.h | |
parent | 587d7092180a5f2053906b87ea2b25b2bf6b34c6 (diff) |
update some headers
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Diffstat (limited to 'include/netinet/udp.h')
-rw-r--r-- | include/netinet/udp.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/netinet/udp.h b/include/netinet/udp.h index 45b69f749..ae1beb9e1 100644 --- a/include/netinet/udp.h +++ b/include/netinet/udp.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 92, 93, 95, 96, 97, 2004 Free Software Foundation, Inc. +/* Copyright (C) 1991-1993,1995-1997,2004,2009 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -74,6 +74,16 @@ struct udphdr }; #endif +/* UDP socket options */ +#define UDP_CORK 1 /* Never send partially complete segments. */ +#define UDP_ENCAP 100 /* Set the socket to accept + encapsulated packets. */ + +/* UDP encapsulation types */ +#define UDP_ENCAP_ESPINUDP_NON_IKE 1 /* draft-ietf-ipsec-nat-t-ike-00/01 */ +#define UDP_ENCAP_ESPINUDP 2 /* draft-ietf-ipsec-udp-encaps-06 */ +#define UDP_ENCAP_L2TPINUDP 3 /* rfc2661 */ + #define SOL_UDP 17 /* sockopt level for UDP */ #endif /* netinet/udp.h */ |