Searched refs:demux (Results 1 - 15 of 15) sorted by relevance

/darwin-on-arm/xnu/bsd/net/
H A Dether_at_pr_module.c228 struct ifnet_demux_desc demux[2]; local
233 bzero(demux, sizeof(demux));
234 demux[0].type = DLIL_DESC_SNAP;
235 demux[0].data = atalk_snap;
236 demux[0].datalen = sizeof(atalk_snap);
237 demux[1].type = DLIL_DESC_SNAP;
238 demux[1].data = aarp_snap;
239 demux[1].datalen = sizeof(aarp_snap);
242 proto.demux_list = demux;
[all...]
H A Dether_if_module.c141 * Header for the demux list, hangs off of IFP at if_family_cookie
199 const struct ifnet_demux_desc *demux)
205 switch (demux->type) {
209 if (demux->datalen != 2) {
215 if (demux->datalen != 3) {
221 if (demux->datalen != 5) {
232 switch (demux->type) {
237 *(u_int16_t*)demux->data) {
245 if (desc_blk->block_ptr[i].type == demux->type &&
246 bcmp(desc_blk->block_ptr[i].data, demux
196 ether_add_proto_internal( struct ifnet *ifp, protocol_family_t protocol, const struct ifnet_demux_desc *demux) argument
[all...]
H A Dether_inet_pr_module.c536 struct ifnet_demux_desc demux[2]; local
541 bzero(&demux[0], sizeof (demux));
542 demux[0].type = DLIL_DESC_ETYPE2;
543 demux[0].data = &en_native;
544 demux[0].datalen = sizeof (en_native);
545 demux[1].type = DLIL_DESC_ETYPE2;
546 demux[1].data = &arp_native;
547 demux[1].datalen = sizeof (arp_native);
550 proto.demux_list = demux;
[all...]
H A Dether_inet6_pr_module.c245 struct ifnet_demux_desc demux[1]; local
250 demux[0].type = DLIL_DESC_ETYPE2;
251 demux[0].data = &en_6native;
252 demux[0].datalen = sizeof (en_6native);
253 proto.demux_list = demux;
H A Dkpi_interface.h359 for demuxing packets to this protocol (demux descriptors).
362 @param demux_array An array of demux descriptors that describe
365 @param demux_count The number of demux descriptors in the array.
607 @field demux The function used to determine the protocol family of an
637 ifnet_demux_func demux; /* required */ member in struct:ifnet_init_params
824 @field demux The function used to determine the protocol family of an
874 ifnet_demux_func demux; /* required */ member in struct:ifnet_init_eparams
945 well as information for how to demux packets for this protocol.
1854 @discussion Inputs packets from the interface. The interface's demux
1872 @discussion Inputs packets from the interface. The interface's demux
[all...]
H A Dif_pflog.c161 pf_init.demux = pflogdemux;
H A Dif_gif.c319 gif_init.demux = gif_demux;
H A Dif_loop.c653 lo_init.demux = lo_demux;
H A Dif_stf.c347 stf_init.demux = stf_demux;
H A Dif_utun.c214 utun_init.demux = utun_demux;
H A Dkpi_interface.c128 einit.demux = init->demux;
216 ifp->if_demux = einit.demux;
H A Dif_vlan.c975 vlan_init.demux = ether_demux;
2081 * demux ether type.
2083 * The ethernet demux actually special cases VLAN to support hardware.
2084 * The demux here isn't used. The demux will return PF_VLAN for the
H A Dif_bond.c1152 bond_init.demux = ether_demux;
3083 * The ethernet demux special cases to always return PF_BOND if the
H A Dif_bridge.c1096 init_params.demux = ether_demux;
/darwin-on-arm/xnu/libsyscall/mach/
H A Dmach_msg.c365 * (though errors from the demux routine or the routine it
370 boolean_t (*demux)(mach_msg_header_t *, mach_msg_header_t *),
435 (void) (*demux)(&bufRequest->Head, &bufReply->Head);
494 boolean_t (*demux)(mach_msg_header_t *, mach_msg_header_t *),
550 (void) (*demux)(&bufRequest->Head, &bufReply->Head);

Completed in 161 milliseconds