Lines Matching +full:non +full:- +full:vlan

10  * SPDX-License-Identifier: Apache-2.0
151 /** VLAN supported */
172 /** IEEE 802.1Qav (credit-based shaping) supported */
187 /** VLAN Tag stripping */
205 /** TX-Injection supported */
258 * 10Base-T1S standard.
271 * compliant vendor (like for e.g. LAN865x - e.g. [2]).
274 * [1] - "OPEN Alliance 10BASE-T1x MAC-PHY Serial
276 * [2] - "DS60001734C" - LAN865x data sheet
428 * Additional fragment size (from Qbr). The minimum non-final
449 /** IEEE 802.11 Wi-Fi*/
568 /** The IP stack will call this function when a VLAN tag is enabled
569 * or disabled. If enable is set to true, then the VLAN tag was added,
604 /** Network interface that has VLAN enabled */
607 /** VLAN tag */
614 /* Even thou there are no VLAN support, the minimum count must be set to 1.
654 /** Ethernet L2 context that is needed for VLAN */
694 /** DSA RX callback function - for custom processing - like e.g.
728 /* Separate header for VLAN as some of device interfaces might not
729 * support VLAN.
737 } vlan; member
752 if (addr->addr[0] == 0xff && in net_eth_is_addr_broadcast()
753 addr->addr[1] == 0xff && in net_eth_is_addr_broadcast()
754 addr->addr[2] == 0xff && in net_eth_is_addr_broadcast()
755 addr->addr[3] == 0xff && in net_eth_is_addr_broadcast()
756 addr->addr[4] == 0xff && in net_eth_is_addr_broadcast()
757 addr->addr[5] == 0xff) { in net_eth_is_addr_broadcast()
773 if (addr->addr[0] == 0x00 && in net_eth_is_addr_all_zeroes()
774 addr->addr[1] == 0x00 && in net_eth_is_addr_all_zeroes()
775 addr->addr[2] == 0x00 && in net_eth_is_addr_all_zeroes()
776 addr->addr[3] == 0x00 && in net_eth_is_addr_all_zeroes()
777 addr->addr[4] == 0x00 && in net_eth_is_addr_all_zeroes()
778 addr->addr[5] == 0x00) { in net_eth_is_addr_all_zeroes()
794 if (addr->addr[0] == 0x00 && in net_eth_is_addr_unspecified()
795 addr->addr[1] == 0x00 && in net_eth_is_addr_unspecified()
796 addr->addr[2] == 0x00 && in net_eth_is_addr_unspecified()
797 addr->addr[3] == 0x00 && in net_eth_is_addr_unspecified()
798 addr->addr[4] == 0x00 && in net_eth_is_addr_unspecified()
799 addr->addr[5] == 0x00) { in net_eth_is_addr_unspecified()
816 if (addr->addr[0] == 0x33 && in net_eth_is_addr_multicast()
817 addr->addr[1] == 0x33) { in net_eth_is_addr_multicast()
823 if (addr->addr[0] == 0x01 && in net_eth_is_addr_multicast()
824 addr->addr[1] == 0x00 && in net_eth_is_addr_multicast()
825 addr->addr[2] == 0x5e) { in net_eth_is_addr_multicast()
842 return addr->addr[0] & 0x01; in net_eth_is_addr_group()
867 if (addr->addr[0] == 0x01 && in net_eth_is_addr_lldp_multicast()
868 addr->addr[1] == 0x80 && in net_eth_is_addr_lldp_multicast()
869 addr->addr[2] == 0xc2 && in net_eth_is_addr_lldp_multicast()
870 addr->addr[3] == 0x00 && in net_eth_is_addr_lldp_multicast()
871 addr->addr[4] == 0x00 && in net_eth_is_addr_lldp_multicast()
872 addr->addr[5] == 0x0e) { in net_eth_is_addr_lldp_multicast()
892 if (addr->addr[0] == 0x01 && in net_eth_is_addr_ptp_multicast()
893 addr->addr[1] == 0x1b && in net_eth_is_addr_ptp_multicast()
894 addr->addr[2] == 0x19 && in net_eth_is_addr_ptp_multicast()
895 addr->addr[3] == 0x00 && in net_eth_is_addr_ptp_multicast()
896 addr->addr[4] == 0x00 && in net_eth_is_addr_ptp_multicast()
897 addr->addr[5] == 0x00) { in net_eth_is_addr_ptp_multicast()
943 const struct ethernet_api *api = (struct ethernet_api *)dev->api; in net_eth_get_hw_capabilities()
945 if (!api || !api->get_capabilities) { in net_eth_get_hw_capabilities()
949 return api->get_capabilities(dev); in net_eth_get_hw_capabilities()
966 (struct ethernet_api *)net_if_get_device(iface)->api; in net_eth_get_hw_config()
968 if (!eth->get_config) { in net_eth_get_hw_config()
969 return -ENOTSUP; in net_eth_get_hw_config()
972 return eth->get_config(net_if_get_device(iface), type, config); in net_eth_get_hw_config()
977 * @brief Add VLAN tag to the interface.
980 * @param tag VLAN tag to add
992 return -EINVAL; in net_eth_vlan_enable()
997 * @brief Remove VLAN tag from the interface.
1000 * @param tag VLAN tag to remove
1012 return -EINVAL; in net_eth_vlan_disable()
1017 * @brief Return VLAN tag specified to network interface.
1019 * Note that the interface parameter must be the VLAN interface,
1022 * @param iface VLAN network interface.
1024 * @return VLAN tag for this interface or NET_VLAN_TAG_UNSPEC if VLAN
1039 * @brief Return network interface related to this VLAN tag
1041 * @param iface Main network interface (not the VLAN one).
1042 * @param tag VLAN tag
1061 * @brief Return main network interface that is attached to this VLAN tag.
1063 * @param iface VLAN network interface. This is used to get the
1082 * @brief Check if there are any VLAN interfaces enabled to this specific
1086 * virtual VLAN interface.
1109 * @brief Get VLAN status for a given network interface (enabled or not).
1113 * @return True if VLAN is enabled for this network interface, false if not.
1127 * @brief Check if the given interface is a VLAN interface.
1131 * @return True if this network interface is VLAN one, false if not.
1288 * @brief Set TX-Injection mode either ON or OFF.
1364 return -ENODEV; in net_eth_get_ptp_port()
1385 * @brief Check if the Ethernet L2 network interface can perform Wi-Fi.
1389 * @return True if interface supports Wi-Fi, False otherwise.
1396 return ctx->eth_if_type == L2_ETH_IF_TYPE_WIFI; in net_eth_type_is_wifi()