Lines Matching refs:fle6

422 	struct flow6_entry *fle6;  in hash6_insert()  local
429 fle6 = uma_zalloc_arg(priv->zone6, priv, M_NOWAIT); in hash6_insert()
430 if (fle6 == NULL) { in hash6_insert()
440 fle6->f.version = IP6VERSION; in hash6_insert()
441 bcopy(r, &fle6->f.r, sizeof(struct flow6_rec)); in hash6_insert()
442 fle6->f.bytes = plen; in hash6_insert()
443 fle6->f.packets = 1; in hash6_insert()
444 fle6->f.tcp_flags = tcp_flags; in hash6_insert()
446 fle6->f.first = fle6->f.last = time_uptime; in hash6_insert()
467 fle6->f.fle_o_ifx = info.rti_ifp->if_index; in hash6_insert()
471 fle6->f.n.next_hop6 = in hash6_insert()
474 fle6->f.dst_mask = in hash6_insert()
495 fle6->f.src_mask = in hash6_insert()
500 TAILQ_INSERT_TAIL(&hsh6->head, (struct flow_entry *)fle6, fle_hash); in hash6_insert()
821 struct flow6_entry *fle6; in ng_netflow_flow6_add() local
885 fle6 = (struct flow6_entry *)fle; in ng_netflow_flow6_add()
886 if (bcmp(&r, &fle6->f.r, sizeof(struct flow6_rec)) == 0) in ng_netflow_flow6_add()
888 if ((INACTIVE(fle6) && SMALL(fle6)) || AGED(fle6)) { in ng_netflow_flow6_add()
897 fle6 = (struct flow6_entry *)fle; in ng_netflow_flow6_add()
899 fle6->f.bytes += plen; in ng_netflow_flow6_add()
900 fle6->f.packets ++; in ng_netflow_flow6_add()
901 fle6->f.tcp_flags |= tcp_flags; in ng_netflow_flow6_add()
902 fle6->f.last = time_uptime; in ng_netflow_flow6_add()
910 if (tcp_flags & TH_FIN || tcp_flags & TH_RST || AGED(fle6) || in ng_netflow_flow6_add()
911 (fle6->f.bytes >= (CNTR_MAX - IF_MAXMTU)) ) { in ng_netflow_flow6_add()
1017 struct flow6_entry *fle6; in ng_netflow_flow_show() local
1019 fle6 = (struct flow6_entry *)fle; in ng_netflow_flow_show()
1020 bcopy(&fle6->f, data6 + resp->nentries, in ng_netflow_flow_show()
1021 sizeof(fle6->f)); in ng_netflow_flow_show()
1176 struct flow6_entry *fle6; in ng_netflow_expire() local
1185 fle6 = (struct flow6_entry *)fle; in ng_netflow_expire()
1197 if (used <= (NBUCKETS*2) && !INACTIVE(fle6)) in ng_netflow_expire()
1200 if ((INACTIVE(fle6) && (SMALL(fle6) || in ng_netflow_expire()
1201 (used > (NBUCKETS*2)))) || AGED(fle6)) { in ng_netflow_expire()