MCPcopy Index your code
hub / github.com/F-Stack/f-stack / if_printf

Function if_printf

freebsd/net/if.c:3951–3962  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3949}
3950
3951int
3952if_printf(struct ifnet *ifp, const char *fmt, ...)
3953{
3954 char if_fmt[256];
3955 va_list ap;
3956
3957 snprintf(if_fmt, sizeof(if_fmt), "%s: %s", ifp->if_xname, fmt);
3958 va_start(ap, fmt);
3959 vlog(LOG_INFO, if_fmt, ap);
3960 va_end(ap);
3961 return (0);
3962}
3963
3964void
3965if_start(struct ifnet *ifp)

Callers 15

sta_inputFunction · 0.85
wds_inputFunction · 0.85
ieee80211_scan_dumpFunction · 0.85
adhoc_inputFunction · 0.85
ieee80211_noteFunction · 0.85
ieee80211_note_frameFunction · 0.85
ieee80211_note_macFunction · 0.85
ieee80211_discard_frameFunction · 0.85
ieee80211_discard_ieFunction · 0.85
ieee80211_discard_macFunction · 0.85
amrr_initFunction · 0.85
amrr_node_initFunction · 0.85

Calls 2

snprintfFunction · 0.85
vlogFunction · 0.50

Tested by

no test coverage detected