Searched refs:fle6 (Results 1 – 2 of 2) sorted by relevance
/freebsd/usr.sbin/flowctl/ |
H A D | flowctl.c | 301 struct flow6_entry_data *fle6; in flow_cache_print6() local 313 fle6 = (struct flow6_entry_data *)(resp + 1); in flow_cache_print6() 314 for (i = 0; i < resp->nentries; i++, fle6++) { in flow_cache_print6() 315 inet_ntop(AF_INET6, &fle6->r.src.r_src6, src6, sizeof(src6)); in flow_cache_print6() 316 inet_ntop(AF_INET6, &fle6->r.dst.r_dst6, dst6, sizeof(dst6)); in flow_cache_print6() 318 if_indextoname(fle6->fle_i_ifx, src_if), in flow_cache_print6() 320 if_indextoname(fle6->fle_o_ifx, dst_if), in flow_cache_print6() 322 fle6->r.r_ip_p, in flow_cache_print6() 323 ntohs(fle6->r.r_sport), in flow_cache_print6() 324 ntohs(fle6->r.r_dport), in flow_cache_print6() [all …]
|
/freebsd/sys/netgraph/netflow/ |
H A D | netflow.c | 402 struct flow6_entry *fle6; in hash6_insert() local 406 fle6 = uma_zalloc_arg(priv->zone6, priv, M_NOWAIT); in hash6_insert() 407 if (fle6 == NULL) { in hash6_insert() 417 fle6->f.version = IP6VERSION; in hash6_insert() 418 bcopy(r, &fle6->f.r, sizeof(struct flow6_rec)); in hash6_insert() 419 fle6->f.bytes = plen; in hash6_insert() 420 fle6->f.packets = 1; in hash6_insert() 421 fle6->f.tcp_flags = tcp_flags; in hash6_insert() 423 fle6->f.first = fle6->f.last = time_uptime; in hash6_insert() 433 rt = fib6_lookup_rt(r->fib, &fle6->f.r.dst.r_dst6, 0, NHR_NONE, &rnd); in hash6_insert() [all …]
|