Searched refs:vlan (Results 51 - 75 of 158) sorted by relevance

1234567

/freebsd-12-stable/sys/dev/ixl/
H A Dixl_pf.h368 void ixl_add_filter(struct ixl_vsi *, const u8 *, s16 vlan);
369 void ixl_del_filter(struct ixl_vsi *, const u8 *, s16 vlan);
H A Dixl_pf_main.c456 * Routines for multicast and vlan filter management.
1089 ixl_add_filter(struct ixl_vsi *vsi, const u8 *macaddr, s16 vlan) argument
1098 ixl_dbg_filter(pf, "ixl_add_filter: " MAC_FORMAT ", vlan %4d\n",
1099 MAC_FORMAT_ARGS(macaddr), vlan);
1102 f = ixl_find_filter(vsi, macaddr, vlan);
1106 ** Is this the first vlan being registered, if so we
1108 ** not in a vlan, and replace that with a 0 filter.
1110 if ((vlan != IXL_VLAN_ANY) && (vsi->num_vlans == 1)) {
1118 f = ixl_new_filter(vsi, macaddr, vlan);
1123 if (f->vlan !
1133 ixl_del_filter(struct ixl_vsi *vsi, const u8 *macaddr, s16 vlan) argument
1163 ixl_find_filter(struct ixl_vsi *vsi, const u8 *macaddr, s16 vlan) argument
[all...]
/freebsd-12-stable/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_snmp.h45 uint16_t vlan; member in struct:wlan_peer
269 int wlan_peer_set_vlan(struct wlan_iface *wif, struct wlan_peer *wip, int vlan);
/freebsd-12-stable/contrib/wpa/src/ap/
H A Dwpa_auth_ie.c907 struct vlan_description *vlan; local
909 vlan = sm->pmksa->vlan_desc;
911 "PMKID found from PMKSA cache eap_type=%d vlan=%d%s",
913 vlan ? vlan->untagged : 0,
914 (vlan && vlan->tagged[0]) ? "+" : "");
/freebsd-12-stable/sys/dev/ixgbe/
H A Dixgbe_82598.c998 * @vlan: VLAN id to write to VLAN filter
1005 s32 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, argument
1017 if (vlan > 4095)
1021 regindex = (vlan >> 5) & 0x7F; /* upper seven bits */
1024 vftabyte = ((vlan >> 3) & 0x03); /* bits (4:3) indicating byte array */
1025 bitindex = (vlan & 0x7) << 2; /* lower 3 bits indicate nibble */
1034 bitindex = vlan & 0x1F; /* lower five bits */
H A Dixgbe_api.h129 s32 ixgbe_set_vfta(struct ixgbe_hw *hw, u32 vlan,
131 s32 ixgbe_set_vlvf(struct ixgbe_hw *hw, u32 vlan, u32 vind,
H A Dixgbe_api.c1071 * @vlan: VLAN id to write to VLAN filter
1078 s32 ixgbe_set_vfta(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on, argument
1081 return ixgbe_call_func(hw, hw->mac.ops.set_vfta, (hw, vlan, vind,
1088 * @vlan: VLAN id to write to VLAN filter
1098 s32 ixgbe_set_vlvf(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on, argument
1101 return ixgbe_call_func(hw, hw->mac.ops.set_vlvf, (hw, vlan, vind,
/freebsd-12-stable/sys/net/
H A Dif_bridge.c251 uint16_t brt_vlan; /* vlan id */
396 /* The default bridge vlan is 1 (IEEE 802.1Q-2003 Table 9-2) */
2130 uint16_t vlan; local
2144 vlan = VLANTAGOF(m);
2163 dst_if = bridge_rtlookup(sc, eh->ether_dhost, vlan);
2281 uint16_t vlan; local
2292 vlan = VLANTAGOF(m);
2303 error = bridge_rtupdate(sc, eh->ether_shost, vlan,
2327 dst_if = bridge_rtlookup(sc, dst, vlan);
2429 uint16_t vlan; local
2758 bridge_rtupdate(struct bridge_softc *sc, const uint8_t *dst, uint16_t vlan, struct bridge_iflist *bif, int setflags, uint8_t flags) argument
2856 bridge_rtlookup(struct bridge_softc *sc, const uint8_t *addr, uint16_t vlan) argument
2967 bridge_rtdaddr(struct bridge_softc *sc, const uint8_t *addr, uint16_t vlan) argument
3096 bridge_rtnode_lookup(struct bridge_softc *sc, const uint8_t *addr, uint16_t vlan) argument
[all...]
/freebsd-12-stable/sys/arm/ti/cpsw/
H A Dif_cpsw.c742 int len, phy, vlan; local
749 vlan = -1;
779 vlan = vlan_id;
788 sc->port[port].vlan = vlan;
1014 sc->vlan = sc->swsc->port[sc->unit].vlan;
1015 if (sc->swsc->dualemac && sc->vlan == -1)
1016 sc->vlan = sc->unit + 1;
1183 sc->vlan
2336 cpsw_ale_mc_entry_set(struct cpsw_softc *sc, uint8_t portmap, int vlan, uint8_t *mac) argument
2488 cpsw_ale_update_vlan_table(struct cpsw_softc *sc, int vlan, int ports, int untag, int mcregflood, int mcunregflood) argument
2909 cpsw_remove_vlan(struct cpsw_softc *sc, int vlan) argument
[all...]
/freebsd-12-stable/sys/dev/ocs_fc/
H A Docs_domain.c521 int32_t vlan = 0; local
552 /* If domain is ethernet, then fetch the vlan id value */
554 vlan = ocs_bitmap_search((void *)drec->map.vlan, TRUE, 512 * 8);
555 if (vlan < 0) {
614 if (ocs_hw_domain_alloc(&ocs->hw, domain, drec->index, vlan)) {
H A Docs_common.h116 uint8_t vlan[512]; /**< bitmap of valid VLAN IDs */ member in union:ocs_domain_record_s::__anon14752
/freebsd-12-stable/sys/dev/qlnx/qlnxe/
H A Decore_roce_api.h747 u16 vlan; member in struct:ecore_iwarp_cm_info
805 u16 vlan; member in struct:ecore_iwarp_listen_in
H A Decore_iwarp.h206 u16 vlan; member in struct:ecore_iwarp_listener
H A Decore_l2_api.h162 u16 vlan; member in struct:ecore_filter_ucast
H A Deth_common.h146 #define ETH_TX_1ST_BD_FLAGS_VLAN_INSERTION_MASK 0x1 /* If set, insert VLAN tag from vlan field to the packet. For tunneled packet - relevant to outer header. */
161 __le16 vlan /* VLAN tag to insert to packet (if enabled by vlan_insertion flag). */; member in struct:eth_tx_data_1st_bd
H A Decore_sriov.c1706 "VF[%d] - Insufficient resources: rxq [%02x/%02x] txq [%02x/%02x] sbs [%02x/%02x] mac [%02x/%02x] vlan [%02x/%02x] mc [%02x/%02x] cids [%02x/%02x]\n",
1971 filter.vlan = p_vf->shadow_config.vlans[i].vid;
1974 filter.vlan, p_vf->relative_vf_id);
1979 filter.vlan,
2051 filter.vlan = p_vf->bulletin.p_virt->pvid;
2052 filter.opcode = filter.vlan ? ECORE_FILTER_REPLACE :
2065 /* Update the default-vlan & silent vlan stripping */
2070 vport_update.default_vlan_enable_flg = filter.vlan ? 1 : 0;
2072 vport_update.default_vlan = filter.vlan;
[all...]
/freebsd-12-stable/contrib/wpa/hostapd/
H A Dconfig_file.c34 struct hostapd_vlan *vlan; local
95 vlan = os_zalloc(sizeof(*vlan));
96 if (vlan == NULL) {
103 vlan->vlan_id = vlan_id;
104 vlan->vlan_desc.untagged = vlan_id;
105 vlan->vlan_desc.notempty = !!vlan_id;
106 os_strlcpy(vlan->ifname, pos, sizeof(vlan->ifname));
107 os_strlcpy(vlan
[all...]
/freebsd-12-stable/sys/dev/e1000/
H A De1000_vf.h112 u16 vlan; /* VLAN tag */ member in struct:e1000_adv_rx_desc::__anon13032::__anon13038
/freebsd-12-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_ah.c110 ah->av.eth.vlan = cpu_to_be16(vlan_tag);
/freebsd-12-stable/sys/dev/mlx5/
H A Dvport.h152 u16 vlan, u8 cfi, u8 pcp);
/freebsd-12-stable/sys/dev/vmware/vmxnet3/
H A Dif_vmxreg.h157 uint32_t vlan:1; /* 802.1Q VLAN frame */ member in struct:vmxnet3_rxcompdesc
/freebsd-12-stable/sys/net80211/
H A Dieee80211_ioctl.c730 struct ieee80211req_sta_vlan vlan; local
733 if (ireq->i_len != sizeof(vlan))
735 error = copyin(ireq->i_data, &vlan, sizeof(vlan));
738 if (!IEEE80211_ADDR_EQ(vlan.sv_macaddr, zerobssid)) {
740 vlan.sv_macaddr);
745 vlan.sv_vlan = ni->ni_vlan;
746 error = copyout(&vlan, ireq->i_data, sizeof(vlan));
2676 struct ieee80211req_sta_vlan vlan; local
[all...]
/freebsd-12-stable/sys/ofed/include/rdma/
H A Dib_pack.h268 struct ib_unpacked_vlan vlan; member in struct:ib_ud_header
/freebsd-12-stable/lib/libpcap/
H A DMakefile53 pcap/vlan.h
/freebsd-12-stable/usr.sbin/wpa/hostapd/
H A DMakefile70 vlan.c \

Completed in 383 milliseconds

1234567