Searched refs:ifproto (Results 1 – 3 of 3) sorted by relevance
| /xnu-12377.61.12/bsd/net/ |
| H A D | dlil_input.c | 318 dlil_ifproto_input(struct if_proto * ifproto, mbuf_ref_t m) in dlil_ifproto_input() argument 322 if (ifproto->proto_kpi == kProtoKPI_v1) { in dlil_ifproto_input() 338 error = (*ifproto->kpi.v1.input)(ifproto->ifp, in dlil_ifproto_input() 339 ifproto->protocol_family, m, frame_header_ptr); in dlil_ifproto_input() 341 m_drop_if(m, ifproto->ifp, DROPTAP_FLAG_DIR_IN, DROP_REASON_DLIL_IF_FILTER, NULL, 0); in dlil_ifproto_input() 345 } else if (ifproto->proto_kpi == kProtoKPI_v2) { in dlil_ifproto_input() 347 error = (*ifproto->kpi.v2.input)(ifproto->ifp, in dlil_ifproto_input() 348 ifproto->protocol_family, m); in dlil_ifproto_input() 350 m_drop_list(m, ifproto->ifp, DROPTAP_FLAG_DIR_IN, DROP_REASON_DLIL_IF_FILTER, NULL, 0); in dlil_ifproto_input() 793 if_proto_ref_t ifproto = NULL; in dlil_input_packet_list_common() local [all …]
|
| H A D | dlil.c | 4538 struct if_proto *ifproto = NULL; in ifnet_attach_protocol() local 4552 ifproto = dlif_proto_alloc(); in ifnet_attach_protocol() 4555 ifproto->ifp = ifp; in ifnet_attach_protocol() 4556 ifproto->protocol_family = protocol; in ifnet_attach_protocol() 4557 ifproto->proto_kpi = kProtoKPI_v1; in ifnet_attach_protocol() 4558 ifproto->kpi.v1.input = proto_details->input; in ifnet_attach_protocol() 4559 ifproto->kpi.v1.pre_output = proto_details->pre_output; in ifnet_attach_protocol() 4560 ifproto->kpi.v1.event = proto_details->event; in ifnet_attach_protocol() 4561 ifproto->kpi.v1.ioctl = proto_details->ioctl; in ifnet_attach_protocol() 4562 ifproto->kpi.v1.detached = proto_details->detached; in ifnet_attach_protocol() [all …]
|
| H A D | dlil_subr.c | 192 dlif_proto_free(struct if_proto *ifproto) in dlif_proto_free() argument 194 if (ifproto != NULL) { in dlif_proto_free() 195 kfree_type(struct if_proto, ifproto); in dlif_proto_free()
|