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

Function ff_mbuf_set_vlan_info

lib/ff_veth.c:1119–1125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1117}
1118
1119void
1120ff_mbuf_set_vlan_info(void *hdr, uint16_t vlan_tci) {
1121 struct mbuf *m = (struct mbuf *)hdr;
1122 m->m_pkthdr.ether_vtag = vlan_tci;
1123 m->m_flags |= M_VLANTAG;
1124 return;
1125}
1126

Callers 1

ff_veth_inputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected