FreeBSD/sys/netgraph/ng_ether_echo.c
/*
 * Receive control message. We just bounce it back as a reply.
 */
Receive control message. We just bounce it back as a reply.
Receive control message . We just bounce it back as a reply .
static int
ngee_rcvmsg(node_p node, item_p item, hook_p lasthook)
{
	struct ng_mesg *msg;
	int error = 0;
	NGI_GET_MSG(item, msg);
	msg->header.flags |= NGF_RESP;
	NG_RESPOND_MSG(error, node, item, msg);
	return (error);
}
static int ngee_rcvmsg ( node_p node , item_p item , hook_p lasthook ) { struct ng_mesg * msg ; int error = 0 ; NGI_GET_MSG ( item , msg ) ; msg -> header . flags |= NGF_RESP ; NG_RESPOND_MSG ( error , node , item , msg ) ; return ( error ) ; }
Receive control message.
Receive control message .