Lines Matching full:fe
197 export9_send(priv_p priv, fib_export_p fe, item_p item, struct netflow_v9_packet_opt *t, int flags) in export9_send() argument
221 header->seq_num = htonl(atomic_fetchadd_32(&fe->flow9_seq, 1)); in export9_send()
223 header->source_id = htonl(fe->domain_id); in export9_send()
365 get_export9_dgram(priv_p priv, fib_export_p fe, struct netflow_v9_packet_opt **tt) in get_export9_dgram() argument
370 mtx_lock(&fe->export9_mtx); in get_export9_dgram()
371 if (fe->exp.item9 != NULL) { in get_export9_dgram()
372 item = fe->exp.item9; in get_export9_dgram()
373 fe->exp.item9 = NULL; in get_export9_dgram()
374 t = fe->exp.item9_opt; in get_export9_dgram()
375 fe->exp.item9_opt = NULL; in get_export9_dgram()
377 mtx_unlock(&fe->export9_mtx); in get_export9_dgram()
417 if ((time_uptime >= priv->templ_time + fe->templ_last_ts) || in get_export9_dgram()
418 (fe->sent_packets >= priv->templ_packets + fe->templ_last_pkt)) { in get_export9_dgram()
419 fe->templ_last_ts = time_uptime; in get_export9_dgram()
420 fe->templ_last_pkt = fe->sent_packets; in get_export9_dgram()
438 return_export9_dgram(priv_p priv, fib_export_p fe, item_p item, struct netflow_v9_packet_opt *t, in… in return_export9_dgram() argument
445 mtx_lock(&fe->export9_mtx); in return_export9_dgram()
446 if (fe->exp.item9 == NULL) { in return_export9_dgram()
447 fe->exp.item9 = item; in return_export9_dgram()
448 fe->exp.item9_opt = t; in return_export9_dgram()
449 mtx_unlock(&fe->export9_mtx); in return_export9_dgram()
451 mtx_unlock(&fe->export9_mtx); in return_export9_dgram()
452 export9_send(priv, fe, item, t, flags); in return_export9_dgram()