|
115 |
NS_LOG_DEBUG ("N3SocketRecv: " << *packet); |
115 |
NS_LOG_DEBUG ("N3SocketRecv: " << *packet); |
116 |
SocketAddressTag socketAddressTag; |
116 |
SocketAddressTag socketAddressTag; |
117 |
packet->RemovePacketTag (socketAddressTag); |
117 |
packet->RemovePacketTag (socketAddressTag); |
|
|
118 |
SocketRecvIfTag recvIfTag; |
119 |
packet->RemovePacketTag (recvIfTag); |
118 |
m_n3Tap->Receive (packet, 0x0800, m_n3Tap->GetAddress (), m_n3Tap->GetAddress (), NetDevice::PACKET_HOST); |
120 |
m_n3Tap->Receive (packet, 0x0800, m_n3Tap->GetAddress (), m_n3Tap->GetAddress (), NetDevice::PACKET_HOST); |
119 |
} |
121 |
} |
120 |
|
122 |
|
|
124 |
NS_LOG_DEBUG ("N0SocketRecv: " << *packet); |
126 |
NS_LOG_DEBUG ("N0SocketRecv: " << *packet); |
125 |
SocketAddressTag socketAddressTag; |
127 |
SocketAddressTag socketAddressTag; |
126 |
packet->RemovePacketTag (socketAddressTag); |
128 |
packet->RemovePacketTag (socketAddressTag); |
|
|
129 |
SocketRecvIfTag recvIfTag; |
130 |
packet->RemovePacketTag (recvIfTag); |
127 |
m_n0Tap->Receive (packet, 0x0800, m_n0Tap->GetAddress (), m_n0Tap->GetAddress (), NetDevice::PACKET_HOST); |
131 |
m_n0Tap->Receive (packet, 0x0800, m_n0Tap->GetAddress (), m_n0Tap->GetAddress (), NetDevice::PACKET_HOST); |
128 |
} |
132 |
} |
129 |
|
133 |
|
|
133 |
NS_LOG_DEBUG ("N1SocketRecv: " << *packet); |
137 |
NS_LOG_DEBUG ("N1SocketRecv: " << *packet); |
134 |
SocketAddressTag socketAddressTag; |
138 |
SocketAddressTag socketAddressTag; |
135 |
packet->RemovePacketTag (socketAddressTag); |
139 |
packet->RemovePacketTag (socketAddressTag); |
|
|
140 |
SocketRecvIfTag recvIfTag; |
141 |
packet->RemovePacketTag (recvIfTag); |
136 |
m_n1Tap->Receive (packet, 0x0800, m_n1Tap->GetAddress (), m_n1Tap->GetAddress (), NetDevice::PACKET_HOST); |
142 |
m_n1Tap->Receive (packet, 0x0800, m_n1Tap->GetAddress (), m_n1Tap->GetAddress (), NetDevice::PACKET_HOST); |
137 |
} |
143 |
} |
138 |
|
144 |
|