Home
last modified time | relevance | path

Searched refs:pf_threshold (Results 1 – 7 of 7) sorted by relevance

/freebsd-12.1/sys/netinet/
H A Dsctp_var.h324 #define SCTP_PF_ENABLED(_net) (_net->pf_threshold < _net->failure_threshold)
325 #define SCTP_NET_IS_PF(_net) (_net->pf_threshold < _net->error_count)
H A Dsctp_timer.c109 } else if ((net->pf_threshold < net->failure_threshold) && in sctp_threshold_management()
110 (net->error_count > net->pf_threshold)) { in sctp_threshold_management()
880 if (net->pf_threshold < net->failure_threshold) { in sctp_t3rxt_timer()
H A Dsctp_usrreq.c3268 thlds->spt_pathpfthld = net->pf_threshold;
5376 (net->error_count > net->pf_threshold)) {
5421 (net->error_count > net->pf_threshold)) {
6366 net->pf_threshold = thlds->spt_pathpfthld;
6369 (net->error_count <= net->pf_threshold)) {
6373 if ((net->error_count > net->pf_threshold) &&
6397 net->pf_threshold = thlds->spt_pathpfthld;
6400 (net->error_count <= net->pf_threshold)) {
6404 if ((net->error_count > net->pf_threshold) &&
H A Dsctp_structs.h345 uint16_t pf_threshold; member
H A Dsctp_pcb.c3890 net->pf_threshold = stcb->asoc.def_net_pf_threshold; in sctp_add_remote_addr()
/freebsd-12.1/sys/net/
H A Dpfvar.h633 struct pf_threshold { struct
652 struct pf_threshold conn_rate; argument
/freebsd-12.1/sys/netpfil/pf/
H A Dpf.c214 static void pf_init_threshold(struct pf_threshold *, u_int32_t,
216 static void pf_add_threshold(struct pf_threshold *);
217 static int pf_check_threshold(struct pf_threshold *);
495 pf_init_threshold(struct pf_threshold *threshold, in pf_init_threshold()
505 pf_add_threshold(struct pf_threshold *threshold) in pf_add_threshold()
519 pf_check_threshold(struct pf_threshold *threshold) in pf_check_threshold()