Lines Matching refs:proto
535 struct ifnet_attach_proto_param_v2 proto;
549 bzero(&proto, sizeof (proto));
550 proto.demux_list = demux;
551 proto.demux_count = sizeof (demux) / sizeof (demux[0]);
552 proto.input = ether_inet_input;
553 proto.pre_output = ether_inet_pre_output;
554 proto.ioctl = ether_inet_prmod_ioctl;
555 proto.event = ether_inet_event;
556 proto.resolve = ether_inet_resolve_multi;
557 proto.send_arp = ether_inet_arp;
559 error = ifnet_attach_protocol_v2(ifp, proto_family, &proto);