diff options
| author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2026-05-03 18:21:33 +0200 |
|---|---|---|
| committer | Sander Vrijders <sander@ouroboros.rocks> | 2026-05-20 08:17:06 +0200 |
| commit | ea864c3d3e8ff75ffbbc1e3f01db09daa9b7a5c8 (patch) | |
| tree | 09973abf8cdadbe0a2d43589442b62ec69011b18 /src/ipcpd/unicast/routing/graph.c | |
| parent | 875df4e784530430b13e77f4c37e37466db4ef3c (diff) | |
| download | ouroboros-ea864c3d3e8ff75ffbbc1e3f01db09daa9b7a5c8.tar.gz ouroboros-ea864c3d3e8ff75ffbbc1e3f01db09daa9b7a5c8.zip | |
lib: Rename PROG_* config to PROC_*
Per-process flow / fd / fqueue limits are properties of a process, not
a program; align the naming. Mechanical rename of PROG_MAX_FLOWS,
PROG_RES_FDS, and PROG_MAX_FQUEUES to PROC_*.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/ipcpd/unicast/routing/graph.c')
| -rw-r--r-- | src/ipcpd/unicast/routing/graph.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ipcpd/unicast/routing/graph.c b/src/ipcpd/unicast/routing/graph.c index 0226c762..c168eb7d 100644 --- a/src/ipcpd/unicast/routing/graph.c +++ b/src/ipcpd/unicast/routing/graph.c @@ -603,9 +603,9 @@ static int graph_routing_table_lfa(struct graph * graph, struct list_head * table, int ** dist) { - int * n_dist[PROG_MAX_FLOWS]; - uint64_t addrs[PROG_MAX_FLOWS]; - int n_index[PROG_MAX_FLOWS]; + int * n_dist[PROC_MAX_FLOWS]; + uint64_t addrs[PROC_MAX_FLOWS]; + int n_index[PROC_MAX_FLOWS]; struct list_head * p; struct list_head * q; struct vertex * v; @@ -618,7 +618,7 @@ static int graph_routing_table_lfa(struct graph * graph, if (graph_routing_table_simple(graph, s_addr, table, dist)) goto fail_table; - for (j = 0; j < PROG_MAX_FLOWS; j++) { + for (j = 0; j < PROC_MAX_FLOWS; j++) { n_dist[j] = NULL; n_index[j] = -1; addrs[j] = -1; |
