/freebsd-11-stable/sys/dev/ral/ |
H A D | rt2661.c | 363 struct ieee80211vap *vap; local 374 device_printf(sc->sc_dev, "only 1 vap supported\n"); 389 * bssid; WDS vap's always share the local 399 vap = &rvp->ral_vap; 400 ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, bssid); 403 rvp->ral_newstate = vap->iv_newstate; 404 vap->iv_newstate = rt2661_newstate; 406 vap->iv_update_beacon = rt2661_beacon_update; 409 ieee80211_ratectl_init(vap); 411 ieee80211_vap_attach(vap, ieee80211_media_chang 419 rt2661_vap_delete(struct ieee80211vap *vap) argument 749 rt2661_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 856 struct ieee80211vap *vap; local 1276 struct ieee80211vap *vap = ni->ni_vap; local 1433 struct ieee80211vap *vap = ni->ni_vap; local 2245 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 2626 rt2661_prepare_beacon(struct rt2661_softc *sc, struct ieee80211vap *vap) argument 2664 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 2760 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local [all...] |
H A D | rt2560var.h | 104 #define RT2560_VAP(vap) ((struct rt2560_vap *)(vap))
|
H A D | rt2661var.h | 97 #define RT2661_VAP(vap) ((struct rt2661_vap *)(vap))
|
H A D | rt2860.c | 428 struct ieee80211vap *vap; local 439 device_printf(sc->sc_dev, "only 1 vap supported\n"); 454 * bssid; WDS vap's always share the local 464 vap = &rvp->ral_vap; 465 ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, bssid); 468 rvp->ral_newstate = vap->iv_newstate; 469 vap->iv_newstate = rt2860_newstate; 471 vap->iv_update_beacon = rt2860_beacon_update; 475 vap->iv_max_aid = min(IEEE80211_AID_MAX, RT2860_WCID_MAX); 477 ieee80211_ratectl_init(vap); 487 rt2860_vap_delete(struct ieee80211vap *vap) argument 902 rt2860_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 1382 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 1454 struct ieee80211vap *vap = ni->ni_vap; local 1731 struct ieee80211vap *vap = ni->ni_vap; local 2294 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 3800 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 4272 rt2860_setup_beacon(struct rt2860_softc *sc, struct ieee80211vap *vap) argument 4309 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local [all...] |
H A D | rt2860var.h | 115 #define RT2860_VAP(vap) ((struct rt2860_vap *)(vap))
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | zfs_vnops.c | 1752 * vap - attributes of new file. 1771 zfs_create(vnode_t *dvp, char *name, vattr_t *vap, int excl, int mode, argument 1801 (vsecp || (vap->va_mask & AT_XVATTR) || 1816 if (vap->va_mask & AT_XVATTR) { 1817 if ((error = secpolicy_xvattr(dvp, (xvattr_t *)vap, 1818 crgetuid(cr), cr, vap->va_type)) != 0) { 1826 if ((vap->va_mode & S_ISVTX) && secpolicy_vnode_stky_modify(cr)) 1827 vap->va_mode &= ~S_ISVTX; 1850 (vap->va_type != VREG)) { 1855 if ((error = zfs_acl_ids_create(dzp, 0, vap, 2066 zfs_mkdir(vnode_t *dvp, char *dirname, vattr_t *vap, vnode_t **vpp, cred_t *cr) argument 2658 zfs_getattr(vnode_t *vp, vattr_t *vap, int flags, cred_t *cr, caller_context_t *ct) argument 2872 zfs_setattr(vnode_t *vp, vattr_t *vap, int flags, cred_t *cr, caller_context_t *ct) argument 4006 zfs_symlink(vnode_t *dvp, vnode_t **vpp, char *name, vattr_t *vap, char *link, cred_t *cr, kthread_t *td) argument 4998 vattr_t *vap = ap->a_vap; local 5039 vattr_t *vap = ap->a_vap; local 5101 vattr_t *vap = ap->a_vap; local 5171 vattr_t *vap = ap->a_vap; local 5322 vattr_t *vap = ap->a_vap; local [all...] |
/freebsd-11-stable/sys/fs/procfs/ |
H A D | procfs.c | 110 vap->va_mode = 0200; 116 vap->va_mode = 0600; 122 vap->va_mode = 0;
|
/freebsd-11-stable/sys/dev/urtwn/ |
H A D | if_urtwnvar.h | 105 struct ieee80211vap vap; member in struct:urtwn_vap 120 #define URTWN_VAP(vap) ((struct urtwn_vap *)(vap))
|
/freebsd-11-stable/sys/dev/usb/wlan/ |
H A D | if_urtwvar.h | 89 struct ieee80211vap vap; member in struct:urtw_vap 93 #define URTW_VAP(vap) ((struct urtw_vap *)(vap))
|
H A D | if_run.c | 890 struct ieee80211vap *vap; local 912 TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next){ 913 if(vap->iv_opmode != IEEE80211_M_HOSTAP) 915 /* WDS vap's always share the local mac address. */ 919 if (vap == NULL) { 931 vap = &rvp->vap; 933 if (ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, 940 vap->iv_update_beacon = run_update_beacon; 941 vap 987 run_vap_delete(struct ieee80211vap *vap) argument 1984 run_node_alloc(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN]) argument 1993 struct ieee80211vap *vap = ifp->if_softc; local 2038 run_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 2224 struct ieee80211vap *vap = cmdq->arg1; local 2346 run_key_set(struct ieee80211vap *vap, struct ieee80211_key *k) argument 2414 run_key_delete(struct ieee80211vap *vap, struct ieee80211_key *k) argument 2458 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 2548 struct ieee80211vap *vap = ni->ni_vap; local 2625 struct ieee80211vap *vap = ni->ni_vap; local 2718 struct ieee80211vap *vap = ni->ni_vap; local 3033 struct ieee80211vap *vap = NULL; local 3196 struct ieee80211vap *vap = data->ni->ni_vap; local 3259 struct ieee80211vap *vap = ni->ni_vap; local 4854 run_update_beacon(struct ieee80211vap *vap, int item) argument 4898 struct ieee80211vap *vap = arg; local 4986 struct ieee80211vap *vap = arg; local 5059 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 5952 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local [all...] |
H A D | if_uath.c | 1030 struct ieee80211vap *vap; local 1035 vap = &uvp->vap; 1038 if (ieee80211_vap_setup(ic, vap, name, unit, opmode, 1046 uvp->newstate = vap->iv_newstate; 1047 vap->iv_newstate = uath_newstate; 1050 ieee80211_vap_attach(vap, ieee80211_media_change, 1053 return (vap); 1057 uath_vap_delete(struct ieee80211vap *vap) argument 1059 struct uath_vap *uvp = UATH_VAP(vap); 1069 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 1517 struct ieee80211vap *vap = ni->ni_vap; local 1884 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 1935 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 1982 uath_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 2114 uath_set_keys(struct uath_softc *sc, struct ieee80211vap *vap) argument [all...] |
/freebsd-11-stable/sys/net80211/ |
H A D | ieee80211_alq.c | 136 ieee80211_alq_log(struct ieee80211vap *vap, uint8_t op, u_char *p, int l) argument 151 r->r_wlan = htons(vap->iv_ifp->if_dunit);
|
H A D | ieee80211_node.h | 113 struct ieee80211vap *ni_vap; /* associated vap */ 114 struct ieee80211com *ni_ic; /* copy from vap to save deref*/ 232 struct ieee80211vap *ni_wdsvap; /* associated WDS vap */ 390 const struct ieee80211vap *vap, 395 const struct ieee80211vap *vap, 414 #define ieee80211_find_vap_node_locked(nt, vap, mac) \ 415 ieee80211_find_vap_node_locked_debug(nt, vap, mac, __func__, __LINE__) 416 #define ieee80211_find_vap_node(nt, vap, mac) \ 417 ieee80211_find_vap_node_debug(nt, vap, mac, __func__, __LINE__) 422 #define ieee80211_find_txnode(vap, ma [all...] |
H A D | ieee80211_action.c | 247 struct ieee80211vap *vap = ni->ni_vap; local 265 if (ni == vap->iv_bss || 267 IEEE80211_DISCARD_MAC(vap, IEEE80211_MSG_MESH, 271 vap->iv_stats.is_mesh_nolink++;
|
H A D | ieee80211_var.h | 123 ieee80211_tx_lock_t ic_txlock; /* ic/vap TX lock */ 126 TAILQ_HEAD(, ieee80211vap) ic_vaps; /* list of vap instances */ 154 uint8_t ic_promisc; /* vap's needing promisc mode */ 155 uint8_t ic_allmulti; /* vap's needing all multicast*/ 156 uint8_t ic_nrunning; /* vap's marked running */ 209 /* NB: this is the union of all vap stations/neighbors */ 215 /* XXX multi-bss: split out common/vap parts */ 218 /* XXX multi-bss: can per-vap be done/make sense? */ 365 TAILQ_ENTRY(ieee80211vap) iv_next; /* list of vap instances */ 582 #define IEEE80211_ATH_CAP(vap, n 786 ieee80211_radiotap_active_vap(const struct ieee80211vap *vap) argument 814 ieee80211_key_update_begin(struct ieee80211vap *vap) argument 819 ieee80211_key_update_end(struct ieee80211vap *vap) argument 858 ieee80211_beacon_notify(struct ieee80211vap *vap, int what) argument [all...] |
/freebsd-11-stable/sys/dev/wi/ |
H A D | if_wivar.h | 67 #define WI_VAP(vap) ((struct wi_vap *)(vap))
|
/freebsd-11-stable/sys/dev/wtap/ |
H A D | if_wtapvar.h | 125 #define WTAP_VAP(vap) ((struct wtap_vap *)(vap))
|
/freebsd-11-stable/sys/kern/ |
H A D | uipc_mqueue.c | 1194 struct vattr *vap = ap->a_vap; local 1197 vap->va_type = vp->v_type; 1198 vap->va_mode = pn->mn_mode; 1199 vap->va_nlink = 1; 1200 vap->va_uid = pn->mn_uid; 1201 vap->va_gid = pn->mn_gid; 1202 vap->va_fsid = vp->v_mount->mnt_stat.f_fsid.val[0]; 1203 vap->va_fileid = pn->mn_fileno; 1204 vap->va_size = 0; 1205 vap 1234 struct vattr *vap; local [all...] |
H A D | vfs_vnops.c | 199 struct vattr *vap = &vat; local 225 VATTR_NULL(vap); 226 vap->va_type = VREG; 227 vap->va_mode = cmode; 229 vap->va_vaflags |= VA_EXCLUSIVE; 242 &ndp->ni_cnd, vap); 246 &ndp->ni_cnd, vap); 1385 struct vattr *vap; local 1396 vap = &vattr; 1403 vap 2285 vn_utimes_perm(struct vnode *vp, struct vattr *vap, struct ucred *cred, struct thread *td) argument [all...] |
/freebsd-11-stable/sys/dev/ath/ |
H A D | if_ath.c | 137 * ATH_BCBUF determines the number of vap's that can transmit 138 * beacons and also (currently) the number of vap's that can 1381 * The first vap uses the MAC address from the EEPROM. For 1382 * subsequent vap's we set the U/L bit (bit 1) in the MAC 1453 struct ieee80211vap *vap; local 1463 ic_opmode = opmode; /* default to opmode of new vap */ 1467 device_printf(sc->sc_dev, "only 1 sta vap supported\n"); 1487 "only 1 ibss vap supported\n"); 1497 "only 1 tdma vap supported\n"); 1509 * vap t 1705 ath_vap_delete(struct ieee80211vap *vap) argument 2120 struct ieee80211vap *vap = local 2302 ath_bmiss_vap(struct ieee80211vap *vap) argument 2968 ath_reset_vap(struct ieee80211vap *vap, u_long cmd) argument 3446 ath_key_update_begin(struct ieee80211vap *vap) argument 3455 ath_key_update_end(struct ieee80211vap *vap) argument 3493 struct ieee80211vap *vap; local 3747 ath_node_alloc(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN]) argument 5463 struct ieee80211vap *vap; local 5475 ath_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 5813 struct ieee80211vap *vap = ni->ni_vap; local 5846 struct ieee80211vap *vap = ni->ni_vap; local [all...] |
/freebsd-11-stable/sys/dev/iwm/ |
H A D | if_iwm.c | 1265 * mark the first vap (if any) as having no mac context. 1274 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 1282 * FreeBSD-local: mark the first vap as not-uploaded, 1286 if (vap) { 1287 struct iwm_vap *iv = IWM_VAP(vap); 3188 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 3262 if (ieee80211_radiotap_active_vap(vap)) { 3317 struct ieee80211vap *vap = ni->ni_vap; local 3337 ieee80211_ratectl_tx_complete(vap, ni, 3341 ieee80211_ratectl_tx_complete(vap, n 3601 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 3958 iwm_auth(struct ieee80211vap *vap, struct iwm_softc *sc) argument 4094 iwm_assoc(struct ieee80211vap *vap, struct iwm_softc *sc) argument 4187 iwm_node_alloc(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN]) argument 4330 struct ieee80211vap *vap = ifp->if_softc; local 4350 iwm_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 4630 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 4897 iwm_allow_mcast(struct ieee80211vap *vap, struct iwm_softc *sc) argument 5399 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 5737 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 6194 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 6330 struct ieee80211vap *vap; local 6357 iwm_vap_delete(struct ieee80211vap *vap) argument 6382 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 6410 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local [all...] |
/freebsd-11-stable/tools/regression/net80211/ccmp/ |
H A D | test_ccmp.c | 595 runtest(struct ieee80211vap *vap, struct ciphertest *t) argument 597 struct ieee80211_key *key = &vap->iv_nw_keys[t->keyix]; 610 if (!ieee80211_crypto_newkey(vap, t->cipher, 620 if (!ieee80211_crypto_setkey(vap, key)) { 689 ieee80211_crypto_delkey(vap, key); 695 ieee80211_crypto_delkey(vap, key); 710 struct ieee80211vap vap; local 715 memset(&vap, 0, sizeof(vap)); 722 vap [all...] |
/freebsd-11-stable/sys/dev/malo/ |
H A D | if_malo.c | 331 struct ieee80211vap *vap; local 350 vap = &mvp->malo_vap; 351 ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, bssid); 354 mvp->malo_newstate = vap->iv_newstate; 355 vap->iv_newstate = malo_newstate; 358 ieee80211_vap_attach(vap, 361 return vap; 365 malo_vap_delete(struct ieee80211vap *vap) argument 367 struct malo_vap *mvp = MALO_VAP(vap); 369 ieee80211_vap_detach(vap); 1040 struct ieee80211vap *vap = ni->ni_vap; local 1518 struct ieee80211vap *vap; local 1727 malo_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument [all...] |
/freebsd-11-stable/sys/fs/nullfs/ |
H A D | null_vnops.c | 456 struct vattr *vap = ap->a_vap; local 458 if ((vap->va_flags != VNOVAL || vap->va_uid != (uid_t)VNOVAL || 459 vap->va_gid != (gid_t)VNOVAL || vap->va_atime.tv_sec != VNOVAL || 460 vap->va_mtime.tv_sec != VNOVAL || vap->va_mode != (mode_t)VNOVAL) && 463 if (vap->va_size != VNOVAL) { 471 if (vap->va_flags != VNOVAL)
|
/freebsd-11-stable/sys/security/mac_bsdextended/ |
H A D | ugidfw_internal.h | 38 int ugidfw_check(struct ucred *cred, struct vnode *vp, struct vattr *vap, 63 struct vattr *vap);
|