PerfectSwitch.cc (6846:60e0df8086f0) PerfectSwitch.cc (6891:77451885bb00)
1
2/*
3 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

--- 74 unchanged lines hidden (view full) ---

83 l.m_value = 0;
84 l.m_link = m_out.size();
85 m_link_order.insertAtBottom(l);
86
87 // Add to routing table
88 m_out.insertAtBottom(out);
89 m_routing_table.insertAtBottom(routing_table_entry);
90
1
2/*
3 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

--- 74 unchanged lines hidden (view full) ---

83 l.m_value = 0;
84 l.m_link = m_out.size();
85 m_link_order.insertAtBottom(l);
86
87 // Add to routing table
88 m_out.insertAtBottom(out);
89 m_routing_table.insertAtBottom(routing_table_entry);
90
91 m_out_link_vec.insertAtBottom(out);
92}
93
94void PerfectSwitch::clearRoutingTables()
95{
96 m_routing_table.clear();
97}
98
99void PerfectSwitch::clearBuffers()

--- 217 unchanged lines hidden ---
91}
92
93void PerfectSwitch::clearRoutingTables()
94{
95 m_routing_table.clear();
96}
97
98void PerfectSwitch::clearBuffers()

--- 217 unchanged lines hidden ---