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

Function set80211meshid

tools/ifconfig/ifieee80211.c:626–638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

624}
625
626static void
627set80211meshid(const char *val, int d, int s, const struct afswtch *rafp)
628{
629 int len;
630 u_int8_t data[IEEE80211_NWID_LEN];
631
632 memset(data, 0, sizeof(data));
633 len = sizeof(data);
634 if (get_string(val, NULL, data, &len) == NULL)
635 exit(1);
636
637 set80211(s, IEEE80211_IOC_MESH_ID, 0, len, data);
638}
639
640static void
641set80211stationname(const char *val, int d, int s, const struct afswtch *rafp)

Callers

nothing calls this directly

Calls 3

memsetFunction · 0.85
set80211Function · 0.85
get_stringFunction · 0.70

Tested by

no test coverage detected