Home
last modified time | relevance | path

Searched refs:fle6 (Results 1 – 2 of 2) sorted by relevance

/NextBSD/usr.sbin/flowctl/
HDflowctl.c304 struct flow6_entry_data *fle6; in flow_cache_print6() local
316 fle6 = (struct flow6_entry_data *)(resp + 1); in flow_cache_print6()
317 for (i = 0; i < resp->nentries; i++, fle6++) { in flow_cache_print6()
318 inet_ntop(AF_INET6, &fle6->r.src.r_src6, src6, sizeof(src6)); in flow_cache_print6()
319 inet_ntop(AF_INET6, &fle6->r.dst.r_dst6, dst6, sizeof(dst6)); in flow_cache_print6()
321 if_indextoname(fle6->fle_i_ifx, src_if), in flow_cache_print6()
323 if_indextoname(fle6->fle_o_ifx, dst_if), in flow_cache_print6()
325 fle6->r.r_ip_p, in flow_cache_print6()
326 ntohs(fle6->r.r_sport), in flow_cache_print6()
327 ntohs(fle6->r.r_dport), in flow_cache_print6()
[all …]
/NextBSD/sys/netgraph/netflow/
HDnetflow.c398 struct flow6_entry *fle6; in hash6_insert() local
404 fle6 = uma_zalloc_arg(priv->zone6, priv, M_NOWAIT); in hash6_insert()
405 if (fle6 == NULL) { in hash6_insert()
415 fle6->f.version = IP6VERSION; in hash6_insert()
416 bcopy(r, &fle6->f.r, sizeof(struct flow6_rec)); in hash6_insert()
417 fle6->f.bytes = plen; in hash6_insert()
418 fle6->f.packets = 1; in hash6_insert()
419 fle6->f.tcp_flags = tcp_flags; in hash6_insert()
421 fle6->f.first = fle6->f.last = time_uptime; in hash6_insert()
436 fle6->f.fle_o_ifx = rt->rt_ifp->if_index; in hash6_insert()
[all …]