/freebsd/sys/dev/wtap/ |
H A D | if_wtap.c | 136 wtap_medium_enqueue(struct wtap_vap *avp, struct mbuf *m) in wtap_medium_enqueue() argument 139 return medium_transmit(avp->av_md, avp->id, m); in wtap_medium_enqueue() 210 struct wtap_vap *avp = WTAP_VAP(vap); in wtap_beacon_alloc() local 219 avp->beacon = ieee80211_beacon_alloc(ni); in wtap_beacon_alloc() 220 if (avp->beacon == NULL) { in wtap_beacon_alloc() 224 avp->bf_node = ieee80211_ref_node(ni); in wtap_beacon_alloc() 238 struct wtap_vap *avp = arg; in wtap_beacon_intrp() local 249 DWTAP_PRINTF("[%d] beacon intrp\n", avp->id); //burst mode in wtap_beacon_intrp() 256 m = m_dup(avp->beacon, M_NOWAIT); in wtap_beacon_intrp() 257 if (ieee80211_beacon_update(avp->bf_node, m, 0)) { in wtap_beacon_intrp() [all …]
|
/freebsd/contrib/sendmail/src/ |
H A D | parseaddr.c | 707 char **avp; local 757 avp = av; 974 if (avp >= &av[MAXATOM]) 984 *avp++ = tok; 987 *avp = NULL; 1064 register char **avp; /* address vector pointer */ local 1146 avp = pvp; 1159 while ((ap = *avp) != NULL || *rvp != NULL) 1188 mlp->match_first = avp; 1190 ap = *avp; [all …]
|
H A D | map.c | 513 char **avp; local 527 for (avp = av; *avp != NULL; avp++) 528 sm_dprintf("\n\t%s", *avp); 548 for (avp = av; --c >= '0' && *avp != NULL; avp++) 550 if (*avp == NULL) 552 len += strlen(*avp); 597 for (avp = av; --c >= '0' && *avp != NULL; avp++) 599 if (*avp == NULL) 603 for (ap = *avp; (c = *ap++) != '\0' && len > 0; --len)
|
H A D | readcf.c | 2138 char **avp; local 2155 avp = (char **) sm_malloc_tagged_x(sizeof(*avp) * i, "makeargv", 0, 0); 2156 memmove((char *) avp, (char *) argv, sizeof(*avp) * i); 2158 return avp;
|
/freebsd/sbin/devfs/ |
H A D | devfs.c | 183 tokenize(const char *line, int *acp, char ***avp) in tokenize() argument 209 *avp = malloc(sizeof(**avp) * (*acp + 1)); in tokenize() 210 if (*avp == NULL) in tokenize() 212 for (ap = *avp; !STAILQ_EMPTY(&plist);) { in tokenize() 216 assert(ap <= *avp + (*acp)); in tokenize()
|
/freebsd/sys/dev/ath/ |
H A D | if_ath_beacon.c | 183 struct ath_vap *avp = ATH_VAP(vap); in ath_beacon_alloc() local 188 bf = avp->av_bcbuf; in ath_beacon_alloc() 229 if (sc->sc_stagbeacons && avp->av_bslot > 0) { in ath_beacon_alloc() 244 (ATH_BCBUF - avp->av_bslot) / ATH_BCBUF; in ath_beacon_alloc() 250 avp->av_bslot, ni->ni_intval, in ath_beacon_alloc() 701 struct ath_vap *avp = ATH_VAP(vap); in ath_beacon_generate() local 709 KASSERT(avp->av_bcbuf != NULL, ("no beacon buffer")); in ath_beacon_generate() 717 bf = avp->av_bcbuf; in ath_beacon_generate() 720 nmcastq = avp->av_mcastq.axq_depth; in ath_beacon_generate() 781 ATH_TXQ_LOCK(&avp->av_mcastq); in ath_beacon_generate() [all …]
|
H A D | if_ath.c | 1534 struct ath_vap *avp; in ath_vap_create() local 1540 avp = malloc(sizeof(struct ath_vap), M_80211_VAP, M_WAITOK | M_ZERO); in ath_vap_create() 1637 vap = &avp->av_vap; in ath_vap_create() 1656 avp->av_recv_mgmt = vap->iv_recv_mgmt; in ath_vap_create() 1660 avp->av_newstate = vap->iv_newstate; in ath_vap_create() 1662 avp->av_bmiss = vap->iv_bmiss; in ath_vap_create() 1665 avp->av_node_ps = vap->iv_node_ps; in ath_vap_create() 1668 avp->av_set_tim = vap->iv_set_tim; in ath_vap_create() 1671 avp->av_recv_pspoll = vap->iv_recv_pspoll; in ath_vap_create() 1690 avp->av_bslot = -1; in ath_vap_create() [all …]
|
H A D | if_ath_tx.c | 1905 struct ath_vap *avp = ATH_VAP(vap); in ath_tx_start() local 2015 if (sc->sc_cabq_enable && ismcast && (vap->iv_ps_sta || avp->av_mcastq.axq_depth)) { in ath_tx_start() 2016 txq = &avp->av_mcastq; in ath_tx_start() 2105 if (txq == &avp->av_mcastq) { in ath_tx_start()
|
/freebsd/contrib/wpa/src/eap_server/ |
H A D | eap_server_ttls.c | 110 struct ttls_avp_vendor *avp; in eap_ttls_avp_hdr() local 114 avp = (struct ttls_avp_vendor *) avphdr; in eap_ttls_avp_hdr() 118 hdrlen = sizeof(*avp); in eap_ttls_avp_hdr() 119 avp->vendor_id = host_to_be32(vendor_id); in eap_ttls_avp_hdr() 124 avp->avp_code = host_to_be32(avp_code); in eap_ttls_avp_hdr() 125 avp->avp_length = host_to_be32(((u32) flags << 24) | in eap_ttls_avp_hdr() 135 struct wpabuf *avp; in eap_ttls_avp_encapsulate() local 138 avp = wpabuf_alloc(sizeof(struct ttls_avp) + wpabuf_len(resp) + 4); in eap_ttls_avp_encapsulate() 139 if (avp == NULL) { in eap_ttls_avp_encapsulate() 144 pos = eap_ttls_avp_hdr(wpabuf_mhead(avp), avp_code, 0, mandatory, in eap_ttls_avp_encapsulate() [all …]
|
/freebsd/contrib/wpa/src/eap_peer/ |
H A D | eap_ttls.c | 233 struct ttls_avp_vendor *avp; in eap_ttls_avp_hdr() local 237 avp = (struct ttls_avp_vendor *) avphdr; in eap_ttls_avp_hdr() 241 hdrlen = sizeof(*avp); in eap_ttls_avp_hdr() 242 avp->vendor_id = host_to_be32(vendor_id); in eap_ttls_avp_hdr() 247 avp->avp_code = host_to_be32(avp_code); in eap_ttls_avp_hdr() 248 avp->avp_length = host_to_be32(((u32) flags << 24) | in eap_ttls_avp_hdr() 272 u8 *avp, *pos; in eap_ttls_avp_encapsulate() local 281 avp = wpabuf_mhead(msg); in eap_ttls_avp_encapsulate() 282 pos = eap_ttls_avp_hdr(avp, avp_code, 0, mandatory, wpabuf_len(*resp)); in eap_ttls_avp_encapsulate() 285 AVP_PAD(avp, pos); in eap_ttls_avp_encapsulate() [all …]
|
/freebsd/lib/libprocstat/ |
H A D | libprocstat.c | 1754 struct argvec *av, **avp; in getargv() local 1774 avp = (struct argvec **)(env ? &procstat->argv : &procstat->envv); in getargv() 1775 av = *avp; in getargv() 1785 *avp = av; in getargv()
|
/freebsd/crypto/openssh/ |
H A D | servconf.c | 1046 match_cfg_line(const char *full_line, int *acp, char ***avp, in match_cfg_line() argument 1064 while ((oattrib = argv_next(acp, avp)) != NULL) { in match_cfg_line() 1076 ((arg = argv_next(acp, avp)) != NULL && in match_cfg_line() 1112 arg = argv_next(acp, avp); in match_cfg_line()
|
H A D | readconf.c | 709 match_cfg_line(Options *options, const char *full_line, int *acp, char ***avp, in match_cfg_line() argument 734 while ((attrib = argv_next(acp, avp)) != NULL) { in match_cfg_line() 748 ((arg = argv_next(acp, avp)) != NULL && in match_cfg_line() 793 arg = argv_next(acp, avp); in match_cfg_line()
|
/freebsd/contrib/ntp/ntpd/ |
H A D | ntp_config.c | 337 static void attrtopsl(u_char log2_poll, attr_val *avp); 3098 attr_val * avp in attrtopsl() 3102 u_int32 lower = (u_short)avp->value.r.first; /* ntp_parser.y ensures */ in attrtopsl() 3103 u_int32 upper = (u_short)avp->value.r.last; /* non-neg. first/last */ in attrtopsl() 3069 attrtopsl(int poll,attr_val * avp) attrtopsl() argument
|
/freebsd/contrib/tzcode/ |
H A D | zic.c | 2360 atcomp(const void *avp, const void *bvp) in atcomp() argument 2362 struct attype const *ap = avp, *bp = bvp; in atcomp()
|