ng_checksum_config
struct ng_checksum_config *conf, *newconf;
NG_MKRESPONSE(resp, msg, sizeof(struct ng_checksum_config), M_WAITOK);
bcopy(priv->conf, resp->data, sizeof(struct ng_checksum_config));
conf = (struct ng_checksum_config *) msg->data;
if (msg->header.arglen != sizeof(struct ng_checksum_config))
newconf = malloc(sizeof(struct ng_checksum_config), M_NETGRAPH, M_WAITOK|M_ZERO);
bcopy(conf, newconf, sizeof(struct ng_checksum_config));
struct ng_checksum_config *conf;