titan.TestPorts.AF_PACKET/src
Harald Welte cd698095c7 guard against race between socket(AF_PACKET) and bind()
An AF_PACKET socket will immediately receive packets of _all_ interfaces
until it is bound to one specific interface.  This introduces a race
condition between the socket() and the bind() syscall.

Let's use the ifindex passed for each packet in recvmsg() to drop
any packets received for other interfaces.

Change-Id: Icd0b23eb1d6f75ca3a05e5dd1a569fa389903fdf
2020-12-10 21:55:10 +01:00
..
AF_PACKET_PT.cc guard against race between socket(AF_PACKET) and bind() 2020-12-10 21:55:10 +01:00
AF_PACKET_PT.hh initial check-in of new Linux AF_PACKET test port 2020-09-09 11:59:10 +02:00
AF_PACKET_PortType.ttcn Various fixes discovered while actually using FrameRelay_Emulation 2020-09-13 23:14:39 +02:00
AF_PACKET_PortTypes.ttcn initial check-in of new Linux AF_PACKET test port 2020-09-09 11:59:10 +02:00
FrameRelay_CodecPort.ttcn Add FrameRelay_CodecPort on top of AF_PACKET_Port 2020-09-11 16:23:28 +02:00
FrameRelay_Emulation.ttcn FrameRelay_Emulation: Add convenience template for PvcStatus 2020-09-14 08:48:25 +02:00
FrameRelay_Types.ttcn Add FrameRelay_CodecPort on top of AF_PACKET_Port 2020-09-11 16:23:28 +02:00
Q931_Types.ttcn Add Q931_Types + Q933_Tyeps with definitions from ITU-T Q.931 + Q.933 2020-09-11 21:18:58 +02:00
Q933_Types.ttcn Add Q931_Types + Q933_Tyeps with definitions from ITU-T Q.931 + Q.933 2020-09-11 21:18:58 +02:00