/* initial settings for all BCM sockets to be set at socket creation time  */
static int bcm_init(struct sock *sk)
/* initial settings for all BCM sockets to be set at socket creation time  */
static int bcm_init(struct sock *sk)
{
	struct bcm_sock *bo = bcm_sk(sk);
	bo->bound            = 0;
	bo->ifindex          = 0;
	bo->dropped_usr_msgs = 0;
	bo->bcm_proc_read    = NULL;
	INIT_LIST_HEAD(&bo->tx_ops);
	INIT_LIST_HEAD(&bo->rx_ops);
	bo->notifier.notifier_call = bcm_notifier;
	register_netdevice_notifier(&bo->notifier);
	return 0;
}