AJCORE-838 mDNS packet format

Handle quiet mDNS advertisements.

Change-Id: I65bec6fba6318e0f97a16c6f1e98a8bbfa09d254
Signed-off-by: M. Sanu <msanu@qce.qualcomm.com>
AJCORE-838 mDNS packet format

Additional checks for invalid MDNS packets.

Change-Id: Icb7fc266300985921fbf9467df8e0cbf8bdea6d1
Signed-off-by: M. Sanu <msanu@qce.qualcomm.com>
ASACORE-153 Match multicast packets to the
network interface on which they are received.

Match only multicast/broadcast packets.

Change-Id: Ic813c54f8fb08da0ef96fd8e5af0326a087f98b7
Signed-off-by: M. Sanu <msanu@qce.qualcomm.com>
ASACORE-168: Ignore policy rules for invalid users and groups

Fixes a bug where the routing node would exit when parsing a config that
specifies an non-existant user or group.

Change-Id: I1552cdfe7c411229c993b365e3d314ef83c27b0d
Signed-off-by: Steve Kinneberg <stevek@qce.qualcomm.com>
Merge "AJCORE-876: Rework catchup logic to be more efficient when segmented names are in use." into feature/ns_enhancements
Merge "AJCORE-835: Add implements='interface' match key to rules." into feature/ns_enhancements
Merge "AJCORE-838 mDNS packet format" into feature/ns_enhancements
Merge changes Id6d0150b,I3484bd89 into feature/ns_enhancements

* changes:
  AJCORE-838 mDNS packet format
  AJCORE-838 mDNS packet format
Merge changes I84aba7d7,I098bd95d into feature/ns_enhancements

* changes:
  AJCORE-829 Detect network interface changes (up/down)
  AJCORE-838 mDNS packet format
Merge "ASACORE-153 Match multicast packets to the network interface on which they are received." into feature/ns_enhancements
Convert PolicyDB debug output to use QCC_DbgPrintf().

Change-Id: I9bd76202537f3adb123118761efd50fcf27e5bb8
Signed-off-by: Steve Kinneberg <stevek@qce.qualcomm.com>
AJCORE-830 Presence detection feature

Support for detecting whether a peer with a well known name or
unique name is present. This is achieved by providing a public
"Ping" API which returns the status of the peer.
Added two new record types called ping and ping-reply
Added support for passing reply code in a ping reply

Change-Id: I136393a58c12c080c078a59955deaa5c96991fe2
Signed-off-by: Nikhil Dabhade <ndabhade@qce.qualcomm.com>
Signed-off-by: George Nash <georgen@qce.qualcomm.com>
Merge changes Ic813c54f,Icb7fc266,I65bec6fb,I1a1bb710,I69b8dd66,I00e38368 into feature/ns_enhancements

* changes:
  ASACORE-153 Match multicast packets to the network interface on which they are received.
  AJCORE-838 mDNS packet format
  AJCORE-838 mDNS packet format
  AJCORE-838 mDNS packet format
  Rename Reference Record to sender-info record. Add a default RData class that just skips an RDLength number of bytes. Set the QU bit for MDNS queries
  AJCORE-828 Burst Responses for MDNS. AJCORE-833 Burst queries for MDNS. Refactor scheduling of NS Who-Has
AJCORE-170 Add object based security APIs to Objective-C bindings

There was a previous commit for this task which was supposed to
resolve this completely. It tunrs out that the enum for
InterfaceSecurityPolicy had to be defined differently for it to
work in a foolproof way. There was an additional commit that did
not get cherry picked from the local workset which would not have
stopped the developer from using this feature but would not have been
the best approach.

Change-Id: Id879e97cdb959f53a8712844ac14fdb5a807eefe
Signed-off-by: Nikhil Dabhade <ndabhade@qce.qualcomm.com>
Workaround added to fix Doxygen builder script

Since the only thing doxygen knows about is the output directory
it assumes the dependency tree is upto date as long as the directory
exists. Added a workaround that makes one of the output files part
of the output dependencies.  Forcing SCons to generate a dependency
graph.  Thus properly detecting changes on a rebuild.

Change-Id: I8f934e41204faff468cc521c80ca5c64688fea76
Signed-off-by: George Nash <georgen@qce.qualcomm.com>
Merge "AJCORE-830 Presence detection feature" into feature/ns_enhancements
AJCORE-975 Sessions program crashed in startup on Android and Windows

IpNameServiceImpl::SetPingCallBack() has a pointer that was getting
garbage value and later getting deleted which caused a seg fault.
The fix was to memset the array of pointers so that it did not get
garbage value on startup
Signed-off-by: Nikhil Dabhade <ndabhade@qce.qualcomm.com>

Change-Id: I79ee6f16ab7df1562dd4703d9ec4abe7a369d61a
Signed-off-by: Nikhil Dabhade <ndabhade@qce.qualcomm.com>
AJCORE-838 mDNS packet format

Reserve a minimum initial capacity for MDNS fields.

Change-Id: I0bbf4073383cac7e08a0ebd6a588f4df839b60bd
Signed-off-by: M. Sanu <msanu@qce.qualcomm.com>
Merge remote-tracking branch 'origin/master' into NGNS branch

Resolved Conflicts in the following files:
	alljoyn_core/router/AllJoynObj.cc
	alljoyn_core/router/AllJoynObj.h
	alljoyn_core/router/ns/IpNameServiceImpl.cc
	alljoyn_core/src/AllJoynStd.cc
	services/about/cpp/src/AnnouncementRegistrar.cc

Updated alljoyn_core/router/SessionlessObj.cc due to a build failure
that resulted from the merge.

Change-Id: Ibeb1668848a1f252ced97a4fa5cd45f5c03d1988
Signed-off-by: George Nash <georgen@qce.qualcomm.com>
Merge "AJCORE-838 mDNS packet format" into feature/ns_enhancements