Searched refs:dei (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.4.0/include/zephyr/net/ |
D | ethernet_vlan.h | 89 static inline uint16_t net_eth_vlan_set_dei(uint16_t tci, bool dei) in net_eth_vlan_set_dei() argument 91 return (tci & 0xefff) | ((!!dei) << 12); in net_eth_vlan_set_dei()
|
D | net_pkt.h | 891 static inline void net_pkt_set_vlan_dei(struct net_pkt *pkt, bool dei) in net_pkt_set_vlan_dei() argument 893 pkt->vlan_tci = net_eth_vlan_set_dei(pkt->vlan_tci, dei); in net_pkt_set_vlan_dei() 928 static inline void net_pkt_set_vlan_dei(struct net_pkt *pkt, bool dei) in net_pkt_set_vlan_dei() argument 931 ARG_UNUSED(dei); in net_pkt_set_vlan_dei()
|
/Zephyr-Core-3.4.0/tests/net/vlan/src/ |
D | main.c | 422 bool dei; in ZTEST() local 461 dei = true; in ZTEST() 462 net_pkt_set_vlan_dei(pkt, dei); in ZTEST() 464 zassert_equal(net_pkt_vlan_dei(pkt), dei, "invalid VLAN DEI"); in ZTEST() 471 zassert_equal(net_pkt_vlan_dei(pkt), dei, "invalid VLAN DEI"); in ZTEST() 475 dei = false; in ZTEST() 476 net_pkt_set_vlan_dei(pkt, dei); in ZTEST() 478 zassert_equal(net_pkt_vlan_dei(pkt), dei, "invalid VLAN DEI"); in ZTEST() 485 zassert_equal(net_pkt_vlan_dei(pkt), dei, "invalid VLAN DEI"); in ZTEST() 492 zassert_equal(net_pkt_vlan_dei(pkt), dei, "invalid VLAN DEI"); in ZTEST()
|