Searched refs:OVPN_PEER_COUNTER (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/net/ |
H A D | if_ovpn.c | 237 #define OVPN_PEER_COUNTER(peer, name) \ macro 244 counter_u64_add(OVPN_PEER_COUNTER(p, name), val) 415 n->counters.pkt_in = counter_u64_fetch(OVPN_PEER_COUNTER(peer, pkt_in)); in ovpn_notify_del_peer() 416 n->counters.pkt_out = counter_u64_fetch(OVPN_PEER_COUNTER(peer, pkt_out)); in ovpn_notify_del_peer() 417 n->counters.bytes_in = counter_u64_fetch(OVPN_PEER_COUNTER(peer, bytes_in)); in ovpn_notify_del_peer() 418 n->counters.bytes_out = counter_u64_fetch(OVPN_PEER_COUNTER(peer, bytes_out)); in ovpn_notify_del_peer() 1272 OVPN_PEER_COUNTER(peer, in), OVPN_PEER_COUNTER(peer, out)); \ in ovpn_get_peer_stats()
|