On Tue, Aug 09, 2022 at 08:26:08AM +0300, Magnus Armholt wrote:
> Strip the IEC62439-3 PRP trailer if it is present
> to support PTP over PRP.

Fails when building against Linux kernel 3.0 headers (the earliest
supported kernel version).

/home/richard/git/linuxptp/raw.c: In function ‘has_prp_trailer’:
/home/richard/git/linuxptp/raw.c:263:19: error: ‘ETH_P_PRP’ undeclared (first 
use in this function); did you mean ‘ETH_P_ARP’?
  263 |  if (suffix_id == ETH_P_PRP)
      |                   ^~~~~~~~~
      |                   ETH_P_ARP


Please fix that, and then this is good to go.

Thanks,
Richard


_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to