Print this page
2869 duplicate packets with vnics over aggrs

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/aggr_impl.h
          +++ new/usr/src/uts/common/sys/aggr_impl.h
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
       24 + * Copyright 2012 OmniTI Computer Consulting, Inc  All rights reserved.
  24   25   */
  25   26  
  26   27  #ifndef _SYS_AGGR_IMPL_H
  27   28  #define _SYS_AGGR_IMPL_H
  28   29  
  29   30  #include <sys/types.h>
  30   31  #include <sys/cred.h>
  31   32  #include <sys/mac_ether.h>
  32   33  #include <sys/mac_provider.h>
  33   34  #include <sys/mac_client.h>
↓ open down ↓ 266 lines elided ↑ open up ↑
 300  301  extern int aggr_port_start(aggr_port_t *);
 301  302  extern void aggr_port_stop(aggr_port_t *);
 302  303  extern int aggr_port_promisc(aggr_port_t *, boolean_t);
 303  304  extern int aggr_port_unicst(aggr_port_t *);
 304  305  extern int aggr_port_multicst(void *, boolean_t, const uint8_t *);
 305  306  extern uint64_t aggr_port_stat(aggr_port_t *, uint_t);
 306  307  extern boolean_t aggr_port_notify_link(aggr_grp_t *, aggr_port_t *);
 307  308  extern void aggr_port_init_callbacks(aggr_port_t *);
 308  309  
 309  310  extern void aggr_recv_cb(void *, mac_resource_handle_t, mblk_t *, boolean_t);
      311 +extern void aggr_recv_promisc_cb(void *, mac_resource_handle_t, mblk_t *,
      312 +    boolean_t);
 310  313  
 311  314  extern void aggr_tx_ring_update(void *, uintptr_t);
 312  315  extern void aggr_tx_notify_thread(void *);
 313  316  extern void aggr_send_port_enable(aggr_port_t *);
 314  317  extern void aggr_send_port_disable(aggr_port_t *);
 315  318  extern void aggr_send_update_policy(aggr_grp_t *, uint32_t);
 316  319  
 317  320  extern void aggr_lacp_init(void);
 318  321  extern void aggr_lacp_fini(void);
 319  322  extern void aggr_lacp_init_port(aggr_port_t *);
↓ open down ↓ 31 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX