1 /* 1 2 * net/tipc/netlink.h: Include file for TIPC n 3 * 4 * Copyright (c) 2014, Ericsson AB 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary 8 * modification, are permitted provided that t 9 * 10 * 1. Redistributions of source code must reta 11 * notice, this list of conditions and the 12 * 2. Redistributions in binary form must repr 13 * notice, this list of conditions and the 14 * documentation and/or other materials pro 15 * 3. Neither the names of the copyright holde 16 * contributors may be used to endorse or p 17 * this software without specific prior wri 18 * 19 * Alternatively, this software may be distrib 20 * GNU General Public License ("GPL") version 21 * Software Foundation. 22 * 23 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT 24 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCL 25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND F 26 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYR 27 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL 28 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT L 29 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 30 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THE 31 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUD 32 * ARISING IN ANY WAY OUT OF THE USE OF THIS S 33 * POSSIBILITY OF SUCH DAMAGE. 34 */ 35 36 #ifndef _TIPC_NETLINK_H 37 #define _TIPC_NETLINK_H 38 #include <net/netlink.h> 39 40 extern struct genl_family tipc_genl_family; 41 42 struct tipc_nl_msg { 43 struct sk_buff *skb; 44 u32 portid; 45 u32 seq; 46 }; 47 48 extern const struct nla_policy tipc_nl_name_ta 49 extern const struct nla_policy tipc_nl_sock_po 50 extern const struct nla_policy tipc_nl_net_pol 51 extern const struct nla_policy tipc_nl_link_po 52 extern const struct nla_policy tipc_nl_node_po 53 extern const struct nla_policy tipc_nl_prop_po 54 extern const struct nla_policy tipc_nl_bearer_ 55 extern const struct nla_policy tipc_nl_media_p 56 extern const struct nla_policy tipc_nl_udp_pol 57 extern const struct nla_policy tipc_nl_monitor 58 59 int tipc_netlink_start(void); 60 int tipc_netlink_compat_start(void); 61 void tipc_netlink_stop(void); 62 void tipc_netlink_compat_stop(void); 63 64 #endif 65
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.