All of lore.kernel.org
 help / color / mirror / Atom feed
* Change ether_addr to avoid conflict
@ 2018-10-21 15:39 Lewis Donzis
  2018-10-22 15:06 ` Wiles, Keith
  0 siblings, 1 reply; 5+ messages in thread
From: Lewis Donzis @ 2018-10-21 15:39 UTC (permalink / raw)
  To: dev

Please consider changing “struct ether_addr” in rte_ether.h to “struct rte_ether_addr”, in order to avoid conflicts with the same structure name /usr/include/net/ethernet.h.

This is kind of a pain for us since we would like to include ethernet.h in order to get some other definitions, but we can’t because it conflicts with the same structure name in rte_ether.h.

Thanks,
lew

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Change ether_addr to avoid conflict
@ 2018-10-24 12:35 Lewis Donzis
  2018-10-24 16:11 ` Stephen Hemminger
  0 siblings, 1 reply; 5+ messages in thread
From: Lewis Donzis @ 2018-10-24 12:35 UTC (permalink / raw)
  To: dev

Please consider changing "struct ether_addr" in rte_ether.h to "struct rte_ether_addr", in order to avoid conflicts with the same structure name /usr/include/net/ethernet.h.

Sometimes, there is need to include /usr/include/net/ethernet.h, but it conflicts with the same structure name in rte_ether.h.  Was there a reason this structure wasn't given the standard rte_ prefix?

Thanks,
lew

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-10-24 16:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-21 15:39 Change ether_addr to avoid conflict Lewis Donzis
2018-10-22 15:06 ` Wiles, Keith
2018-10-23  8:37   ` Thomas Monjalon
2018-10-24 12:35 Lewis Donzis
2018-10-24 16:11 ` Stephen Hemminger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.