diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-02-01 04:12:44 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:09:28 -0500 |
commit | 9b9c23b19be5a90821e1075a76f8b94fdb2424e2 (patch) | |
tree | f968db44bf97befaa4d19136e83c508cd3932b35 /source4/librpc/idl | |
parent | c4f115aa1b0029f716d495fa8fa3052d1a833439 (diff) | |
download | samba-9b9c23b19be5a90821e1075a76f8b94fdb2424e2.tar.gz samba-9b9c23b19be5a90821e1075a76f8b94fdb2424e2.tar.xz samba-9b9c23b19be5a90821e1075a76f8b94fdb2424e2.zip |
r5155: define ipv4address as a based IDL type, mapped to a "const char *" in
the header, and defined on the wire as a 4 byte network byte order
IP. This means the calling code doesn't have to worry about network
byte order conversions.
(This used to be commit 72048e37179dd5b9ada0c5280d2f0d8c23d1a17d)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r-- | source4/librpc/idl/epmapper.idl | 2 | ||||
-rw-r--r-- | source4/librpc/idl/misc.idl | 4 | ||||
-rw-r--r-- | source4/librpc/idl/nbt.idl | 2 |
3 files changed, 2 insertions, 6 deletions
diff --git a/source4/librpc/idl/epmapper.idl b/source4/librpc/idl/epmapper.idl index ba5770b305..89c4e246f9 100644 --- a/source4/librpc/idl/epmapper.idl +++ b/source4/librpc/idl/epmapper.idl @@ -99,7 +99,7 @@ interface epmapper } epm_rhs_tcp; typedef struct { - ipv4_addr ipaddr; + ipv4address ipaddr; } epm_rhs_ip; typedef struct { diff --git a/source4/librpc/idl/misc.idl b/source4/librpc/idl/misc.idl index 4b69d1089b..13306b6876 100644 --- a/source4/librpc/idl/misc.idl +++ b/source4/librpc/idl/misc.idl @@ -6,10 +6,6 @@ interface misc { - typedef [public,noprint] struct { - uint32 addr; - } ipv4_addr; - typedef [public,noprint,gensize] struct { uint32 time_low; uint16 time_mid; diff --git a/source4/librpc/idl/nbt.idl b/source4/librpc/idl/nbt.idl index 9dc42fccba..08dde1f018 100644 --- a/source4/librpc/idl/nbt.idl +++ b/source4/librpc/idl/nbt.idl @@ -102,7 +102,7 @@ interface nbt typedef struct { nb_flags nb_flags; - ipv4_addr ipaddr; + ipv4address ipaddr; } nbt_rdata_address; typedef struct { |