Lines Matching refs:fle
267 struct flow_entry_data *fle; in flow_cache_print() local
279 fle = (struct flow_entry_data *)(resp + 1); in flow_cache_print()
280 for (i = 0; i < resp->nentries; i++, fle++) { in flow_cache_print()
281 inet_ntop(AF_INET, &fle->r.r_src, src, sizeof(src)); in flow_cache_print()
282 inet_ntop(AF_INET, &fle->r.r_dst, dst, sizeof(dst)); in flow_cache_print()
284 if_indextoname(fle->fle_i_ifx, src_if), in flow_cache_print()
286 if_indextoname(fle->fle_o_ifx, dst_if), in flow_cache_print()
288 fle->r.r_ip_p, in flow_cache_print()
289 ntohs(fle->r.r_sport), in flow_cache_print()
290 ntohs(fle->r.r_dport), in flow_cache_print()
291 fle->packets); in flow_cache_print()
335 struct flow_entry_data *fle; in flow_cache_print_verbose() local
346 fle = (struct flow_entry_data *)(resp + 1); in flow_cache_print_verbose()
347 for (i = 0; i < resp->nentries; i++, fle++) { in flow_cache_print_verbose()
348 inet_ntop(AF_INET, &fle->r.r_src, src, sizeof(src)); in flow_cache_print_verbose()
349 inet_ntop(AF_INET, &fle->r.r_dst, dst, sizeof(dst)); in flow_cache_print_verbose()
350 inet_ntop(AF_INET, &fle->next_hop, next, sizeof(next)); in flow_cache_print_verbose()
352 if_indextoname(fle->fle_i_ifx, src_if), in flow_cache_print_verbose()
354 if_indextoname(fle->fle_o_ifx, dst_if), in flow_cache_print_verbose()
356 fle->r.r_ip_p, in flow_cache_print_verbose()
357 fle->r.r_tos, in flow_cache_print_verbose()
358 fle->tcp_flags, in flow_cache_print_verbose()
359 fle->packets, in flow_cache_print_verbose()
360 ntohs(fle->r.r_sport), in flow_cache_print_verbose()
361 fle->src_mask, in flow_cache_print_verbose()
363 ntohs(fle->r.r_dport), in flow_cache_print_verbose()
364 fle->dst_mask, in flow_cache_print_verbose()
367 (u_int)(fle->bytes / fle->packets), in flow_cache_print_verbose()