Lines Matching refs:net

2  * net/tipc/bcast.h: Include file for TIPC broadcast code
81 int tipc_bcast_init(struct net *net);
82 void tipc_bcast_stop(struct net *net);
83 void tipc_bcast_add_peer(struct net *net, struct tipc_link *l,
85 void tipc_bcast_remove_peer(struct net *net, struct tipc_link *rcv_bcl);
86 void tipc_bcast_inc_bearer_dst_cnt(struct net *net, int bearer_id);
87 void tipc_bcast_dec_bearer_dst_cnt(struct net *net, int bearer_id);
88 int tipc_bcast_get_mtu(struct net *net);
89 void tipc_bcast_toggle_rcast(struct net *net, bool supp);
90 int tipc_mcast_xmit(struct net *net, struct sk_buff_head *pkts,
93 int tipc_bcast_xmit(struct net *net, struct sk_buff_head *pkts,
95 int tipc_bcast_rcv(struct net *net, struct tipc_link *l, struct sk_buff *skb);
96 void tipc_bcast_ack_rcv(struct net *net, struct tipc_link *l,
98 int tipc_bcast_sync_rcv(struct net *net, struct tipc_link *l,
101 int tipc_nl_add_bc_link(struct net *net, struct tipc_nl_msg *msg,
103 int tipc_nl_bc_link_set(struct net *net, struct nlattr *attrs[]);
104 int tipc_bclink_reset_stats(struct net *net, struct tipc_link *l);
106 u32 tipc_bcast_get_mode(struct net *net);
107 u32 tipc_bcast_get_broadcast_ratio(struct net *net);
109 void tipc_mcast_filter_msg(struct net *net, struct sk_buff_head *defq,
112 static inline void tipc_bcast_lock(struct net *net)
114 spin_lock_bh(&tipc_net(net)->bclock);
117 static inline void tipc_bcast_unlock(struct net *net)
119 spin_unlock_bh(&tipc_net(net)->bclock);
122 static inline struct tipc_link *tipc_bc_sndlink(struct net *net)
124 return tipc_net(net)->bcl;