diff options
author | Samba Release Account <samba-bugs@samba.org> | 1996-08-17 13:17:45 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1996-08-17 13:17:45 +0000 |
commit | a7330127a261f814c56e860b6de658dbef24c33f (patch) | |
tree | e1efa36180f60e74c564df2f13da53737ee0b8b4 /source/include/nameserv.h | |
parent | add8bdce8c5622b5892c474d56e7f13b28f94e93 (diff) | |
download | samba-a7330127a261f814c56e860b6de658dbef24c33f.tar.gz samba-a7330127a261f814c56e860b6de658dbef24c33f.tar.xz samba-a7330127a261f814c56e860b6de658dbef24c33f.zip |
- started on support for 'Internet Group names' - type 0x1c NetBIOS names
- 0x1d name query to a WINS server should always return FAIL (see WINS
server help on nt/as)
Diffstat (limited to 'source/include/nameserv.h')
-rw-r--r-- | source/include/nameserv.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/source/include/nameserv.h b/source/include/nameserv.h index 5162ebe2d75..a505f403caa 100644 --- a/source/include/nameserv.h +++ b/source/include/nameserv.h @@ -121,6 +121,14 @@ struct nmb_name { int name_type; }; +/* a netbios flags + ip address structure */ +/* this is used for multi-homed systems and for internet group names */ +struct nmb_ip +{ + struct in_addr ip; /* ip address of host that owns this name */ + int nb_flags; /* netbios flags */ +}; + /* this is the structure used for the local netbios name list */ struct name_record { @@ -128,8 +136,8 @@ struct name_record struct name_record *prev; struct nmb_name name; /* the netbios name */ - struct in_addr ip; /* ip address of host that owns this name */ - int nb_flags; /* netbios flags */ + struct nmb_ip *ip_flgs; /* the ip + flags */ + int num_ips; /* number of ip+flags entries */ enum name_source source; /* where the name came from */ |