Lines Matching defs:proto
506 struct ifnet_attach_proto_param_v2 proto;
520 bzero(&proto, sizeof(proto));
521 proto.demux_list = demux;
522 proto.demux_count = sizeof(demux) / sizeof(demux[0]);
523 proto.input = ether_inet_input;
524 proto.pre_output = ether_inet_pre_output;
525 proto.ioctl = ether_inet_prmod_ioctl;
526 proto.event = ether_inet_event;
527 proto.resolve = ether_inet_resolve_multi;
528 proto.send_arp = ether_inet_arp;
530 error = ifnet_attach_protocol_v2(ifp, proto_family, &proto);