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

Function ether_sprintf

freebsd/net/if_ethersubr.c:956–962  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

954#pragma GCC diagnostic ignored "-Wformat"
955#pragma GCC diagnostic ignored "-Wformat-extra-args"
956char *
957ether_sprintf(const u_char *ap)
958{
959 static char etherbuf[18];
960 snprintf(etherbuf, sizeof (etherbuf), "%6D", ap, ":");
961 return (etherbuf);
962}
963
964/*
965 * Perform common duties while attaching to interface list

Callers 15

ht_send_action_ba_addbaFunction · 0.85
ht_send_action_ba_delbaFunction · 0.85
wep_encryptFunction · 0.85
sta_newstateFunction · 0.85
sta_inputFunction · 0.85
ieee80211_crypto_setkeyFunction · 0.85
hwmp_send_actionFunction · 0.85
hwmp_discoverFunction · 0.85
ieee80211_create_wdsFunction · 0.85
ieee80211_dwds_mcastFunction · 0.85
wds_inputFunction · 0.85

Calls 1

snprintfFunction · 0.85

Tested by

no test coverage detected