def callback_dump(msg, results):
bss = dict()  <EOL>gnlh = genlmsghdr(nlmsg_data(nlmsg_hdr(msg)))<EOL>tb = dict((i, None) for i in range(nl80211.NL80211_ATTR_MAX + <NUM_LIT:1>))<EOL>nla_parse(tb, nl80211.NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, <NUM_LIT:0>), genlmsg_attrlen(gnlh, <NUM_LIT:0>), None)<EOL>if not tb[nl80211.NL80211_ATTR_BSS]:<EOL><INDENT>print('<STR_LIT>')<EOL>return libnl.handlers.NL_SKIP<EOL><DEDENT>if nla_parse_nested(bss, nl80211.NL80211_BSS_MAX, tb[nl80211.NL80211_ATTR_BSS], bss_policy):<EOL><INDENT>print('<STR_LIT>')<EOL>return libnl.handlers.NL_SKIP<EOL><DEDENT>if not bss[nl80211.NL80211_BSS_BSSID]:<EOL><INDENT>print('<STR_LIT>')<EOL>return libnl.handlers.NL_SKIP<EOL><DEDENT>if not bss[nl80211.NL80211_BSS_INFORMATION_ELEMENTS]:<EOL><INDENT>print('<STR_LIT>')<EOL>return libnl.handlers.NL_SKIP<EOL><DEDENT>bss_parsed = parse_bss(bss)<EOL>results[bss_parsed['<STR_LIT>']] = bss_parsed<EOL>return libnl.handlers.NL_SKIP<EOL>
Here is where SSIDs and their data is decoded from the binary data sent by the kernel.

    This function is called once per SSID. Everything in `msg` pertains to just one SSID.

    Positional arguments:
    msg -- nl_msg class instance containing the data sent by the kernel.
    results -- dictionary to populate with parsed data.