linux/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/optional_data.j2

{# SPDX-License-Identifier: GPL-2.0 #}
{% if annotate %}
	/* member {{ name }} (optional data) */
{% endif %}
	if (!xdrgen_encode_{{ type }}(xdr, value->{{ name }}))
		return false;