You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Consider sock4_update_revnat in cilium/bpf_sock.c defined at line numbers 168 and 193 in the same file. Currently, the developer has to pick one. By default, if there are multiple defs, we process the first definition.
Three alternatives are:
Possibly alert developer and exit processing.
Pick first defn as current practice
Pick all definitions and protect with macro guards. In principle this should work, since this is already done while extracting functions.
This is not an issue with .h files, since we include them as is. I think the single function definition requirement matters only when there are multiple defns across different files.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Consider
sock4_update_revnat
incilium/bpf_sock.c
defined at line numbers 168 and 193 in the same file. Currently, the developer has to pick one. By default, if there are multiple defs, we process the first definition.Three alternatives are:
This is not an issue with .h files, since we include them as is. I think the single function definition requirement matters only when there are multiple defns across different files.
The text was updated successfully, but these errors were encountered: