Lines Matching refs:resp
2273 struct ng_mesg *resp = NULL;
2302 NG_MKRESPONSE (resp, msg, dl, M_NOWAIT);
2303 if (! resp) {
2308 resp = malloc (M_NETGRAPH, M_NOWAIT);
2309 if (! resp) {
2313 bzero (resp, dl);
2315 s = (resp)->data;
2324 (resp)->header.version = NG_VERSION;
2325 (resp)->header.arglen = strlen (s) + 1;
2326 (resp)->header.token = msg->header.token;
2327 (resp)->header.typecookie = NGM_CE_COOKIE;
2328 (resp)->header.cmd = msg->header.cmd;
2330 strncpy ((resp)->header.cmdstr, "status", NG_CMDSTRSIZ);
2337 NG_RESPOND_MSG (error, node, item, resp);
2340 *rptr = resp;