| /freebsd-11-stable/sys/contrib/ngatm/netnatm/msg/ |
| HD | uni_ie.c | 56 void uni_ie_print_##Coding##_##IE(struct uni_ie_##IE *ie, struct unicx *cx) 59 int uni_ie_check_##Coding##_##IE(struct uni_ie_##IE *ie, struct unicx *cx) 62 int uni_ie_encode_##Coding##_##IE(struct uni_msg *msg, struct uni_ie_##IE *ie, struct unicx *cx) 65 …int uni_ie_decode_##Coding##_##IE(struct uni_ie_##IE *ie, struct uni_msg *msg, u_int ielen, struct… 135 if (uni_check_ie(CODE, (union uni_ieall *)ie, cx)) \ 137 if (uni_encode_ie_hdr(msg, CODE, &ie->h, (LEN), cx)) \ 145 if (uni_check_ie(CODE, (union uni_ieall *)ie, cx)) \ 147 if (uni_encode_ie_hdr(msg, REALCODE, &ie->h, (LEN), cx)) \ 165 if (IE_ISPRESENT(*ie)) \ 168 IE_SETEMPTY(*ie); \ [all …]
|
| HD | genmsgc.awk | 91 ie = iename[i] 94 print "\tif(msg->" ie "_repeat.h.present & UNI_IE_PRESENT)" 95 print "\t\tuni_print_ie_internal(UNI_IE_REPEAT, (union uni_ieall *)&msg->" ie "_repeat, cx);" 98 print "\tif(msg->" ie ".h.present & UNI_IE_PRESENT)" 99 print "\t\tuni_print_ie_internal(UNI_IE_" uie ", (union uni_ieall *)&msg->" ie ", cx);" 102 print "\t\tif(msg->" ie "[i].h.present & UNI_IE_PRESENT)" 103 print "\t\t\tuni_print_ie_internal(UNI_IE_" uie ", (union uni_ieall *)&msg->" ie "[i], cx);" 120 ie = iename[i] 123 print "\tret |= uni_check_ie(UNI_IE_REPEAT, (union uni_ieall *)&m->" ie "_repeat, cx);" 126 print "\t\tret |= IE_ISPRESENT(m->" ie "_repeat);" [all …]
|
| HD | geniec.awk | 79 print "static const struct iedecl decl_" coding "_" ie " = {" 87 decl[number,ncoding] = "decl_" coding "_" ie 95 print "static void uni_ie_print_" coding "_" ie "(struct uni_ie_" ie " *, struct unicx *);" 96 print "static int uni_ie_check_" coding "_" ie "(struct uni_ie_" ie " *, struct unicx *);" 97 …print "static int uni_ie_encode_" coding "_" ie "(struct uni_msg *, struct uni_ie_" ie " *, struct… 98 …print "static int uni_ie_decode_" coding "_" ie "(struct uni_ie_" ie " *, struct uni_msg *, u_int,… 100 print "static struct iedecl decl_" coding "_" ie " = {" 104 print "\t(uni_print_f)uni_ie_print_" coding "_" ie "," 105 print "\t(uni_check_f)uni_ie_check_" coding "_" ie "," 106 print "\t(uni_encode_f)uni_ie_encode_" coding "_" ie "," [all …]
|
| /freebsd-11-stable/sys/kern/ |
| HD | kern_intr.c | 101 static void intr_event_update(struct intr_event *ie); 103 static int intr_event_schedule_thread(struct intr_event *ie, 105 static int intr_filter_loop(struct intr_event *ie, 110 static int intr_event_schedule_thread(struct intr_event *ie); 115 struct intr_event *ie); 168 struct intr_event *ie; in ithread_update() local 172 ie = ithd->it_event; in ithread_update() 176 if (TAILQ_EMPTY(&ie->ie_handlers)) in ithread_update() 179 pri = TAILQ_FIRST(&ie->ie_handlers)->ih_pri; in ithread_update() 182 strlcpy(td->td_name, ie->ie_fullname, sizeof(td->td_name)); in ithread_update() [all …]
|
| /freebsd-11-stable/contrib/wpa/src/rsn_supp/ |
| HD | wpa_ie.c | 359 struct wpa_eapol_ie_parse *ie) in wpa_parse_vendor_specific() argument 372 ie->wmm = &pos[2]; in wpa_parse_vendor_specific() 373 ie->wmm_len = pos[1]; in wpa_parse_vendor_specific() 375 ie->wmm, ie->wmm_len); in wpa_parse_vendor_specific() 377 ie->wmm = &pos[2]; in wpa_parse_vendor_specific() 378 ie->wmm_len = pos[1]; in wpa_parse_vendor_specific() 380 ie->wmm, ie->wmm_len); in wpa_parse_vendor_specific() 395 struct wpa_eapol_ie_parse *ie) in wpa_parse_generic() argument 404 ie->wpa_ie = pos; in wpa_parse_generic() 405 ie->wpa_ie_len = pos[1] + 2; in wpa_parse_generic() [all …]
|
| HD | wpa.c | 591 struct wpa_eapol_ie_parse ie; in wpa_supplicant_process_1_of_4() local 607 os_memset(&ie, 0, sizeof(ie)); in wpa_supplicant_process_1_of_4() 613 if (wpa_supplicant_parse_ies(key_data, key_data_len, &ie) < 0) in wpa_supplicant_process_1_of_4() 615 if (ie.pmkid) { in wpa_supplicant_process_1_of_4() 617 "Authenticator", ie.pmkid, PMKID_LEN); in wpa_supplicant_process_1_of_4() 621 res = wpa_supplicant_get_pmk(sm, src_addr, ie.pmkid); in wpa_supplicant_process_1_of_4() 1125 struct wpa_eapol_ie_parse *ie) in ieee80211w_set_keys() argument 1131 if (ie->igtk) { in ieee80211w_set_keys() 1136 if (ie->igtk_len != WPA_IGTK_KDE_PREFIX_LEN + len) in ieee80211w_set_keys() 1139 igtk = (const struct wpa_igtk_kde *) ie->igtk; in ieee80211w_set_keys() [all …]
|
| /freebsd-11-stable/contrib/wpa/wpa_supplicant/ |
| HD | wifi_display.c | 41 struct wpabuf *ie; in wifi_display_get_wfd_ie() local 54 ie = wpabuf_alloc(len); in wifi_display_get_wfd_ie() 55 if (ie == NULL) in wifi_display_get_wfd_ie() 60 wpabuf_put_buf(ie, global->wfd_subelem[i]); in wifi_display_get_wfd_ie() 63 return ie; in wifi_display_get_wfd_ie() 69 struct wpabuf *ie, *buf; in wifi_display_update_wfd_ie() local 174 ie = wifi_display_encaps(buf); in wifi_display_update_wfd_ie() 175 wpa_hexdump_buf(MSG_DEBUG, "WFD: WFD IE for Beacon", ie); in wifi_display_update_wfd_ie() 176 p2p_set_wfd_ie_beacon(global->p2p, ie); in wifi_display_update_wfd_ie() 178 ie = wifi_display_encaps(buf); in wifi_display_update_wfd_ie() [all …]
|
| HD | bss.c | 37 const u8 *ie = wpa_bss_get_ie(bss, WLAN_EID_INTERWORKING); in wpa_bss_set_hessid() local 38 if (ie == NULL || (ie[1] != 7 && ie[1] != 9)) { in wpa_bss_set_hessid() 42 if (ie[1] == 7) in wpa_bss_set_hessid() 43 os_memcpy(bss->hessid, ie + 3, ETH_ALEN); in wpa_bss_set_hessid() 45 os_memcpy(bss->hessid, ie + 5, ETH_ALEN); in wpa_bss_set_hessid() 475 const struct wpa_scan_res *new_res, u32 ie) in are_ies_equal() argument 482 switch (ie) { in are_ies_equal() 484 old_ie = wpa_bss_get_vendor_ie(old, ie); in are_ies_equal() 485 new_ie = wpa_scan_get_vendor_ie(new_res, ie); in are_ies_equal() 489 old_ie_buff = wpa_bss_get_vendor_ie_multi(old, ie); in are_ies_equal() [all …]
|
| /freebsd-11-stable/contrib/mdocml/ |
| HD | dba_array.c | 62 int32_t ie; in dba_array_free() local 67 for (ie = 0; ie < array->eu; ie++) in dba_array_free() 68 free(array->ep[ie]); in dba_array_free() 75 dba_array_set(struct dba_array *array, int32_t ie, void *entry) in dba_array_set() argument 77 assert(ie >= 0); in dba_array_set() 78 assert(ie < array->ea); in dba_array_set() 79 assert(ie <= array->eu); in dba_array_set() 80 if (ie == array->eu) in dba_array_set() 84 array->ep[ie] = entry; in dba_array_set() 85 array->em[ie] = 0; in dba_array_set() [all …]
|
| HD | dba.c | 188 dba_page_add(struct dba_array *page, int32_t ie, const char *str) in dba_page_add() argument 193 entries = dba_array_get(page, ie); in dba_page_add() 194 if (ie == DBP_ARCH) { in dba_page_add() 206 if (ie == DBP_FILE && *entry < ' ') in dba_page_add() 437 unsigned int ie, ne, slot; in dba_macro_write() local 469 for (ie = 0; ie < ne; ie++) { in dba_macro_write() 470 kpos[ie] = dba_tell(); in dba_macro_write() 471 dba_str_write(entries[ie]->value); in dba_macro_write() 477 for (ie = 0; ie < ne; ie++) { in dba_macro_write() 478 dpos[ie] = dba_tell(); in dba_macro_write() [all …]
|
| /freebsd-11-stable/contrib/wpa/src/wps/ |
| HD | wps.c | 420 struct wpabuf *ie; in wps_build_assoc_req_ie() local 425 ie = wpabuf_alloc(100); in wps_build_assoc_req_ie() 426 if (ie == NULL) in wps_build_assoc_req_ie() 429 wpabuf_put_u8(ie, WLAN_EID_VENDOR_SPECIFIC); in wps_build_assoc_req_ie() 430 len = wpabuf_put(ie, 1); in wps_build_assoc_req_ie() 431 wpabuf_put_be32(ie, WPS_DEV_OUI_WFA); in wps_build_assoc_req_ie() 433 if (wps_build_version(ie) || in wps_build_assoc_req_ie() 434 wps_build_req_type(ie, req_type) || in wps_build_assoc_req_ie() 435 wps_build_wfa_ext(ie, 0, NULL, 0, 0)) { in wps_build_assoc_req_ie() 436 wpabuf_free(ie); in wps_build_assoc_req_ie() [all …]
|
| /freebsd-11-stable/contrib/wpa/src/ap/ |
| HD | taxonomy.c | 103 const u8 *ie; in ie_to_string() local 120 ie = wpabuf_head(ies); in ie_to_string() 127 id = *ie++; in ie_to_string() 128 elen = *ie++; in ie_to_string() 136 if (WPA_GET_BE32(ie) == WPS_IE_VENDOR_TYPE) { in ie_to_string() 139 const u8 *data = &ie[4]; in ie_to_string() 152 sep, id, ie[0], ie[1], ie[2], ie[3]); in ie_to_string() 158 WPA_GET_LE16(ie)); in ie_to_string() 164 ",htagg:%02hx", (u16) ie[2]); in ie_to_string() 170 (u16) WPA_GET_LE32(ie + 3)); in ie_to_string() [all …]
|
| HD | rrm.c | 99 const u8 *pos, *ie, *end; in hostapd_handle_radio_msmt_report() local 106 while ((ie = get_ie(pos, end - pos, WLAN_EID_MEASURE_REPORT))) { in hostapd_handle_radio_msmt_report() 107 if (ie[1] < 3) { in hostapd_handle_radio_msmt_report() 112 rep_mode = ie[3]; in hostapd_handle_radio_msmt_report() 114 rep_mode, ie[4]); in hostapd_handle_radio_msmt_report() 116 switch (ie[4]) { in hostapd_handle_radio_msmt_report() 118 hostapd_handle_lci_report(hapd, token, ie + 2, ie[1]); in hostapd_handle_radio_msmt_report() 121 hostapd_handle_range_report(hapd, token, ie + 2, ie[1]); in hostapd_handle_radio_msmt_report() 125 rep_mode, ie + 2, ie[1]); in hostapd_handle_radio_msmt_report() 130 ie[4]); in hostapd_handle_radio_msmt_report() [all …]
|
| HD | wpa_auth_ie.c | 986 struct wpa_eapol_ie_parse *ie) in wpa_parse_generic() argument 995 ie->wpa_ie = pos; in wpa_parse_generic() 996 ie->wpa_ie_len = pos[1] + 2; in wpa_parse_generic() 1001 ie->osen = pos; in wpa_parse_generic() 1002 ie->osen_len = pos[1] + 2; in wpa_parse_generic() 1009 ie->pmkid = pos + 2 + RSN_SELECTOR_LEN; in wpa_parse_generic() 1015 ie->gtk = pos + 2 + RSN_SELECTOR_LEN; in wpa_parse_generic() 1016 ie->gtk_len = pos[1] - RSN_SELECTOR_LEN; in wpa_parse_generic() 1022 ie->mac_addr = pos + 2 + RSN_SELECTOR_LEN; in wpa_parse_generic() 1023 ie->mac_addr_len = pos[1] - RSN_SELECTOR_LEN; in wpa_parse_generic() [all …]
|
| /freebsd-11-stable/contrib/ipfilter/lib/ |
| HD | interror.c | 526 ipf_error_entry_t *ie; local 532 ie = ipf_errors + l + step; 533 if (ie->iee_number == errnum) 534 return ie; 536 if (ie->iee_number > errnum) 552 ipf_error_entry_t *ie; local 557 ie = find_error(errnum); 558 if (ie != NULL) 559 return ie->iee_text; 573 ipf_error_entry_t *ie; local [all …]
|
| /freebsd-11-stable/sys/contrib/ngatm/netnatm/sig/ |
| HD | genmsgcpyc.awk | 65 ie = iename[i] 67 print "\tif(IE_ISGOOD(src->" ie "_repeat))" 68 print "\t\tdst->" ie "_repeat = src->" ie "_repeat;" 72 print "\t\tif(IE_ISGOOD(src->"ie"[s]))" 73 print "\t\t\tdst->"ie"[d++] = src->"ie"[s];" 75 print "\tif(IE_ISGOOD(src->"ie"))" 76 print "\t\tdst->"ie" = src->"ie";"
|
| HD | sig_verify.c | 44 uni_mandate_ie(struct uni *uni, enum uni_ietype ie) in uni_mandate_ie() argument 49 if (e->ie == ie) { in uni_mandate_ie() 53 if (UNI_SAVE_IERR(&uni->cx, ie, UNI_IEACT_DEFAULT, UNI_IERR_MIS)) in uni_mandate_ie() 89 if (e->ie == UNI_IE_EPREF) in uni_mandate_epref() 105 if (e->ie == UNI_IE_EPREF) { in uni_mandate_epref() 152 " act=%u", e1->ie, e1->err, e1->man, e1->act); in uni_verify() 330 uni->cause.u.ie.ie[uni->cause.u.ie.len++] = (IE); \ in uni_vfy_collect_ies() 331 if (uni->cause.u.ie.len == UNI_CAUSE_IE_N) \ in uni_vfy_collect_ies() 334 uni->cause.u.ie.len = 0; in uni_vfy_collect_ies() 338 STUFF_IE(e->ie); in uni_vfy_collect_ies() [all …]
|
| /freebsd-11-stable/sys/mips/rmi/ |
| HD | intr_machdep.c | 54 struct intr_event *ie; /* event corresponding to intr */ member 122 struct intr_event *ie; /* descriptor for the IRQ */ in xlr_establish_intr() local 134 ie = src->ie; in xlr_establish_intr() 135 if (ie == NULL) { in xlr_establish_intr() 141 errcode = intr_event_create(&ie, src, 0, irq, in xlr_establish_intr() 147 errcode = intr_event_create(&ie, src, 0, irq, in xlr_establish_intr() 156 src->ie = ie; in xlr_establish_intr() 158 intr_event_add_handler(ie, name, filt, handler, arg, in xlr_establish_intr() 166 struct intr_event *ie; in cpu_intr() local 186 intr_event_handle(xlr_interrupts[IRQ_TIMER].ie, tf); in cpu_intr() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
| HD | DAGDeltaAlgorithm.cpp | 127 for (changeset_ty::const_iterator it = S.begin(), ie = S.end(); it != ie; in ExecuteOneTest() 184 ie = Changes.end(); it != ie; ++it) { in DAGDeltaAlgorithmImpl() local 189 ie = Dependencies.end(); it != ie; ++it) { in DAGDeltaAlgorithmImpl() local 196 ie = Changes.end(); it != ie; ++it) in DAGDeltaAlgorithmImpl() local 208 ie = pred_end(Change); it != ie; ++it) { in DAGDeltaAlgorithmImpl() local 217 ie = Changes.end(); it != ie; ++it) in DAGDeltaAlgorithmImpl() local 220 ie = Changes.end(); it != ie; ++it) in DAGDeltaAlgorithmImpl() local 229 for (changeset_ty::const_iterator it = Changes.begin(), ie = Changes.end(); in DAGDeltaAlgorithmImpl() 230 it != ie; ++it) { in DAGDeltaAlgorithmImpl() 250 ie = Roots.end(); in DAGDeltaAlgorithmImpl() [all …]
|
| /freebsd-11-stable/sys/mips/nlm/ |
| HD | intr_machdep.c | 63 struct intr_event *ie; /* event corresponding to intr */ member 160 KASSERT(src->ie != NULL, in xlp_set_bus_ack() 171 struct intr_event *ie; /* descriptor for the IRQ */ in cpu_establish_hardintr() local 183 ie = src->ie; in cpu_establish_hardintr() 184 if (ie == NULL) { in cpu_establish_hardintr() 190 errcode = intr_event_create(&ie, src, 0, irq, in cpu_establish_hardintr() 196 errcode = intr_event_create(&ie, src, 0, irq, in cpu_establish_hardintr() 204 src->ie = ie; in cpu_establish_hardintr() 213 intr_event_add_handler(ie, name, filt, handler, arg, in cpu_establish_hardintr() 221 struct intr_event *ie; in cpu_intr() local [all …]
|
| /freebsd-11-stable/contrib/wpa/src/p2p/ |
| HD | p2p_group.c | 127 static void p2p_client_info(struct wpabuf *ie, struct p2p_group_member *m) in p2p_client_info() argument 131 if (wpabuf_tailroom(ie) < wpabuf_len(m->client_info) + 1) in p2p_client_info() 133 wpabuf_put_buf(ie, m->client_info); in p2p_client_info() 138 struct wpabuf *ie) in p2p_group_add_common_ies() argument 160 p2p_buf_add_capability(ie, dev_capab, group_capab); in p2p_group_add_common_ies() 164 static void p2p_group_add_noa(struct wpabuf *ie, struct wpabuf *noa) in p2p_group_add_noa() argument 169 wpabuf_put_u8(ie, P2P_ATTR_NOTICE_OF_ABSENCE); in p2p_group_add_noa() 170 wpabuf_put_le16(ie, wpabuf_len(noa)); in p2p_group_add_noa() 171 wpabuf_put_buf(ie, noa); in p2p_group_add_noa() 177 struct wpabuf *ie; in p2p_group_encaps_probe_resp() local [all …]
|
| /freebsd-11-stable/contrib/unbound/ipset/ |
| HD | ipset.c | 101 ipset_add_rrset_data(struct ipset_env *ie, struct mnl_socket *mnl, in ipset_add_rrset_data() argument 131 ie->mnl = NULL; in ipset_add_rrset_data() 139 ipset_check_zones_for_rrset(struct module_env *env, struct ipset_env *ie, in ipset_check_zones_for_rrset() argument 167 ipset_add_rrset_data(ie, mnl, d, setname, in ipset_check_zones_for_rrset() 176 static int ipset_update(struct module_env *env, struct dns_msg *return_msg, struct ipset_env *ie) { in ipset_update() argument 188 mnl = (struct mnl_socket *)ie->mnl; in ipset_update() 196 ie->mnl = mnl; in ipset_update() 206 if ((ie->v4_enabled == 1)) { in ipset_update() 207 setname = ie->name_v4; in ipset_update() 211 if ((ie->v6_enabled == 1)) { in ipset_update() [all …]
|
| /freebsd-11-stable/sys/sys/ |
| HD | interrupt.h | 163 void db_dump_intr_event(struct intr_event *ie, int handlers); 166 int intr_event_add_handler(struct intr_event *ie, const char *name, 169 int intr_event_bind(struct intr_event *ie, int cpu); 170 int intr_event_bind_irqonly(struct intr_event *ie, int cpu); 171 int intr_event_bind_ithread(struct intr_event *ie, int cpu); 177 int intr_event_describe_handler(struct intr_event *ie, void *cookie, 179 int intr_event_destroy(struct intr_event *ie); 180 void intr_event_execute_handlers(struct proc *p, struct intr_event *ie); 181 int intr_event_handle(struct intr_event *ie, struct trapframe *frame);
|
| /freebsd-11-stable/contrib/unbound/ipsecmod/ |
| HD | ipsecmod-whitelist.c | 99 ipsecmod_whitelist_apply_cfg(struct ipsecmod_env* ie, in ipsecmod_whitelist_apply_cfg() argument 102 ie->whitelist = rbtree_create(name_tree_compare); in ipsecmod_whitelist_apply_cfg() 103 if(!read_whitelist(ie->whitelist, cfg)) in ipsecmod_whitelist_apply_cfg() 105 name_tree_init_parents(ie->whitelist); in ipsecmod_whitelist_apply_cfg() 140 ipsecmod_domain_is_whitelisted(struct ipsecmod_env* ie, uint8_t* dname, in ipsecmod_domain_is_whitelisted() argument 143 if(!ie->whitelist) return 1; /* No whitelist, treat as whitelisted. */ in ipsecmod_domain_is_whitelisted() 144 return name_tree_lookup(ie->whitelist, dname, dname_len, in ipsecmod_domain_is_whitelisted()
|
| /freebsd-11-stable/sys/net80211/ |
| HD | ieee80211_regdomain.c | 241 struct ieee80211_country_ie *ie; in ieee80211_alloc_countryie() local 252 ie = (struct ieee80211_country_ie *) aie->ie_data; in ieee80211_alloc_countryie() 253 ie->ie = IEEE80211_ELEMID_COUNTRY; in ieee80211_alloc_countryie() 257 ie->cc[0] = ie->cc[1] = ' '; in ieee80211_alloc_countryie() 259 ie->cc[0] = rd->isocc[0]; in ieee80211_alloc_countryie() 260 ie->cc[1] = rd->isocc[1]; in ieee80211_alloc_countryie() 268 ie->cc[2] = (rd->location == 'I' ? 'I' : in ieee80211_alloc_countryie() 273 frm = (uint8_t *)&ie->band[0]; in ieee80211_alloc_countryie() 310 ie->len = frm - ie->cc; in ieee80211_alloc_countryie() 311 if (ie->len & 1) { /* Zero pad to multiple of 2 */ in ieee80211_alloc_countryie() [all …]
|