summaryrefslogtreecommitdiffstats
path: root/include/linux/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/socket.h')
-rw-r--r--include/linux/socket.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/socket.h b/include/linux/socket.h
index f1e8dcfaf..41e759751 100644
--- a/include/linux/socket.h
+++ b/include/linux/socket.h
@@ -154,6 +154,7 @@ struct ucred {
#define AF_ECONET 19 /* Acorn Econet */
#define AF_ATMSVC 20 /* ATM SVCs */
#define AF_SNA 22 /* Linux SNA Project (nutters!) */
+#define AF_IRDA 23 /* IRDA sockets */
#define AF_MAX 32 /* For now.. */
/* Protocol families, same as address families. */
@@ -181,6 +182,7 @@ struct ucred {
#define PF_ECONET AF_ECONET
#define PF_ATMSVC AF_ATMSVC
#define PF_SNA AF_SNA
+#define PF_IRDA AF_IRDA
#define PF_MAX AF_MAX
@@ -194,6 +196,7 @@ struct ucred {
#define MSG_OOB 1
#define MSG_PEEK 2
#define MSG_DONTROUTE 4
+#define MSG_TRYHARD 4 /* Synonym for MSG_DONTROUTE for DECnet */
#define MSG_CTRUNC 8
#define MSG_PROXY 0x10 /* Supply or ask second address. */
#define MSG_TRUNC 0x20