Lines Matching refs:resp
73 static void flow_cache_print(struct ngnf_show_header *resp);
74 static void flow_cache_print_verbose(struct ngnf_show_header *resp);
77 static void flow_cache_print6(struct ngnf_show_header *resp);
78 static void flow_cache_print6_verbose(struct ngnf_show_header *resp);
209 struct ngnf_show_header req, *resp;
232 resp = (struct ngnf_show_header *)ng_mesg->data;
233 if ((ng_mesg->header.arglen < (sizeof(*resp))) ||
234 (ng_mesg->header.arglen < (sizeof(*resp) +
235 (resp->nentries * sizeof(struct flow_entry_data)))))
238 (*func)(resp);
240 if (resp->hash_id != 0)
241 req.hash_id = resp->hash_id;
244 req.list_id = resp->list_id;
251 flow_cache_print(struct ngnf_show_header *resp)
258 if (resp->version != 4)
260 __func__, resp->version);
264 fle = (struct flow_entry_data *)(resp + 1);
265 for (i = 0; i < resp->nentries; i++, fle++) {
284 flow_cache_print6(struct ngnf_show_header *resp)
291 if (resp->version != 6)
293 __func__, resp->version);
297 fle6 = (struct flow6_entry_data *)(resp + 1);
298 for (i = 0; i < resp->nentries; i++, fle6++) {
317 flow_cache_print_verbose(struct ngnf_show_header *resp)
324 if (resp->version != 4)
326 __func__, resp->version);
330 fle = (struct flow_entry_data *)(resp + 1);
331 for (i = 0; i < resp->nentries; i++, fle++) {
360 flow_cache_print6_verbose(struct ngnf_show_header *resp)
367 if (resp->version != 6)
369 __func__, resp->version);
373 fle6 = (struct flow6_entry_data *)(resp + 1);
374 for (i = 0; i < resp->nentries; i++, fle6++) {