xref: /linux/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/fixed_length_opaque.j2 (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1{# SPDX-License-Identifier: GPL-2.0 #}
2{% if annotate %}
3	/* member {{ name }} (fixed-length opaque) */
4{% endif %}
5	if (xdr_stream_encode_opaque_fixed(xdr, value->{{ name }}, {{ size }}) < 0)
6		return false;
7