MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ether_vlanencap

Function ether_vlanencap

freebsd/net/ethernet.h:452–456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

450void ether_gen_addr(struct ifnet *ifp, struct ether_addr *hwaddr);
451
452static __inline struct mbuf *ether_vlanencap(struct mbuf *m, uint16_t tag)
453{
454
455 return ether_vlanencap_proto(m, tag, ETHERTYPE_VLAN);
456}
457
458/* new ethernet interface attached event */
459typedef void (*ether_ifattach_event_handler_t)(void *, struct ifnet *);

Callers 1

bridge_enqueueFunction · 0.70

Calls 1

ether_vlanencap_protoFunction · 0.85

Tested by

no test coverage detected