Home
last modified time | relevance | path

Searched refs:vctx (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/net/l2/ethernet/
Dbridge.c242 struct virtual_interface_context *vctx = net_if_l2_data(iface); in bridge_iface_init() local
269 random_linkaddr(vctx->lladdr.addr, sizeof(vctx->lladdr.addr)); in bridge_iface_init()
271 vctx->lladdr.len = sizeof(vctx->lladdr.addr); in bridge_iface_init()
272 vctx->lladdr.type = NET_LINK_UNKNOWN; in bridge_iface_init()
274 net_if_set_link_addr(iface, vctx->lladdr.addr, in bridge_iface_init()
275 vctx->lladdr.len, vctx->lladdr.type); in bridge_iface_init()
Dvlan.c120 struct virtual_interface_context *vctx, *tmp; in get_vlan_ctx() local
126 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(interfaces, vctx, tmp, node) { in get_vlan_ctx()
129 if (vctx->virtual_iface == NULL) { in get_vlan_ctx()
133 caps = net_virtual_get_iface_capabilities(vctx->virtual_iface); in get_vlan_ctx()
138 ctx = net_if_get_device(vctx->virtual_iface)->data; in get_vlan_ctx()