ifnet_demux_desc
Declaration
struct ifnet_demux_desc {
...
};Discussion
This structure is to identify packets that belong to a specific protocol. The types supported are interface specific. Ethernet supports ETHER_DESC_ETYPE2, ETHER_DESC_SAP, and ETHER_DESC_SNAP. The type defines the offset in the packet where the data will be matched as well as context. For example, if ETHER_DESC_SNAP is specified, the only valid datalen is 5 and only in the 5 bytes will only be matched when the packet header indicates that the packet is a SNAP packet.
Topics
Fields
See Also
ifnet
ifnet_add_proto_funcifnet_attach_proto_paramifnet_attach_proto_param_v2ifnet_check_multiifnet_del_proto_funcifnet_demux_funcifnet_detached_funcifnet_event_funcifnet_family_tifnet_framer_funcifnet_init_paramsifnet_ioctl_funcifnet_offload_tifnet_output_funcifnet_set_bpf_tapifnet_stat_increment_paramifnet_stats_paramifnet_t