Hi Dan, Thanks for your response. I'd thought about this, at least for adding/removing wgpeers/wgipmasks and for configuring wgdevices. This would fit into multiple smaller messages indeed.
But what about fetching the list of all existing peers and ipmasks atomically? It seems like with multiple calls, if I'm using some kind of pagination, things could change in the process. That's why using one big buffer was most appealing... Any ideas about this? Jason