bcast.c (728d90bdc9e480dc93913e59a0aa3c896c7aa697) | bcast.c (fc1b6d6de2208774efd2a20bf0daddb02d18b1e0) |
---|---|
1/* 2 * net/tipc/bcast.c: TIPC broadcast code 3 * 4 * Copyright (c) 2004-2006, 2014-2017, Ericsson AB 5 * Copyright (c) 2004, Intel Corporation. 6 * Copyright (c) 2005, 2010-2011, Wind River Systems 7 * All rights reserved. 8 * --- 70 unchanged lines hidden (view full) --- 79} 80 81/* tipc_bcast_get_mtu(): -get the MTU currently used by broadcast link 82 * Note: the MTU is decremented to give room for a tunnel header, in 83 * case the message needs to be sent as replicast 84 */ 85int tipc_bcast_get_mtu(struct net *net) 86{ | 1/* 2 * net/tipc/bcast.c: TIPC broadcast code 3 * 4 * Copyright (c) 2004-2006, 2014-2017, Ericsson AB 5 * Copyright (c) 2004, Intel Corporation. 6 * Copyright (c) 2005, 2010-2011, Wind River Systems 7 * All rights reserved. 8 * --- 70 unchanged lines hidden (view full) --- 79} 80 81/* tipc_bcast_get_mtu(): -get the MTU currently used by broadcast link 82 * Note: the MTU is decremented to give room for a tunnel header, in 83 * case the message needs to be sent as replicast 84 */ 85int tipc_bcast_get_mtu(struct net *net) 86{ |
87 return tipc_link_mtu(tipc_bc_sndlink(net)) - INT_H_SIZE; | 87 return tipc_link_mss(tipc_bc_sndlink(net)); |
88} 89 90void tipc_bcast_disable_rcast(struct net *net) 91{ 92 tipc_bc_base(net)->rcast_support = false; 93} 94 95static void tipc_bcbase_calc_bc_threshold(struct net *net) --- 750 unchanged lines hidden --- | 88} 89 90void tipc_bcast_disable_rcast(struct net *net) 91{ 92 tipc_bc_base(net)->rcast_support = false; 93} 94 95static void tipc_bcbase_calc_bc_threshold(struct net *net) --- 750 unchanged lines hidden --- |