1 /* 1 2 * net/tipc/server.h: Include file for TIPC se 3 * 4 * Copyright (c) 2012-2013, Wind River Systems 5 * Copyright (c) 2017, Ericsson AB 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary 9 * modification, are permitted provided that t 10 * 11 * 1. Redistributions of source code must reta 12 * notice, this list of conditions and the 13 * 2. Redistributions in binary form must repr 14 * notice, this list of conditions and the 15 * documentation and/or other materials pro 16 * 3. Neither the names of the copyright holde 17 * contributors may be used to endorse or p 18 * this software without specific prior wri 19 * 20 * Alternatively, this software may be distrib 21 * GNU General Public License ("GPL") version 22 * Software Foundation. 23 * 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT 25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCL 26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND F 27 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYR 28 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL 29 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT L 30 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 31 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THE 32 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUD 33 * ARISING IN ANY WAY OUT OF THE USE OF THIS S 34 * POSSIBILITY OF SUCH DAMAGE. 35 */ 36 37 #ifndef _TIPC_SERVER_H 38 #define _TIPC_SERVER_H 39 40 #include "core.h" 41 42 #define TIPC_SERVER_NAME_LEN 32 43 #define TIPC_SUB_CLUSTER_SCOPE 0x20 44 #define TIPC_SUB_NODE_SCOPE 0x40 45 #define TIPC_SUB_NO_STATUS 0x80 46 47 void tipc_topsrv_queue_evt(struct net *net, in 48 u32 event, struct t 49 50 bool tipc_topsrv_kern_subscr(struct net *net, 51 u32 upper, u32 fi 52 void tipc_topsrv_kern_unsubscr(struct net *net 53 54 #endif 55
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.