View | Details | Raw Unified | Return to bug 1787
Collapse All | Expand All

(-)orig/tap-bridge.h (-5 / +6 lines)
 Lines 265-271    Link Here 
265
   *
265
   *
266
   * \param buf A character buffer containing the actual packet bits that were
266
   * \param buf A character buffer containing the actual packet bits that were
267
   *            received from the host.
267
   *            received from the host.
268
   * \param buf The length of the buffer.
268
   * \param len The length of the buffer.
269
   */
269
   */
270
  void ForwardToBridgedDevice (uint8_t *buf, ssize_t len);
270
  void ForwardToBridgedDevice (uint8_t *buf, ssize_t len);
271
271
 Lines 273-283    Link Here 
273
   * \internal
273
   * \internal
274
   *
274
   *
275
   * The host we are bridged to is in the evil real world.  Do some sanity
275
   * The host we are bridged to is in the evil real world.  Do some sanity
276
   * checking on a received packet to make sure it isn't too evil for our
276
   * checking on a received buffer to make sure it isn't too evil for our
277
   * poor naive virginal simulator to handle.
277
   * poor naive virginal simulator to handle.
278
   *
278
   *
279
   * \param packet The packet we received from the host, and which we need 
279
   * \param buf    A character buffer containing the actual packet bits that were
280
   *               to check.
280
   *               received from the host.
281
   * \param len    The length of the buffer.
281
   * \param src    A pointer to the data structure that will get the source
282
   * \param src    A pointer to the data structure that will get the source
282
   *               MAC address of the packet (extracted from the packet Ethernet
283
   *               MAC address of the packet (extracted from the packet Ethernet
283
   *               header).
284
   *               header).
 Lines 289-295    Link Here 
289
   *               (DIX framing) or from the 802.2 LLC header in the case of 
290
   *               (DIX framing) or from the 802.2 LLC header in the case of 
290
   *               length interpretation (802.3 framing).
291
   *               length interpretation (802.3 framing).
291
   */
292
   */
292
  Ptr<Packet> Filter (Ptr<Packet> packet, Address *src, Address *dst, uint16_t *type);
293
  Ptr<Packet> Filter (uint8_t *buf, ssize_t len, Address *src, Address *dst, uint16_t *type);
293
294
294
  /**
295
  /**
295
   * \internal
296
   * \internal

Return to bug 1787