Lines Matching refs:resp
89 static void flow_cache_print(struct ngnf_show_header *resp);
90 static void flow_cache_print_verbose(struct ngnf_show_header *resp);
93 static void flow_cache_print6(struct ngnf_show_header *resp);
94 static void flow_cache_print6_verbose(struct ngnf_show_header *resp);
229 struct ngnf_show_header req, *resp; in do_show() local
251 resp = (struct ngnf_show_header *)ng_mesg->data; in do_show()
252 if ((ng_mesg->header.arglen < (sizeof(*resp))) || in do_show()
253 (ng_mesg->header.arglen < (sizeof(*resp) + in do_show()
254 (resp->nentries * sizeof(struct flow_entry_data))))) in do_show()
257 (*func)(resp); in do_show()
259 if (resp->hash_id != 0) in do_show()
260 req.hash_id = resp->hash_id; in do_show()
263 req.list_id = resp->list_id; in do_show()
270 flow_cache_print(struct ngnf_show_header *resp) in flow_cache_print() argument
277 if (resp->version != 4) in flow_cache_print()
279 __func__, resp->version); in flow_cache_print()
281 if (resp->nentries > 0) in flow_cache_print()
284 fle = (struct flow_entry_data *)(resp + 1); in flow_cache_print()
285 for (i = 0; i < resp->nentries; i++, fle++) { in flow_cache_print()
304 flow_cache_print6(struct ngnf_show_header *resp) in flow_cache_print6() argument
311 if (resp->version != 6) in flow_cache_print6()
313 __func__, resp->version); in flow_cache_print6()
315 if (resp->nentries > 0) in flow_cache_print6()
318 fle6 = (struct flow6_entry_data *)(resp + 1); in flow_cache_print6()
319 for (i = 0; i < resp->nentries; i++, fle6++) { in flow_cache_print6()
338 flow_cache_print_verbose(struct ngnf_show_header *resp) in flow_cache_print_verbose() argument
345 if (resp->version != 4) in flow_cache_print_verbose()
347 __func__, resp->version); in flow_cache_print_verbose()
351 fle = (struct flow_entry_data *)(resp + 1); in flow_cache_print_verbose()
352 for (i = 0; i < resp->nentries; i++, fle++) { in flow_cache_print_verbose()
381 flow_cache_print6_verbose(struct ngnf_show_header *resp) in flow_cache_print6_verbose() argument
388 if (resp->version != 6) in flow_cache_print6_verbose()
390 __func__, resp->version); in flow_cache_print6_verbose()
394 fle6 = (struct flow6_entry_data *)(resp + 1); in flow_cache_print6_verbose()
395 for (i = 0; i < resp->nentries; i++, fle6++) { in flow_cache_print6_verbose()