| 2190 | #define BPF_TSTAMP_EXTERN 3 |
| 2191 | |
| 2192 | static int |
| 2193 | bpf_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 | |
| 2204 | static int |
| 2205 | bpf_gettime(struct bintime *bt, int tstype, struct mbuf *m) |
no outgoing calls
no test coverage detected