Deleted Added
full compact
24c24
< * $FreeBSD: head/sys/pci/if_mn.c 70068 2000-12-15 21:06:55Z bmilekic $
---
> * $FreeBSD: head/sys/pci/if_mn.c 70159 2000-12-18 20:03:32Z julian $
190c190
< NG_VERSION,
---
> NG_ABI_VERSION,
284c284,285
< ngmn_rcvmsg(node_p node, struct ng_mesg *msg, const char *retaddr, struct ng_mesg **resp, hook_p lasthook)
---
> ngmn_rcvmsg(node_p node, struct ng_mesg *msg, const char *retaddr,
> struct ng_mesg **rptr, hook_p lasthook)
286a288
> struct ng_mesg *resp = NULL;
293a296
> rptr == NULL || /* temporary */
295,296c298,299
< if (resp)
< *resp = NULL;
---
> if (rptr)
> *rptr = NULL;
300c303
< NG_MKRESPONSE(*resp, msg, sizeof(struct ng_mesg) + NG_TEXTRESPONSE,
---
> NG_MKRESPONSE(resp, msg, sizeof(struct ng_mesg) + NG_TEXTRESPONSE,
302c305
< if (*resp == NULL) {
---
> if (resp == NULL) {
306c309
< arg = (char *)(*resp)->data;
---
> arg = (char *)resp->data;
374c377,384
< (*resp)->header.arglen = pos + 1;
---
> resp->header.arglen = pos + 1;
>
> /* Take care of synchronous response, if any */
> if (rptr)
> *rptr = resp;
> else if (resp)
> FREE(resp, M_NETGRAPH); /* Will eventually send the hard way */
>