summaryrefslogtreecommitdiff
path: root/source4/libcli/resolve/bcast.c
AgeCommit message (Collapse)AuthorFilesLines
2011-09-28s4:libcli/resolve: only try broadcast messages to ipv4 addressesStefan Metzmacher1-2/+12
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 28 05:10:53 CEST 2011 on sn-devel-104
2011-06-06s4-ipv6: update callers to load_interface_list()Andrew Tridgell1-1/+1
2011-05-08s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett1-3/+3
The iface_count, iface_n_bcast, and load_interfaces functions conflicted with functions of the same name in source3, so the source4 functions were renamed. Hopefully we can actually wrap one around the other in future. Andrew Bartlett
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-2/+2
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-1/+1
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-12-17s4:libcli/resolve: specify the port for the resulting socket_addressesStefan Metzmacher1-1/+2
metze
2008-12-17s4:libcli/resolve: optionally return the name that belongs to the returned ↵Stefan Metzmacher1-2/+3
address E.g. this helps for DNS CNAME and SRV results. metze
2008-12-17s4:libcli/resolve: pass down flags to the resolver backendsStefan Metzmacher1-2/+4
metze
2008-12-17s4:libcli/resolve: remove all backend specific sync functionsStefan Metzmacher1-20/+0
metze
2008-12-11s4:libcli/resolve: add resolve_name_all*() which return all addresses not ↵Stefan Metzmacher1-4/+5
only the first one metze
2008-09-30- make bcast name resolution match other name resolution modules forAndrew Tridgell1-1/+7
host not found errors - when we have no resolve context return NT_STATUS_OBJECT_NAME_NOT_FOUND
2008-02-21Remove yet more uses of global_loadparm.Jelmer Vernooij1-3/+7
(This used to be commit e01c1e87c0fe9709df7eb5b863f7ce85564174cd)
2007-12-21r26437: remove another use of global_loadparm.Jelmer Vernooij1-8/+27
(This used to be commit 703f17bc0986775bf3fe489eb5c876937dabaa9d)
2007-12-21r26402: Require a talloc context in libnetif.Jelmer Vernooij1-1/+1
(This used to be commit a35e51871bbf1ab33fc316fa59e597b722769c50)
2007-12-21r26401: Don't cache interfaces context in libnetif.Jelmer Vernooij1-5/+10
(This used to be commit 9f975417cc66bfd4589da38bfd23731dbe0e6153)
2007-12-21r26378: Remove use of global_loadparm.Jelmer Vernooij1-4/+5
(This used to be commit 81333de5353ce70512a3ed1d4960c09aa78954c6)
2007-12-21r26376: Add context for libcli_resolve.Jelmer Vernooij1-1/+7
(This used to be commit 459e1466a411d6f83b7372e248566e6e71c745fc)
2007-12-21r26325: Remove use of global_loadparm in netif.Jelmer Vernooij1-3/+4
(This used to be commit e452cb28594f23add7c00247ed39e8323aea78a6)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-1/+1
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r19645: don't pass NULL as mem_ctx...Stefan Metzmacher1-5/+6
metze (This used to be commit 643a38bc30a0df1582035b8d264e0dbbc2d2e152)
2007-10-10r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on theStefan Metzmacher1-1/+1
configure check for the interfaces. should fix the build on some old sun boxes metze (This used to be commit f20e251bfd9f1eb7ce5c00739631b1625a2aa467)
2007-10-10r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij1-0/+3
file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10r13505: allow servers to bind to non-broadcast interfaces. Servers nowAndrew Tridgell1-4/+7
specifically ask for iface_n_bcast() and have to check if it returns NULL, in which case it is a non-broadcast interface (This used to be commit d004e250b6710251ea089ac242775481f13b5c2b)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij1-3/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r5294: - added a separate NBT-WINS test for WINS operations (register, ↵Andrew Tridgell1-2/+1
refresh, release and query) - change the iface_n_*() functions to return a "const char *" instead of a "struct ipv4_addr" I think that in general we should move towards "const char *" for all IP addresses, as this makes IPv6 much easier, and is also easier to debug. Andrew, when you get a chance, could you fix some of the auth code to use strings for IPs ? - return a NTSTATUS error on bad name queries and node status instead of using rcode. This makes the calling code simpler. - added low level name release code in libcli/nbt/ - use a real IP in the register and wins nbt torture tests, as w2k3 WINS server silently rejects some operations that don't come from the IP being used (eg. it says "yes" to a release, but does not in fact release the name) (This used to be commit bb1ab11d8e0ea0bd9ae34aebeb565d36fe4b495f)
2007-10-10r5126: the composite code is no longer client specific or smb specific, soAndrew Tridgell1-4/+4
rename the core structure to composite_context and the wait routine to composite_wait() (suggestion from metze) (This used to be commit cf11d05e35179c2c3e51c5ab370cd0a3fb15f24a)
2007-10-10r4898: - removed the unused wins_srv_*() codeAndrew Tridgell1-101/+15
- expanded the generic async name resolver to try multiple methods - added wins resolutions to the list of methods tried - fixed up the random trn id generation to use the good random generator (This used to be commit 266fd2751c01808e5a18d4094032af50554ceb7a)
2007-10-10r4896: make sure the event context doesn't go away while waiting for event ↵Andrew Tridgell1-1/+1
completion (This used to be commit c1063919c069b0b36dd3da6dc6853236629804e3)
2007-10-10r4891: - added a generic resolve_name() async interface in libcli/resolve/,Andrew Tridgell1-0/+163
which will eventually try all resolution methods setup in smb.conf - only resolution backend at the moment is bcast, which does a parallel broadcast to all configured network interfaces, and takes the first reply that comes in (this nicely demonstrates how to do parallel requests using the async APIs) - converted all the existing code to use the new resolve_name() api - removed all the old nmb code (yay!) (This used to be commit 239c310f255e43dd2d1c2433f666c9faaacbdce3)