summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-10-31 18:35:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:07 -0500
commitb33f17e11b801a002829a98bcac2c70d64f9c950 (patch)
treecef93adeca43b78eb4d1d621e9006fd21e2290d2 /source4/librpc
parent9ebf74c5765299492c116004c59c8368dab0b71b (diff)
downloadsamba-b33f17e11b801a002829a98bcac2c70d64f9c950.tar.gz
samba-b33f17e11b801a002829a98bcac2c70d64f9c950.tar.bz2
samba-b33f17e11b801a002829a98bcac2c70d64f9c950.zip
r3412: Add NCACN_SPX and NCADG_IPX transports
(This used to be commit ff2f2b4273ce9a49599b385d32fbbd5e8f0d4c23)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/rpc/dcerpc.h2
-rw-r--r--source4/librpc/rpc/dcerpc_util.c6
2 files changed, 7 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h
index 096ece7445..31444e9dba 100644
--- a/source4/librpc/rpc/dcerpc.h
+++ b/source4/librpc/rpc/dcerpc.h
@@ -23,7 +23,7 @@
enum dcerpc_transport_t {
NCACN_NP, NCACN_IP_TCP, NCACN_IP_UDP, NCACN_VNS_IPC, NCACN_VNS_SPP,
NCACN_AT_DSP, NCADG_AT_DDP, NCALRPC, NCACN_UNIX_STREAM, NCADG_UNIX_DGRAM,
- NCACN_HTTP };
+ NCACN_HTTP, NCADG_IPX, NCACN_SPX };
/*
this defines a generic security context for signed/sealed dcerpc pipes.
diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c
index adb39f5dc7..4126dd9aa6 100644
--- a/source4/librpc/rpc/dcerpc_util.c
+++ b/source4/librpc/rpc/dcerpc_util.c
@@ -157,6 +157,12 @@ static const struct {
{ EPM_PROTOCOL_NCACN, EPM_PROTOCOL_STREETTALK, EPM_PROTOCOL_VINES_SPP } },
{ "ncacn_vns_ipc", NCACN_VNS_IPC, 3,
{ EPM_PROTOCOL_NCACN, EPM_PROTOCOL_STREETTALK, EPM_PROTOCOL_VINES_IPC }, },
+ { "ncadg_ipx", NCADG_IPX, 2,
+ { EPM_PROTOCOL_NCADG, EPM_PROTOCOL_IPX },
+ },
+ { "ncacn_spx", NCACN_SPX, 2,
+ { EPM_PROTOCOL_NCACN, EPM_PROTOCOL_SPX },
+ },
};
static const struct {