| /freebsd-12-stable/lib/lib80211/ |
| D | lib80211_regdomain.h | 66 struct country; 71 const struct country *cc; /* country code for 1-1/default map */ 84 struct country { struct 91 LIST_ENTRY(country) next; argument 97 LIST_HEAD(, country) countries; /* country code table */ 116 const struct country *lib80211_country_findbycc(const struct regdata *, 118 const struct country *lib80211_country_findbyname(const struct regdata *,
|
| D | lib80211_regdomain.c | 57 struct country *country; /* current country */ member 97 if (mt->country == NULL) { in start_element() 103 mt->country->rd = (void *)strdup(ref); in start_element() 157 if (iseq(name, "country") && mt->country == NULL) { in start_element() 158 mt->country = calloc(1, sizeof(struct country)); in start_element() 159 mt->country->isoname = strdup(id); in start_element() 160 mt->country->code = NO_COUNTRY; in start_element() 162 LIST_INSERT_HEAD(&mt->rdp->countries, mt->country, next); in start_element() 314 if (iseq(name, "isocc") && mt->country != NULL) { in end_element() 315 mt->country->code = strtoul(p, NULL, 0); in end_element() [all …]
|
| /freebsd-12-stable/usr.sbin/bsdconfig/timezone/share/ |
| D | menus.subr | 48 # continent and country menus. 60 # Space-separated list of 2-character country codes. 62 # Desired menu text for the country-zone represented by *, the 2- 63 # character country code. 68 # Number of zones for the country represented by *, the 2- 69 # character country code. Should be -1 if the country has only 71 # zones the country has. 73 # Principal continent (or ocean) in which the country-zone 74 # represented by *, the 2-character country code, resides. 76 # Principal continent (or ocean) in which zone-N of the country [all …]
|
| D | countries.subr | 33 # Returns a single property of a given country. Available properties are: 35 # name Name of the country as read from _PATH_ISO3166. 36 # nzones Number of zones within the country (-1 if country has 40 # cont The principal continent in which the country lies (appears 42 # filename_N Like filename, but for the Nth zone when the country has 44 # cont_N Like cont, but for the Nth zone when the country has 46 # descr_N Like name, but for the Nth zone when the country has 60 # Sorts alphabetically the 2-character country codes listed in $COUNTRIES based 61 # on the name of each country.
|
| D | iso3166.subr | 56 # Read the ISO 3166 country code database in _PATH_ISO3166: 69 # two ISO 3166 2-character country code 70 # three ISO 3166 3-character country code (if provided) 71 # number ISO 3166 numeric country code (if provided) 72 # name Human-readable country name (may contain spaces) 77 # A space-separated list of 2-character country codes. 79 # The country `name' (as described above). 81 # where CODE is the 2-character country code. 133 # Get the ISO3166-1 (Alpha 1) 2-letter country code 137 # Validate the two-character country code
|
| D | zones.subr | 78 # The ISO 3166 2-character country code. 87 # Comments; present if and only if the country has multiple rows. 100 # Country name of the country represented by CODE, the 2- 101 # character country code. 106 # Either set to `-1' to indicate that the 2-character country 110 # iated with the given country code. When multiple zones are 126 # NOTE: CODE is the 2-character country code. 167 # Validate the two-character country code 267 # Get the ISO3166-1 (Alpha 1) 2-letter country code 271 # Validate the two-character country code
|
| /freebsd-12-stable/sys/dev/ath/ath_hal/ |
| D | ah_regdomain.c | 239 COUNTRY_CODE_TO_ENUM_RD *country; in getDefaultCountry() local 241 country = findCountry(cc); in getDefaultCountry() 242 if (country != AH_NULL) in getDefaultCountry() 269 COUNTRY_CODE_TO_ENUM_RD *country; in getregstate() local 287 country = findCountry(cc); in getregstate() 288 if (country == AH_NULL) { in getregstate() 293 regDmn = country->regDmnEnum; in getregstate() 297 if (country->countryCode == CTRY_DEFAULT) { in getregstate() 312 country = findCountry(cc); in getregstate() 313 if (country == AH_NULL) { in getregstate() [all …]
|
| /freebsd-12-stable/usr.sbin/bsdinstall/scripts/ |
| D | wlanconfig | 82 local input regdomains countries regdomain country prompt 131 prompt="Select your country." 147 country_set "$regdomain" "$country" 193 f_dialog_title "Regdomain/country" 194 if f_yesno "Change regdomain/country ($DEF_REGDOMAIN/$DEF_COUNTRY)?"
|
| /freebsd-12-stable/usr.bin/whois/ |
| D | whois.c | 168 const char *country, *host; in main() local 175 country = host = NULL; in main() 189 country = optarg; in main() 242 if (!argc || (country != NULL && host != NULL)) in main() 248 if (host == NULL && country == NULL) { in main() 256 if (country != NULL) { in main() 258 s_asprintf(&qnichost, "%s%s", country, QNICHOST_TAIL); in main()
|
| /freebsd-12-stable/usr.sbin/bsdconfig/timezone/include/ |
| D | messages.subr | 44 msg_country_code_invalid="%s:%d: country code \`%s' invalid" 45 msg_country_code_multiply_defined="%s:%d: country code \`%s' multiply defined: %s" 46 msg_country_code_unknown="%s:%d: country code \`%s' unknown" 57 msg_invalid_country_code="%s:%d: invalid country code \`%s'" 68 msg_select_country="Select a country"
|
| /freebsd-12-stable/contrib/tzdata/ |
| D | zone1970.tab | 12 # of ISO 3166 2-character country codes. 20 # If multiple timezones overlap a country, each has a row in the 21 # table, with each column 1 containing the country code. 28 # and that country is listed first in column 1; any other countries 29 # are listed alphabetically by country code. The table is sorted 30 # first by country code, then (if possible) by an order within the 31 # country that (1) makes some geographical sense, and (2) puts the 38 #country- 357 # For example, the comment "#@AQ<tab>Antarctica/" means the country code 360 # under the Pacific because its line's country codes include AQ. [all …]
|
| /freebsd-12-stable/contrib/wpa/src/common/ |
| D | ieee802_11_common.c | 1186 static int country_match(const char *const cc[], const char *const country) in country_match() argument 1190 if (country == NULL) in country_match() 1193 if (cc[i][0] == country[0] && cc[i][1] == country[1]) in country_match() 1481 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan) in ieee80211_chan_to_freq() argument 1485 if (country_match(us_op_class_cc, country)) { in ieee80211_chan_to_freq() 1491 if (country_match(eu_op_class_cc, country)) { in ieee80211_chan_to_freq() 1497 if (country_match(jp_op_class_cc, country)) { in ieee80211_chan_to_freq() 1503 if (country_match(cn_op_class_cc, country)) { in ieee80211_chan_to_freq() 2166 u8 country_to_global_op_class(const char *country, u8 op_class) in country_to_global_op_class() argument 2172 if (country_match(us_op_class_cc, country)) { in country_to_global_op_class() [all …]
|
| D | ieee802_11_common.h | 213 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan); 260 u8 country_to_global_op_class(const char *country, u8 op_class); 262 const struct oper_class_map * get_oper_class(const char *country, u8 op_class);
|
| /freebsd-12-stable/contrib/wpa/src/p2p/ |
| D | p2p_build.c | 85 void p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country, in p2p_buf_add_listen_channel() argument 91 wpabuf_put_data(buf, country, 3); in p2p_buf_add_listen_channel() 99 void p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country, in p2p_buf_add_operating_channel() argument 105 wpabuf_put_data(buf, country, 3); in p2p_buf_add_operating_channel() 151 void p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, in p2p_buf_add_channel_list() argument 160 wpabuf_put_data(buf, country, 3); /* Country String */ in p2p_buf_add_channel_list() 370 void p2p_buf_add_oob_go_neg_channel(struct wpabuf *buf, const char *country, in p2p_buf_add_oob_go_neg_channel() argument 377 wpabuf_put_data(buf, country, 3); in p2p_buf_add_oob_go_neg_channel()
|
| D | p2p_go_neg.c | 51 os_memcpy(dev->country, pos, 3); in p2p_peer_channels_check() 53 if (pos[2] != 0x04 && os_memcmp(pos, p2p->cfg->country, 2) != 0) { in p2p_peer_channels_check() 55 p2p->cfg->country[0], p2p->cfg->country[1], in p2p_peer_channels_check() 176 p2p_buf_add_listen_channel(buf, p2p->cfg->country, p2p->cfg->reg_class, in p2p_build_go_neg_req() 182 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels); in p2p_build_go_neg_req() 184 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_go_neg_req() 320 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_go_neg_resp() 326 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_go_neg_resp() 332 p2p_buf_add_channel_list(buf, p2p->cfg->country, in p2p_build_go_neg_resp() 335 p2p_buf_add_channel_list(buf, p2p->cfg->country, in p2p_build_go_neg_resp() [all …]
|
| D | p2p_invitation.c | 72 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_invitation_req() 77 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels); in p2p_build_invitation_req() 154 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_invitation_resp() 159 p2p_buf_add_channel_list(buf, p2p->cfg->country, channels); in p2p_build_invitation_resp() 359 p2p->cfg->country[0], p2p->cfg->country[1], in p2p_process_invitation_req()
|
| D | p2p_i.h | 80 char country[3]; member 756 void p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country, 758 void p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country, 760 void p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, 774 void p2p_buf_add_oob_go_neg_channel(struct wpabuf *buf, const char *country,
|
| /freebsd-12-stable/usr.sbin/tzsetup/ |
| D | tzsetup.c | 307 struct country { struct 330 static struct country countries[NCOUNTRIES]; 342 struct country *cp; in read_iso3166_table() 398 struct country *cp; in add_zone_to_country() 453 const struct country *a = xa, *b = xb; in compare_countries() 533 struct country *cp; in make_menus() 633 struct country *cp = dmi->data; in set_zone_menu() 692 struct country *cp = dmi->data; in set_zone_whole_country()
|
| /freebsd-12-stable/contrib/wpa/wpa_supplicant/ |
| D | mesh.c | 479 wpa_s->hw.num_modes) && wpa_s->conf->country[0]) { in wpa_supplicant_mesh_init() 482 conf->country[0] = wpa_s->conf->country[0]; in wpa_supplicant_mesh_init() 483 conf->country[1] = wpa_s->conf->country[1]; in wpa_supplicant_mesh_init() 484 conf->country[2] = ' '; in wpa_supplicant_mesh_init()
|
| D | rrm.c | 589 const char *country, const u8 *subelems, in wpas_channel_report_freqs() argument 611 op = get_oper_class(country, *pos); in wpas_channel_report_freqs() 656 const char *country = NULL; in wpas_beacon_request_freqs() local 664 country = (const char *) (elem + 2); in wpas_beacon_request_freqs() 666 op = get_oper_class(country, op_class); in wpas_beacon_request_freqs() 695 ext_freqs = wpas_channel_report_freqs(wpa_s, active, country, subelems, in wpas_beacon_request_freqs()
|
| D | config.h | 328 char country[3]; member 765 char country[2]; member
|
| D | wnm_sta.h | 33 char country[2]; /* valid if country_present=1 */ member
|
| /freebsd-12-stable/contrib/apr-util/ |
| D | README | 79 This distribution includes cryptographic software. The country in 81 possession, use, and/or re-export to another country, of 83 check your country's laws, regulations and policies concerning the
|
| /freebsd-12-stable/tools/tools/net80211/scripts/ |
| D | setup.dfs | 17 ifconfig $WLAN country $COUNTRY
|
| /freebsd-12-stable/contrib/tzcode/zic/ |
| D | Theory | 243 Include at least one location per time zone rule set per country. 245 iso3166.tab) to help decide whether something is a country. 248 If all the clocks in a country's region have agreed since 1970, 262 Use the most populous among locations in a country's time zone, 270 but prefer `Mexico_City' to `Mexico' because the country 336 If this is not available or is a phrase mentioning the country 339 When a country has a single or principal time zone region, 340 append `T' to the country's ISO code, e.g. `CVT' for 343 When a country has multiple time zones, take the first three 417 year after 1696 would be in 1744 -- putting the whole country on a calendar
|