/freebsd-11-stable/contrib/wpa/src/ap/ |
H A D | vlan_init.h | 18 int vlan_id, 20 int vlan_remove_dynamic(struct hostapd_data *hapd, int vlan_id); 33 int vlan_id, struct vlan_description *vlan_desc) 38 static inline int vlan_remove_dynamic(struct hostapd_data *hapd, int vlan_id) argument 32 vlan_add_dynamic(struct hostapd_data *hapd, struct hostapd_vlan *vlan, int vlan_id, struct vlan_description *vlan_desc) argument
|
H A D | vlan_init.c | 49 ret = wpa_auth_ensure_group(hapd->wpa_auth, vlan->vlan_id); 55 vlan->vlan_id, ret); 56 if (wpa_auth_release_group(hapd->wpa_auth, vlan->vlan_id)) 71 ret = wpa_auth_release_group(hapd->wpa_auth, vlan->vlan_id); 75 vlan->vlan_id, ret); 85 if (vlan->vlan_id != VLAN_ID_WILDCARD) { 114 if (vlan->vlan_id != VLAN_ID_WILDCARD) 117 if (vlan->vlan_id != VLAN_ID_WILDCARD && 150 vlan->vlan_id = VLAN_ID_WILDCARD; 185 int vlan_id, 183 vlan_add_dynamic(struct hostapd_data *hapd, struct hostapd_vlan *vlan, int vlan_id, struct vlan_description *vlan_desc) argument 234 vlan_remove_dynamic(struct hostapd_data *hapd, int vlan_id) argument [all...] |
H A D | ieee802_11_auth.h | 20 struct vlan_description *vlan_id); 24 struct vlan_description *vlan_id,
|
H A D | ieee802_11_auth.c | 37 struct vlan_description vlan_id; member in struct:hostapd_cached_radius_acl 92 struct vlan_description *vlan_id, 114 if (vlan_id) 115 *vlan_id = entry->vlan_id; 212 * @vlan_id: Buffer for returning VLAN ID 216 struct vlan_description *vlan_id) 219 hapd->conf->num_accept_mac, addr, vlan_id)) 223 hapd->conf->num_deny_mac, addr, vlan_id)) 243 * @vlan_id 89 hostapd_acl_cache_get(struct hostapd_data *hapd, const u8 *addr, u32 *session_timeout, u32 *acct_interim_interval, struct vlan_description *vlan_id, struct hostapd_sta_wpa_psk_short **psk, char **identity, char **radius_cui) argument 215 hostapd_check_acl(struct hostapd_data *hapd, const u8 *addr, struct vlan_description *vlan_id) argument 253 hostapd_allowed_address(struct hostapd_data *hapd, const u8 *addr, const u8 *msg, size_t len, u32 *session_timeout, u32 *acct_interim_interval, struct vlan_description *vlan_id, struct hostapd_sta_wpa_psk_short **psk, char **identity, char **radius_cui, int is_probe_req) argument [all...] |
H A D | sta_info.c | 286 if (sta->vlan_id) 287 vlan_remove_dynamic(hapd, sta->vlan_id); 907 int vlan_id = MAX_VLAN_ID + 2; local 911 if (vlan->vlan_id == vlan_id) { 912 vlan_id++; 916 return vlan_id; 924 int old_vlan_id, vlan_id = 0, ret = 0; local 927 if (hapd->conf->ssid.per_sta_vif && !sta->vlan_id) { 930 !hapd->conf->ssid.per_sta_vif && sta->vlan_id) { [all...] |
H A D | ap_config.c | 301 int vlan_id = 0; local 333 vlan_id = atoi(value); 361 psk->vlan_id = vlan_id; 904 * @vlan_id: Buffer for returning VLAN ID or %NULL if not needed 910 const u8 *addr, struct vlan_description *vlan_id) 921 if (vlan_id) 922 *vlan_id = list[middle].vlan_id; 969 v->vlan_id 909 hostapd_maclist_found(struct mac_acl_entry *list, int num_entries, const u8 *addr, struct vlan_description *vlan_id) argument 977 hostapd_get_vlan_id_ifname(struct hostapd_vlan *vlan, int vlan_id) argument 989 hostapd_get_psk(const struct hostapd_bss_config *conf, const u8 *addr, const u8 *p2p_dev_addr, const u8 *prev_psk, int *vlan_id) argument [all...] |
H A D | wpa_auth_glue.c | 254 int *vlan_id) 260 if (vlan_id) 261 *vlan_id = 0; 298 vlan_id); 307 if (vlan_id) 308 *vlan_id = 0; 358 static int hostapd_wpa_auth_set_key(void *ctx, int vlan_id, enum wpa_alg alg, argument 365 if (vlan_id > 0) { 366 ifname = hostapd_get_vlan_id_ifname(hapd->conf->vlan, vlan_id); 802 static int hostapd_wpa_auth_update_vlan(void *ctx, const u8 *addr, int vlan_id) argument 251 hostapd_wpa_auth_get_psk(void *ctx, const u8 *addr, const u8 *p2p_dev_addr, const u8 *prev_psk, size_t *psk_len, int *vlan_id) argument [all...] |
H A D | ap_config.h | 63 struct vlan_description vlan_id; member in struct:mac_acl_entry 124 int vlan_id; /* VLAN ID or -1 (VLAN_ID_WILDCARD) for wildcard entry */ member in struct:hostapd_vlan 156 int vlan_id; member in struct:hostapd_wpa_psk 253 int vlan_id; member in struct:sae_password_entry 1086 const u8 *addr, struct vlan_description *vlan_id); 1090 const u8 *prev_psk, int *vlan_id); 1095 int vlan_id);
|
H A D | wpa_auth.h | 258 int *vlan_id); 260 int (*set_key)(void *ctx, int vlan_id, enum wpa_alg alg, 274 int (*update_vlan)(void *ctx, const u8 *addr, int vlan_id); 401 int wpa_auth_sta_set_vlan(struct wpa_state_machine *sm, int vlan_id); 443 int wpa_auth_ensure_group(struct wpa_authenticator *wpa_auth, int vlan_id); 444 int wpa_auth_release_group(struct wpa_authenticator *wpa_auth, int vlan_id);
|
H A D | wpa_auth.c | 118 int *vlan_id) 123 prev_psk, psk_len, vlan_id); 137 int vlan_id, 143 return wpa_auth->cb->set_key(wpa_auth->cb_ctx, vlan_id, alg, addr, idx, 256 const u8 *addr, int vlan_id) 260 return wpa_auth->cb->update_vlan(wpa_auth->cb_ctx, addr, vlan_id); 389 int vlan_id, int delay_init) 398 group->vlan_id = vlan_id; 881 int vlan_id local 114 wpa_auth_get_psk(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *p2p_dev_addr, const u8 *prev_psk, size_t *psk_len, int *vlan_id) argument 136 wpa_auth_set_key(struct wpa_authenticator *wpa_auth, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len) argument 255 wpa_auth_update_vlan(struct wpa_authenticator *wpa_auth, const u8 *addr, int vlan_id) argument 388 wpa_group_init(struct wpa_authenticator *wpa_auth, int vlan_id, int delay_init) argument 2821 int vlan_id = 0; local 4625 wpa_auth_add_group(struct wpa_authenticator *wpa_auth, int vlan_id) argument 4651 wpa_auth_ensure_group(struct wpa_authenticator *wpa_auth, int vlan_id) argument 4691 wpa_auth_release_group(struct wpa_authenticator *wpa_auth, int vlan_id) argument 4737 wpa_auth_sta_set_vlan(struct wpa_state_machine *sm, int vlan_id) argument [all...] |
H A D | ieee802_11.c | 428 if (pw && pw->vlan_id) { 434 sta->sae->tmp->vlan_id = pw->vlan_id; 726 if (sta->sae->tmp && sta->sae->tmp->vlan_id > 0) { 729 MAC2STR(sta->addr), sta->sae->tmp->vlan_id); 733 vlan_desc.untagged = sta->sae->tmp->vlan_id; 737 sta->sae->tmp->vlan_id); 745 MACSTR, sta->sae->tmp->vlan_id, 1938 struct vlan_description *vlan_id, 1944 os_memset(vlan_id, 1935 ieee802_11_allowed_address(struct hostapd_data *hapd, const u8 *addr, const u8 *msg, size_t len, u32 *session_timeout, u32 *acct_interim_interval, struct vlan_description *vlan_id, struct hostapd_sta_wpa_psk_short **psk, char **identity, char **radius_cui, int is_probe_req) argument 1974 ieee802_11_set_radius_info(struct hostapd_data *hapd, struct sta_info *sta, int res, u32 session_timeout, u32 acct_interim_interval, struct vlan_description *vlan_id, struct hostapd_sta_wpa_psk_short **psk, char **identity, char **radius_cui) argument 2039 struct vlan_description vlan_id; local 3951 struct vlan_description vlan_id; local [all...] |
/freebsd-11-stable/contrib/wpa/hostapd/ |
H A D | config_file.h | 18 int vlan_id, const u8 *addr);
|
H A D | config_file.c | 33 int line = 0, vlan_id; local 59 vlan_id = VLAN_ID_WILDCARD; 62 vlan_id = strtol(buf, &pos, 10); 63 if (buf == pos || vlan_id < 1 || 64 vlan_id > MAX_VLAN_ID) { 103 vlan->vlan_id = vlan_id; 104 vlan->vlan_desc.untagged = vlan_id; 105 vlan->vlan_desc.notempty = !!vlan_id; 128 int vlan_id, cons 127 hostapd_add_acl_maclist(struct mac_acl_entry **acl, int *num, int vlan_id, const u8 *addr) argument 172 int vlan_id; local [all...] |
/freebsd-11-stable/sys/dev/mlx5/mlx5_lib/ |
H A D | mlx5_gid.c | 125 const u8 *mac, bool vlan, u16 vlan_id) 143 MLX5_SET_RA(in_addr, vlan_id, vlan_id); 123 mlx5_core_roce_gid_set(struct mlx5_core_dev *dev, unsigned int index, u8 roce_version, u8 roce_l3_type, const u8 *gid, const u8 *mac, bool vlan, u16 vlan_id) argument
|
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-wqe.h | 89 uint64_t vlan_id :12; /**< HW sets to the DSA/VLAN_ID field (valid when vlan_valid) */ member in struct:__anon8812::__anon8813 145 uint64_t vlan_id :12; /**< HW sets to the DSA/VLAN_ID field (valid when vlan_valid) */ member in struct:__anon8812::__anon8814 203 uint64_t vlan_id :12; /**< HW sets to the DSA/VLAN_ID field (valid when vlan_valid) */ member in struct:__anon8812::__anon8815 272 uint64_t vlan_id :12; /**< HW sets to the DSA/VLAN_ID field (valid when vlan_valid) */ member in struct:__anon8812::__anon8817 327 uint64_t vlan_id :12; /**< HW sets to the DSA/VLAN_ID field (valid when vlan_valid) */ member in struct:__anon8812::__anon8818 382 uint64_t vlan_id :12; /**< HW sets to the DSA/VLAN_ID field (valid when vlan_valid) */ member in struct:__anon8812::__anon8819
|
/freebsd-11-stable/contrib/wpa/src/common/ |
H A D | sae.h | 44 int vlan_id; member in struct:sae_temporary_data
|
/freebsd-11-stable/sys/dev/ixgbe/ |
H A D | if_fdir.c | 129 input.formatted.vlan_id = htobe16(mp->m_pkthdr.ether_vtag);
|
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | tcp_common.h | 99 __le16 vlan_id; member in struct:tcp_offload_params 179 __le16 vlan_id; member in struct:tcp_offload_params_opt2
|
H A D | ecore_rdma.h | 178 u16 vlan_id; member in struct:ecore_rdma_qp
|
H A D | ecore_iscsi_api.h | 118 u16 vlan_id; member in struct:ecore_iscsi_conn
|
/freebsd-11-stable/contrib/wpa/src/radius/ |
H A D | radius.c | 1442 * The k tagged vlans found are sorted by vlan_id and stored in the first k 1461 int j, taggedidx = 0, vlan_id; local 1503 vlan_id = atoi(buf); 1504 if (vlan_id <= 0) 1507 tun->vlanid = vlan_id; 1512 vlan_id = WPA_GET_BE24(data + 1); 1513 if (vlan_id <= 0) 1516 *untagged = vlan_id; 1519 tagged[taggedidx++] = vlan_id;
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_verbs.c | 413 u16 vlan_id; member in struct:find_gid_index_context 438 * This XOR is valid, since 0x0 < vlan_id < 0x0FFF. 440 vlan_diff = rdma_vlan_dev_vlan_id(gid_attr->ndev) ^ ctx->vlan_id; 446 u16 vlan_id, const union ib_gid *sgid, 450 struct find_gid_index_context context = {.vlan_id = vlan_id, 518 const u16 vlan_id = (wc->wc_flags & IB_WC_WITH_VLAN) ? local 519 wc->vlan_id : 0xffff; 524 ret = get_sgid_index_from_eth(device, port_num, vlan_id, 445 get_sgid_index_from_eth(struct ib_device *device, u8 port_num, u16 vlan_id, const union ib_gid *sgid, enum ib_gid_type gid_type, u16 *gid_index) argument
|
/freebsd-11-stable/sys/dev/ixl/ |
H A D | virtchnl.h | 481 u16 vlan_id[1]; member in struct:virtchnl_vlan_filter_list 597 __be16 vlan_id; member in struct:virtchnl_l4_spec
|
/freebsd-11-stable/sys/dev/ocs_fc/ |
H A D | ocs_common.h | 232 uint32_t vlan_id; /**< VLAN tag for this domain */ member in struct:ocs_domain_s
|
/freebsd-11-stable/contrib/wpa/wpa_supplicant/ |
H A D | mesh_rsn.c | 79 size_t *psk_len, int *vlan_id) 87 if (vlan_id) 88 *vlan_id = 0; 102 static int auth_set_key(void *ctx, int vlan_id, enum wpa_alg alg, argument 77 auth_get_psk(void *ctx, const u8 *addr, const u8 *p2p_dev_addr, const u8 *prev_psk, size_t *psk_len, int *vlan_id) argument
|