/freebsd-10.1-release/sys/contrib/ngatm/netnatm/msg/ |
H A D | privmsg.c | 117 u_int ielen; local 126 if (uni_decode_ie_hdr(&ietype, &hdr, msg, cx, &ielen)) { 128 * Short header. Set the ielen to an impossible size. 132 ielen = 0xffffffff; 144 if (ielen > uni_msg_len(msg)) 147 msg->b_rptr += ielen; 155 if (ielen > iedecl->maxlen - 4 || ielen > uni_msg_len(msg)) { 166 if (ielen > iedecl->maxlen - 4) 167 ielen [all...] |
H A D | uni_ie.c | 65 int uni_ie_decode_##Coding##_##IE(struct uni_ie_##IE *ie, struct uni_msg *msg, u_int ielen, struct unicx *cx) 133 u_int ielen; \ 140 ielen = msg->b_wptr - msg->b_rptr - 2; 143 u_int ielen; \ 150 ielen = msg->b_wptr - msg->b_rptr - 2; 153 (M)->b_buf[ielen + 0] = \ 154 (((M)->b_wptr - (M)->b_rptr) - ielen - 2) >> 8; \ 155 (M)->b_buf[ielen + 1] = \ 156 (((M)->b_wptr - (M)->b_rptr) - ielen - 2) >> 0; \ 167 if (ielen 530 uni_decode_ie_hdr(enum uni_ietype *ietype, struct uni_iehdr *hdr, struct uni_msg *msg, struct unicx *cx, u_int *ielen) argument 596 uni_decode_ie_body(enum uni_ietype ietype, union uni_ieall *ie, struct uni_msg *msg, u_int ielen, struct unicx *cx) argument 1424 decode_cause(struct uni_ie_cause *ie, struct uni_msg *msg, u_int ielen, struct unicx *cx, const struct causetab *tab1, const struct causetab *tab2) argument 2232 decode_addr(struct uni_addr *addr, u_int ielen, struct uni_msg *msg, u_int plan) argument 2261 decode_subaddr(struct uni_subaddr *addr, u_int ielen, struct uni_msg *msg, u_int type) argument 3108 decode_aal_1(struct uni_ie_aal *ie, struct uni_msg *msg, u_int ielen) argument 3186 decode_aal_4(struct uni_ie_aal *ie, struct uni_msg *msg, u_int ielen) argument 3246 decode_aal_5(struct uni_ie_aal *ie, struct uni_msg *msg, u_int ielen) argument 3295 decode_aal_user(struct uni_ie_aal *ie, struct uni_msg *msg, u_int ielen) argument 3630 decode_traffic_common(struct uni_xtraffic *ie, struct uni_msg *msg, u_int ielen, u_int *present) argument [all...] |
H A D | uni_msg.c | 110 enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, 123 if(uni_decode_ie_body(UNI_IE_CONNID, (union uni_ieall *)&out->connid, msg, ielen, cx)) 131 if(uni_decode_ie_body(UNI_IE_EPREF, (union uni_ieall *)&out->epref, msg, ielen, cx)) 139 if(uni_decode_ie_body(UNI_IE_NOTIFY, (union uni_ieall *)&out->notify, msg, ielen, cx)) 149 if(uni_decode_ie_body(UNI_IE_GIT, (union uni_ieall *)&out->git[i], msg, ielen, cx)) 161 if(uni_decode_ie_body(UNI_IE_UU, (union uni_ieall *)&out->uu, msg, ielen, cx)) 171 if(uni_decode_ie_body(UNI_IE_REPORT, (union uni_ieall *)&out->report, msg, ielen, cx)) 179 if(uni_decode_ie_body(UNI_IE_UNREC, (union uni_ieall *)&out->unrec, msg, ielen, cx)) 256 enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, 265 if(uni_decode_ie_body(UNI_IE_CONNID, (union uni_ieall *)&out->connid, msg, ielen, c 109 decode_alerting(struct uni_alerting *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 255 decode_call_proc(struct uni_call_proc *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 471 decode_connect(struct uni_connect *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 694 decode_connect_ack(struct uni_connect_ack *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 824 decode_release(struct uni_release *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 998 decode_release_compl(struct uni_release_compl *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 1373 decode_setup(struct uni_setup *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 1774 decode_status(struct uni_status *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 1877 decode_status_enq(struct uni_status_enq *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 1962 decode_notify(struct uni_notify *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 2055 decode_restart(struct uni_restart *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 2148 decode_restart_ack(struct uni_restart_ack *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 2388 decode_add_party(struct uni_add_party *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 2715 decode_add_party_ack(struct uni_add_party_ack *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 2905 decode_party_alerting(struct uni_party_alerting *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 3054 decode_add_party_rej(struct uni_add_party_rej *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 3210 decode_drop_party(struct uni_drop_party *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 3358 decode_drop_party_ack(struct uni_drop_party_ack *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 3521 decode_leaf_setup_req(struct uni_leaf_setup_req *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 3694 decode_leaf_setup_fail(struct uni_leaf_setup_fail *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 3835 decode_cobisetup(struct uni_cobisetup *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 3970 decode_facility(struct uni_facility *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 4113 decode_modify_req(struct uni_modify_req *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 4256 decode_modify_ack(struct uni_modify_ack *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 4385 decode_modify_rej(struct uni_modify_rej *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 4506 decode_conn_avail(struct uni_conn_avail *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument 4607 decode_unknown(struct uni_unknown *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument [all...] |
/freebsd-10.1-release/contrib/wpa/src/rsn_supp/ |
H A D | tdls.c | 646 int ielen; local 668 ielen = 0; 671 ielen += sizeof(*ftie); 674 ielen += 170; 678 rbuf = os_zalloc(ielen + 1); 782 int ielen; local 805 ielen = len - (pos - buf); /* start of IE in buf */ 806 if (wpa_supplicant_parse_ies((const u8 *) pos, ielen, &kde) < 0) { 1350 u16 ielen; local 1383 ielen 1698 int ielen; local 1902 int ielen; local [all...] |
/freebsd-10.1-release/tools/tools/net80211/wlaninject/ |
H A D | wlaninject.c | 395 int ielen; local 397 ielen = strlen(str)/2; 398 if (ielen < 1 || (strlen(str) % 2)) { 404 while (ielen) { 419 ielen--; 427 *ie++ = (unsigned char) ielen;
|
/freebsd-10.1-release/contrib/wpa/wpa_supplicant/tests/ |
H A D | test_wpa.c | 127 size_t ielen; local 131 ie = wpa_auth_get_wpa_ie(wpa->auth_group, &ielen); 132 if (ie == NULL || ielen < 1)
|
/freebsd-10.1-release/contrib/wpa/src/ap/ |
H A D | drv_callbacks.c | 40 size_t ielen; local 68 ielen = elems.wps_ie_len + 2; 72 ielen = elems.rsn_ie_len + 2; 76 ielen = elems.wpa_ie_len + 2; 80 ielen = 0; 122 if (ie == NULL || ielen == 0) { 141 wps = ieee802_11_vendor_ie_concat(ie, ielen, 164 ie, ielen, 169 wpa_hexdump(MSG_DEBUG, "IE", ie, ielen);
|
H A D | beacon.c | 179 size_t ielen; local 181 ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &ielen); 182 if (ie == NULL || ielen > len) 185 os_memcpy(eid, ie, ielen); 186 return eid + ielen;
|
H A D | hostapd.h | 296 const u8 *ie, size_t ielen, int reassoc);
|
H A D | wpa_auth_ft.c | 94 u8 *pos = buf, *ielen; local 102 ielen = pos++; 131 *ielen = pos - buf - 2;
|
/freebsd-10.1-release/sys/net80211/ |
H A D | ieee80211_ioctl.c | 174 int ielen = ni->ni_ies.wpa_ie[1] + 2; local 175 if (ielen > sizeof(wpaie.wpa_ie)) 176 ielen = sizeof(wpaie.wpa_ie); 177 memcpy(wpaie.wpa_ie, ni->ni_ies.wpa_ie, ielen); 182 int ielen = ni->ni_ies.rsn_ie[1] + 2; local 183 if (ielen > sizeof(wpaie.rsn_ie)) 184 ielen = sizeof(wpaie.rsn_ie); 185 memcpy(wpaie.rsn_ie, ni->ni_ies.rsn_ie, ielen); 193 int ielen = ni->ni_ies.rsn_ie[1] + 2; local 194 if (ielen > sizeo 236 scan_space(const struct ieee80211_scan_entry *se, int *ielen) argument 255 int ielen; local 265 int ielen, len, nr, nxr; local 352 sta_space(const struct ieee80211_node *ni, size_t *ielen) argument 363 size_t ielen; local 379 size_t ielen, len; local [all...] |
H A D | ieee80211_node.c | 939 int ielen; local 942 ielen = ies->len; 943 while (ielen > 0) { 974 ielen -= 2 + ie[1];
|
H A D | ieee80211_output.c | 1852 static const int ielen = 26; local 1855 frm[1] = ielen; 1857 memcpy(frm+2, ic->ic_chan_avail, ielen); 1858 return frm + 2 + ielen;
|
/freebsd-10.1-release/sbin/ifconfig/ |
H A D | ifieee80211.c | 2455 printie(const char* tag, const uint8_t *ie, size_t ielen, int maxlen) argument 2460 if (2*ielen > maxlen) 2463 for (; ielen > 0; ie++, ielen--) { 2468 if (ielen != 0) 2492 printwmeparam(const char *tag, const u_int8_t *ie, size_t ielen, int maxlen) argument 2523 printwmeinfo(const char *tag, const u_int8_t *ie, size_t ielen, int maxlen) argument 2535 printhtcap(const char *tag, const u_int8_t *ie, size_t ielen, int maxlen) argument 2569 printhtinfo(const char *tag, const u_int8_t *ie, size_t ielen, int maxlen) argument 2601 printathie(const char *tag, const u_int8_t *ie, size_t ielen, in argument 2632 printmeshconf(const char *tag, const uint8_t *ie, size_t ielen, int maxlen) argument 2716 printwpaie(const char *tag, const u_int8_t *ie, size_t ielen, int maxlen) argument 2802 printrsnie(const char *tag, const u_int8_t *ie, size_t ielen, int maxlen) argument 2857 printwpsie(const char *tag, const u_int8_t *ie, size_t ielen, int maxlen) argument 2918 printtdmaie(const char *tag, const u_int8_t *ie, size_t ielen, int maxlen) argument 2976 printssid(const char *tag, const u_int8_t *ie, size_t ielen, int maxlen) argument 2984 printrates(const char *tag, const u_int8_t *ie, size_t ielen, int maxlen) argument 3001 printcountry(const char *tag, const u_int8_t *ie, size_t ielen, int maxlen) argument 3093 printies(const u_int8_t *vp, int ielen, int maxcols) argument [all...] |
/freebsd-10.1-release/contrib/wpa/src/drivers/ |
H A D | driver_bsd.c | 547 int ielen = 0; local 560 ielen = ie.wpa_ie[1]; 561 if (ielen == 0) 564 ielen += 2; 567 drv_event_assoc(ctx, addr, iebuf, ielen, 0);
|
H A D | driver.h | 3696 size_t ielen, int reassoc) 3702 event.assoc_info.req_ies_len = ielen; 3695 drv_event_assoc(void *ctx, const u8 *addr, const u8 *ie, size_t ielen, int reassoc) argument
|
/freebsd-10.1-release/contrib/wpa/wpa_supplicant/ |
H A D | scan.c | 441 size_t ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); local 442 if (wpabuf_resize(&extra_ie, ielen) == 0)
|
H A D | p2p_supplicant.c | 128 size_t ielen; local 159 ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); 160 ies = wpabuf_alloc(wpabuf_len(wps_ie) + ielen); 3392 size_t ielen; local 3411 ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); 3412 ies = wpabuf_alloc(wpabuf_len(wps_ie) + ielen);
|
/freebsd-10.1-release/sys/dev/ipw/ |
H A D | if_ipw.c | 2097 ipw_setwpaie(struct ipw_softc *sc, const void *ie, int ielen) argument 2102 wpaie.len = htole32(ielen); 2104 memcpy(&wpaie.ie, ie, ielen);
|
/freebsd-10.1-release/sys/dev/if_ndis/ |
H A D | if_ndis.c | 2158 ndis_set_wpa(sc, ie, ielen) 2161 int ielen;
|