William Zhang
4ebb37a26c
opal/util: Change opal/util/if.h macro IF_NAMESIZE to OPAL_IF_NAMESIZE
...
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>
2019-07-29 21:24:39 +00:00
..
2016-06-01 11:13:31 +09:00
2016-08-09 17:12:30 +09:00
2016-08-03 09:18:12 -07:00
2013-01-15 01:27:36 +00:00
2013-01-15 01:27:36 +00:00
2018-09-27 11:56:18 -07:00
2015-06-23 20:59:57 -07:00
2018-09-27 11:56:18 -07:00
2015-06-23 20:59:57 -07:00
2017-09-15 15:08:47 -07:00
2017-09-17 19:49:26 +00:00
2017-09-15 15:08:47 -07:00
2015-06-23 20:59:57 -07:00
2017-07-11 02:13:23 -04:00
2017-07-11 02:13:23 -04:00
2015-06-25 10:14:13 -06:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2018-10-08 16:43:53 -07:00
2017-06-08 19:34:48 +09:00
2019-07-29 21:24:39 +00:00
2016-05-18 16:25:51 +02:00
2018-09-27 11:56:18 -07:00
2018-03-21 19:34:03 -07:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2017-01-18 12:05:47 -08:00
2018-10-04 16:12:46 -05:00
2019-07-29 21:24:39 +00:00
2018-09-27 11:56:18 -07:00
2017-05-17 01:12:49 -04:00
2018-12-19 13:01:45 -08:00
2018-06-01 18:31:32 -04:00
2018-12-18 14:37:04 -07:00
2018-12-18 14:37:04 -07:00
2019-02-13 10:21:39 -08:00
2018-12-18 14:37:04 -07:00
2018-12-18 14:37:04 -07:00
2018-12-18 14:37:04 -07:00
2018-12-18 14:37:04 -07:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2018-10-08 16:43:53 -07:00
2015-06-23 20:59:57 -07:00
2018-09-27 11:56:18 -07:00
2015-06-23 20:59:57 -07:00
2018-10-14 16:04:28 -07:00
2015-06-23 20:59:57 -07:00
2017-01-19 14:02:47 +09:00
2015-06-23 20:59:57 -07:00
2018-10-17 08:57:30 -07:00
2018-09-15 06:04:13 -07:00
2019-07-09 11:24:31 +09:00
2019-07-09 11:24:31 +09:00
2018-10-14 16:04:28 -07:00
2016-01-26 13:36:21 -06:00
2018-10-08 16:43:53 -07:00
2018-10-08 16:43:53 -07:00
2018-09-27 11:56:18 -07:00
2017-02-28 07:48:42 -08:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2018-12-18 14:37:04 -07:00
2018-12-18 14:37:04 -07:00
2018-08-06 19:45:59 +02:00
2017-01-26 11:55:32 -06:00
2018-10-01 13:34:15 -07:00
2018-10-01 13:34:15 -07:00
2017-04-05 17:35:52 -04:00
2015-06-23 20:59:57 -07:00
2017-04-11 12:08:48 +06:00
2018-03-21 05:16:25 +02:00
2018-10-08 16:43:53 -07:00
2015-06-23 20:59:57 -07:00