MCPcopy Create free account
hub / github.com/F-Stack/f-stack / notify_macaddr

Function notify_macaddr

freebsd/net80211/ieee80211_freebsd.c:767–777  ·  view source on GitHub ↗

* Helper function for events that pass just a single mac address. */

Source from the content-addressed store, hash-verified

765 * Helper function for events that pass just a single mac address.
766 */
767static void
768notify_macaddr(struct ifnet *ifp, int op, const uint8_t mac[IEEE80211_ADDR_LEN])
769{
770 struct ieee80211_join_event iev;
771
772 CURVNET_SET(ifp->if_vnet);
773 memset(&iev, 0, sizeof(iev));
774 IEEE80211_ADDR_COPY(iev.iev_addr, mac);
775 rt_ieee80211msg(ifp, op, &iev, sizeof(iev));
776 CURVNET_RESTORE();
777}
778
779void
780ieee80211_notify_node_join(struct ieee80211_node *ni, int newassoc)

Calls 2

memsetFunction · 0.85
rt_ieee80211msgFunction · 0.85

Tested by

no test coverage detected