The introduced patches add possibility of using PTP in different VLANs on a single L2 interface. The core change is a new transport - RAW UDPv4 that uses RAW sockets and BPF filter to process PTP packets for a given VLAN. With this transport PTP can be configured on the interfaces without an IP address, but port configuration section should specify special L3 interface (VLAN interface), address of which is used as a source address for the outgoing packets. Thus these patches add support of PTP on VLAN interfaces.
Amit Nishry (1): Add support for RAW UDPv4 transport Andriy Kohut (3): RAW UDPv4: Add untagged traffic filter RAW UDPv4: Support hybrid E2E RAW UDPv4: Generate Clock Identity from VLAN interface if available address.h | 6 + clock.c | 19 +- config.c | 18 +- config.h | 2 + makefile | 14 +- msg.c | 2 +- phc2sys.c | 25 ++- ptp4l.8 | 11 +- raw_udp.c | 586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ raw_udp.h | 32 ++++ sk.c | 1 + transport.c | 4 + transport.h | 1 + util.c | 1 + 14 files changed, 704 insertions(+), 18 deletions(-) create mode 100644 raw_udp.c create mode 100644 raw_udp.h -- 2.8.4 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel