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

bcm-knet-kcom.h (684B)


      1 /*
      2  * 
      3  * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      4  * 
      5  * Copyright 2007-2019 Broadcom Inc. All rights reserved.
      6  *
      7  * Provides a kcom interface using User/Kernel proxy services
      8  */
      9 
     10 #ifndef __BCM_KNET_KCOM_H__
     11 #define __BCM_KNET_KCOM_H__
     12 
     13 extern void *
     14 bcm_knet_kcom_open(char *name);
     15 
     16 extern int
     17 bcm_knet_kcom_close(void *handle);
     18 
     19 extern int
     20 bcm_knet_kcom_msg_send(void *handle, void *msg,
     21                        unsigned int len, unsigned int bufsz);
     22 
     23 extern int
     24 bcm_knet_kcom_msg_recv(void *handle, void *msg,
     25                        unsigned int bufsz);
     26 
     27 #endif /* __BCM_KNET_KCOM_H__ */