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

socintf.h (599B)


      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  * File:        socintf.h
      8  * Purpose:     
      9  */
     10 
     11 #ifndef   _PCID_SOCINTF_H_
     12 #define   _PCID_SOCINTF_H_
     13 
     14 #include "pcid.h"
     15 
     16 extern int pcid_setup_socket(int port);
     17 extern int pcid_wait_for_cnxn(int sockfd);
     18 extern void pcid_close_cnxn(int sockfd);
     19 extern int pcid_process_request(pcid_info_t *pcid_info, int sockfd,
     20                     struct timeval *tmout);
     21 
     22 
     23 
     24 
     25 #endif /* _PCID_SOCINTF_H_ */