4ebb37a26c
Due to IF_NAMESIZE being a reused and conditionally defined macro, issues could arise from macro mismatches. In particular, in cases where opal/util/if.h is included, but net/if.h is not, IF_NAMESIZE will be 32. If net/if.h is included on Linux systems, IF_NAMESIZE will be 16. This can cause a mismatch when using the same macro on a system. Thus different parts of the code can have differring ideas on the size of a structure containing a char name[IF_NAMESIZE]. To avoid this error case, we avoid reusing the IF_NAMESIZE macro and instead define our own as OPAL_IF_NAMESIZE. Signed-off-by: William Zhang <wilzhang@amazon.com> |
||
---|---|---|
.. | ||
btl_tcp_addr.h | ||
btl_tcp_component.c | ||
btl_tcp_endpoint.c | ||
btl_tcp_endpoint.h | ||
btl_tcp_frag.c | ||
btl_tcp_frag.h | ||
btl_tcp_ft.c | ||
btl_tcp_ft.h | ||
btl_tcp_hdr.h | ||
btl_tcp_proc.c | ||
btl_tcp_proc.h | ||
btl_tcp.c | ||
btl_tcp.h | ||
configure.m4 | ||
help-mpi-btl-tcp.txt | ||
Makefile.am | ||
owner.txt |