openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

custom.h (1116B)


      1 /*
      2  * 
      3  * 
      4  * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      5  * 
      6  * Copyright 2007-2020 Broadcom Inc. All rights reserved.
      7  * 
      8  * DO NOT EDIT THIS FILE!
      9  * This file is auto-generated.
     10  * Edits to this file will be lost when it is regenerated.
     11  */
     12 
     13 #ifndef __BCMX_CUSTOM_H__
     14 #define __BCMX_CUSTOM_H__
     15 
     16 #include <bcmx/types.h>
     17 #include <bcmx/bcmx.h>
     18 #include <bcmx/lport.h>
     19 #include <bcm/custom.h>
     20 
     21 /* Invoke a custom handler for a port. */
     22 extern int bcmx_custom_port_set(
     23     bcmx_lport_t port, 
     24     int type, 
     25     int len, 
     26     uint32 *args);
     27 
     28 /* Invoke a custom handler for a port. */
     29 extern int bcmx_custom_port_get(
     30     bcmx_lport_t port, 
     31     int type, 
     32     int max_len, 
     33     uint32 *args, 
     34     int *actual_len);
     35 
     36 /* Invoke a custom handler for all units. */
     37 extern int bcmx_custom_unit_set(
     38     int type, 
     39     int len, 
     40     uint32 *args);
     41 
     42 /* Invoke a custom handler for all units. */
     43 extern int bcmx_custom_unit_get(
     44     int type, 
     45     int max_len, 
     46     uint32 *args, 
     47     int *actual_len);
     48 
     49 #endif /* __BCMX_CUSTOM_H__ */