Lines Matching refs:proto_param
660 struct ifnet_attach_proto_param proto_param;
715 bzero(&proto_param, sizeof(proto_param));
716 proto_param.demux_count = ndrvSpec.demux_count;
719 MALLOC(ndrvDemux, struct ndrv_demux_desc*, proto_param.demux_count *
725 MALLOC(proto_param.demux_array, struct ifnet_demux_desc*,
726 sizeof(*proto_param.demux_array) * ndrvSpec.demux_count,
728 if (proto_param.demux_array == NULL)
744 proto_param.demux_count = ndrvSpec.demux_count;
745 proto_param.input = ndrv_input;
746 proto_param.event = ndrv_event;
752 &proto_param.demux_array[demuxOn]);
763 &proto_param);
770 if (proto_param.demux_array)
771 FREE(proto_param.demux_array, M_TEMP);