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

Function bpf_ts_quality

freebsd/net/bpf.c:2192–2202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2190#define BPF_TSTAMP_EXTERN 3
2191
2192static int
2193bpf_ts_quality(int tstype)
2194{
2195
2196 if (tstype == BPF_T_NONE)
2197 return (BPF_TSTAMP_NONE);
2198 if ((tstype & BPF_T_FAST) != 0)
2199 return (BPF_TSTAMP_FAST);
2200
2201 return (BPF_TSTAMP_NORMAL);
2202}
2203
2204static int
2205bpf_gettime(struct bintime *bt, int tstype, struct mbuf *m)

Callers 4

bpf_gettimeFunction · 0.85
bpf_tapFunction · 0.85
bpf_mtapFunction · 0.85
bpf_mtap2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected