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

Function ieee80211_add_node_nt

freebsd/net80211/ieee80211_node.c:1351–1366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1349}
1350
1351static void
1352ieee80211_add_node_nt(struct ieee80211_node_table *nt,
1353 struct ieee80211_node *ni)
1354{
1355 struct ieee80211com *ic = nt->nt_ic;
1356 int hash;
1357
1358 IEEE80211_NODE_LOCK_ASSERT(nt);
1359
1360 hash = IEEE80211_NODE_HASH(ic, ni->ni_macaddr);
1361 (void) ic; /* XXX IEEE80211_NODE_HASH */
1362 TAILQ_INSERT_TAIL(&nt->nt_node, ni, ni_list);
1363 LIST_INSERT_HEAD(&nt->nt_hash[hash], ni, ni_hash);
1364 nt->nt_count++;
1365 ni->ni_table = nt;
1366}
1367
1368static void
1369ieee80211_del_node_nt(struct ieee80211_node_table *nt,

Callers 1

ieee80211_alloc_nodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected