[PATCH RFC v3] ipvs: add genetlink cmd to dump all services and destinations

2020-11-10 Thread Cezar Sa Espinola
also possible to dump a single service and its destinations by sending a IPVS_CMD_ATTR_SERVICE argument to the dump command. Signed-off-by: Cezar Sa Espinola --- Changes in v2: - Send destinations nested in a service. Changes in v3: - Avoid tab lookups at EOF and other requested changes. include

[PATCH RFC v2] ipvs: add genetlink cmd to dump all services and destinations

2020-11-06 Thread Cezar Sa Espinola
also possible to dump a single service and its destinations by sending a IPVS_CMD_ATTR_SERVICE argument to the dump command. Signed-off-by: Cezar Sa Espinola --- Changes in v2: - Send destinations nested in a service. This patch should be safer now as every packet starts with a service message.

[PATCH RFC] ipvs: add genetlink cmd to dump all services and destinations

2020-10-30 Thread Cezar Sa Espinola
imediatelly followed by its destinations as multiple IPVS_CMD_NEW_DEST messages. It's also possible to dump a single service and its destinations by sending a IPVS_CMD_ATTR_SERVICE argument to the dump command. Signed-off-by: Cezar Sa Espinola --- To ensure that this patch improves performa