plateform
stringclasses
1 value
repo_name
stringclasses
2 values
name
stringlengths
1
78
ext
stringclasses
2 values
path
stringlengths
15
1.11k
size
int64
1
8.55M
source_encoding
stringclasses
11 values
md5
stringlengths
32
32
text
stringlengths
0
8.49M
google
android
p2p_parse
.c
platform/external/wpa_supplicant_8/src/p2p/p2p_parse.c
23,575
utf_8
26b18293251bd106b9b2f47eb2167e43
/* * P2P - IE parser * See README for more details. */ #include "includes.h" #include "common.h" #include "common/ieee802_11_defs.h" #include "common/ieee802_11_common.h" #include "wps/wps_i.h" #include "p2p_i.h" void p2p_copy_filter_devname(char *dst, size_t dst_len, const void *src, size_t src_len) { size...
google
android
p2p_invitation
.c
platform/external/wpa_supplicant_8/src/p2p/p2p_invitation.c
21,417
utf_8
00565c9d5a2d72f19a5124e3a9f73f57
/* * Wi-Fi Direct - P2P Invitation procedure * See README for more details. */ #include "includes.h" #include "common.h" #include "common/ieee802_11_defs.h" #include "common/wpa_ctrl.h" #include "p2p_i.h" #include "p2p.h" static struct wpabuf * p2p_build_invitation_req(struct p2p_data *p2p, struct p2p_device *...
google
android
p2p_dev_disc
.c
platform/external/wpa_supplicant_8/src/p2p/p2p_dev_disc.c
8,851
utf_8
1016b8965edc8e0848ee7f9622873017
/* * Wi-Fi Direct - P2P Device Discoverability procedure * See README for more details. */ #include "includes.h" #include "common.h" #include "common/ieee802_11_defs.h" #include "p2p_i.h" #include "p2p.h" static struct wpabuf * p2p_build_dev_disc_req(struct p2p_data *p2p, struct p2p_device *go, ...
google
android
p2p_sd
.c
platform/external/wpa_supplicant_8/src/p2p/p2p_sd.c
22,232
utf_8
018a0a38370b96402bd85d263c3d953c
/* * Wi-Fi Direct - P2P service discovery * See README for more details. */ #include "includes.h" #include "common.h" #include "common/ieee802_11_defs.h" #include "common/gas.h" #include "p2p_i.h" #include "p2p.h" #ifdef CONFIG_WIFI_DISPLAY static int wfd_wsd_supported(struct wpabuf *wfd) { const u8 *pos, *end; u8...
google
android
p2p_pd
.c
platform/external/wpa_supplicant_8/src/p2p/p2p_pd.c
50,327
utf_8
dceec98c27b59ee5c6964bba69dcf71f
/* * Wi-Fi Direct - P2P provision discovery * See README for more details. */ #include "includes.h" #include "common.h" #include "common/ieee802_11_defs.h" #include "common/wpa_ctrl.h" #include "wps/wps_defs.h" #include "p2p_i.h" #include "p2p.h" /* * Number of retries to attempt for provision discovery requests *...
google
android
p2p_utils
.c
platform/external/wpa_supplicant_8/src/p2p/p2p_utils.c
13,074
utf_8
7428bb9645270a12465c6ce611769e35
/* * P2P - generic helper functions * See README for more details. */ #include "includes.h" #include "common.h" #include "common/defs.h" #include "common/ieee802_11_common.h" #include "p2p_i.h" /** * p2p_random - Generate random string for SSID and passphrase * Returns: 0 on success, -1 on failure * * This funct...
google
android
p2p_build
.c
platform/external/wpa_supplicant_8/src/p2p/p2p_build.c
22,748
utf_8
41784cba563cb53b4820539bcdc4fd9c
/* * P2P - IE builder * See README for more details. */ #include "includes.h" #include "common.h" #include "common/ieee802_11_defs.h" #include "common/qca-vendor.h" #include "wps/wps_i.h" #include "p2p_i.h" void p2p_buf_add_action_hdr(struct wpabuf *buf, u8 subtype, u8 dialog_token) { wpabuf_put_u8(buf, WLAN_ACTION...
google
android
p2p_go_neg
.c
platform/external/wpa_supplicant_8/src/p2p/p2p_go_neg.c
46,500
utf_8
b567424711499006e6424bfc2d41fceb
/* * Wi-Fi Direct - P2P Group Owner Negotiation * See README for more details. */ #include "includes.h" #include "common.h" #include "utils/eloop.h" #include "common/ieee802_11_defs.h" #include "common/wpa_ctrl.h" #include "wps/wps_defs.h" #include "p2p_i.h" #include "p2p.h" static int p2p_go_det(u8 own_intent, u8 p...
google
android
wpa_auth
.c
platform/external/wpa_supplicant_8/src/ap/wpa_auth.c
159,369
utf_8
487e9c46535a5035f9721696e8cf441e
/* * IEEE 802.11 RSN / WPA Authenticator * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/eloop.h" #include "utils/state_machine.h" #include "utils/bitfield.h" #include "common/ieee802_11_defs.h" #include "common/ocv.h" #include "common/dpp.h" #include "common/w...
google
android
rrm
.c
platform/external/wpa_supplicant_8/src/ap/rrm.c
17,680
utf_8
a662ed944ade03e5ce735c3b743a709c
/* * hostapd / Radio Measurement (RRM) * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "common/wpa_ctrl.h" #include "hostapd.h" #include "ap_drv_ops.h" #include "sta_info.h" #include "eloop.h" #include "neighbor_db.h" #include "rrm.h" #define HOSTAPD_RRM_REQUEST_TIMEO...
google
android
drv_callbacks
.c
platform/external/wpa_supplicant_8/src/ap/drv_callbacks.c
59,534
utf_8
2a6a6f211715c4f7b79852a292c05b82
/* * hostapd / Callback functions for driver wrappers * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/eloop.h" #include "radius/radius.h" #include "drivers/driver.h" #include "common/ieee802_11_defs.h" #include "common/ieee802_11_common.h" #include "common/wpa_...
google
android
dpp_hostapd
.c
platform/external/wpa_supplicant_8/src/ap/dpp_hostapd.c
85,743
utf_8
5920ca00e20098333ec79b707f02ea3c
/* * hostapd / DPP integration * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/eloop.h" #include "common/dpp.h" #include "common/gas.h" #include "common/wpa_ctrl.h" #include "hostapd.h" #include "ap_drv_ops.h" #include "gas_query_ap.h" #include "gas_serv.h" #in...
google
android
bss_load
.c
platform/external/wpa_supplicant_8/src/ap/bss_load.c
2,462
utf_8
7baf4fef3d52129a3902867e75c2e556
/* * BSS Load Element / Channel Utilization * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/eloop.h" #include "hostapd.h" #include "bss_load.h" #include "ap_drv_ops.h" #include "beacon.h" static int get_bss_load_update_timeout(struct hostapd_data *hapd, ...
google
android
eap_user_db
.c
platform/external/wpa_supplicant_8/src/ap/eap_user_db.c
8,113
utf_8
22ba01621649566a4d0589a9fb368e9f
/* * hostapd / EAP user database * See README for more details. */ #include "includes.h" #ifdef CONFIG_SQLITE #include <sqlite3.h> #endif /* CONFIG_SQLITE */ #include "common.h" #include "eap_common/eap_wsc_common.h" #include "eap_server/eap_methods.h" #include "eap_server/eap.h" #include "ap_config.h" #include "hos...
google
android
sta_info
.c
platform/external/wpa_supplicant_8/src/ap/sta_info.c
44,656
utf_8
1cb452de17c5230c86611c2a48a929d3
/* * hostapd / Station table * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/eloop.h" #include "common/ieee802_11_defs.h" #include "common/wpa_ctrl.h" #include "common/sae.h" #include "common/dpp.h" #include "radius/radius.h" #include "radius/radius_client.h" #...
google
android
acs
.c
platform/external/wpa_supplicant_8/src/ap/acs.c
34,038
utf_8
a6de5c6365ca708a9991b4d50c47a59d
/* * ACS - Automatic Channel Selection module * See README for more details. */ #include "utils/includes.h" #include <math.h> #include "utils/common.h" #include "utils/list.h" #include "common/ieee802_11_defs.h" #include "common/hw_features_common.h" #include "common/wpa_ctrl.h" #include "drivers/driver.h" #include ...
google
android
hostapd
.c
platform/external/wpa_supplicant_8/src/ap/hostapd.c
100,947
utf_8
90f50ac904e534cc3b62270aedbd8951
/* * hostapd / Initialization and configuration * See README for more details. */ #include "utils/includes.h" #ifdef CONFIG_SQLITE #include <sqlite3.h> #endif /* CONFIG_SQLITE */ #include "utils/common.h" #include "utils/eloop.h" #include "utils/crc32.h" #include "common/ieee802_11_defs.h" #include "common/wpa_ctrl....
google
android
p2p_hostapd
.c
platform/external/wpa_supplicant_8/src/ap/p2p_hostapd.c
2,632
utf_8
b009ba7199339048666dffe3173fc582
/* * hostapd / P2P integration * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "common/ieee802_11_defs.h" #include "p2p/p2p.h" #include "hostapd.h" #include "ap_config.h" #include "ap_drv_ops.h" #include "sta_info.h" #include "p2p_hostapd.h" #ifdef CONFIG_P2P int host...
google
android
wpa_auth_kay
.c
platform/external/wpa_supplicant_8/src/ap/wpa_auth_kay.c
12,572
utf_8
01c8b5258828eff4eb873a91a2a4c705
/* * IEEE 802.1X-2010 KaY Interface * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "pae/ieee802_1x_key.h" #include "pae/ieee802_1x_kay.h" #include "hostapd.h" #include "sta_info.h" #include "wpa_auth_kay.h" #include "ieee802_1x.h" #define DEFAULT_KEY_LEN 16 /* secur...
google
android
ctrl_iface_ap
.c
platform/external/wpa_supplicant_8/src/ap/ctrl_iface_ap.c
34,561
utf_8
d445a40760b289305044fe4bbcb6eb17
/* * Control interface for shared AP commands * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "common/ieee802_11_defs.h" #include "common/sae.h" #include "eapol_auth/eapol_auth_sm.h" #include "fst/fst_ctrl_iface.h" #include "hostapd.h" #include "ieee802_1x.h" #include...
google
android
ieee802_11_shared
.c
platform/external/wpa_supplicant_8/src/ap/ieee802_11_shared.c
27,814
utf_8
52f11655a2cf5262f13d212b06f01aab
/* * hostapd / IEEE 802.11 Management * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "common/ieee802_11_defs.h" #include "common/ocv.h" #include "common/wpa_ctrl.h" #include "hostapd.h" #include "sta_info.h" #include "ap_config.h" #include "ap_drv_ops.h" #include "wp...
google
android
ieee802_11_eht
.c
platform/external/wpa_supplicant_8/src/ap/ieee802_11_eht.c
8,903
utf_8
e8758a7551a795fdcfef49874eae9eb6
/* * hostapd / IEEE 802.11be EHT * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "hostapd.h" #include "sta_info.h" #include "ieee802_11.h" static u16 ieee80211_eht_ppet_size(u16 ppe_thres_hdr, const u8 *phy_cap_info) { u8 ru; u16 sz = 0; if ((phy_cap_info[EHT_PHYCA...
google
android
vlan_ioctl
.c
platform/external/wpa_supplicant_8/src/ap/vlan_ioctl.c
3,838
utf_8
83c31e53ddd67c48cd6c97ec8e27c225
/* * hostapd / VLAN ioctl API * See README for more details. */ #include "utils/includes.h" #include <sys/ioctl.h> #include "utils/common.h" #include "common/linux_vlan.h" #include "vlan_util.h" int vlan_rem(const char *if_name) { int fd; struct vlan_ioctl_args if_request; wpa_printf(MSG_DEBUG, "VLAN: vlan_rem(%s...
google
android
vlan
.c
platform/external/wpa_supplicant_8/src/ap/vlan.c
756
utf_8
97cb6acd4d5b253e083a906f1d5695a4
/* * hostapd / VLAN definition * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "ap/vlan.h" /* compare the two arguments, NULL is treated as empty * return zero iff they are equal */ int vlan_compare(struct vlan_description *a, struct vlan_description *b) { int i; ...
google
android
wpa_auth_glue
.c
platform/external/wpa_supplicant_8/src/ap/wpa_auth_glue.c
45,376
utf_8
0295e39ceb4fed2c90947e8aa00b1942
/* * hostapd / WPA authenticator glue code * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/eloop.h" #include "utils/list.h" #include "common/ieee802_11_defs.h" #include "common/sae.h" #include "common/wpa_ctrl.h" #include "common/ptksa_cache.h" #include "crypto...
google
android
ieee802_11_ht
.c
platform/external/wpa_supplicant_8/src/ap/ieee802_11_ht.c
16,187
utf_8
a0f5a7d825bba49a80c11c0cfa3123f9
/* * hostapd / IEEE 802.11n HT * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/eloop.h" #include "common/ieee802_11_defs.h" #include "hostapd.h" #include "ap_config.h" #include "sta_info.h" #include "beacon.h" #include "ieee802_11.h" #include "hw_features.h" #i...
google
android
ap_list
.c
platform/external/wpa_supplicant_8/src/ap/ap_list.c
6,871
utf_8
89549518976871d2d14e64a3e2b676f2
/* * hostapd / AP table * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/eloop.h" #include "common/ieee802_11_defs.h" #include "common/ieee802_11_common.h" #include "hostapd.h" #include "ap_config.h" #include "ieee802_11.h" #include "sta_info.h" #include "beacon...
google
android
eth_p_oui
.c
platform/external/wpa_supplicant_8/src/ap/eth_p_oui.c
4,549
utf_8
f2e92d979a9053c14d7fc9efd09ac1c9
/* * hostapd / IEEE 802 OUI Extended EtherType 88-B7 * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/eloop.h" #include "l2_packet/l2_packet.h" #include "hostapd.h" #include "eth_p_oui.h" /* * See IEEE Std 802-2014, Clause 9.2.4 for the definition of the OUI Ex...
google
android
utils
.c
platform/external/wpa_supplicant_8/src/ap/utils.c
2,459
utf_8
8ce5326ebcb4681aa898e1cf3cfe8f2d
/* * AP mode helper functions * See README for more details. */ #include "includes.h" #include "common.h" #include "common/ieee802_11_defs.h" #include "fst/fst.h" #include "sta_info.h" #include "hostapd.h" int hostapd_register_probereq_cb(struct hostapd_data *hapd, int (*cb)(void *ctx, const u8 *sa, con...
google
android
wnm_ap
.c
platform/external/wpa_supplicant_8/src/ap/wnm_ap.c
26,311
utf_8
292c5356283b0a245cdb21533c370aa1
/* * hostapd - WNM * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/eloop.h" #include "common/ieee802_11_defs.h" #include "common/wpa_ctrl.h" #include "common/ocv.h" #include "ap/hostapd.h" #include "ap/sta_info.h" #include "ap/ap_config.h" #include "ap/ap_drv_o...
google
android
ieee802_11_he
.c
platform/external/wpa_supplicant_8/src/ap/ieee802_11_he.c
14,671
utf_8
203ade249698d95129befd6abfbde141
/* * hostapd / IEEE 802.11ax HE * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "common/ieee802_11_defs.h" #include "common/ieee802_11_common.h" #include "hostapd.h" #include "ap_config.h" #include "beacon.h" #include "sta_info.h" #include "ieee802_11.h" #include "dfs...
google
android
hs20
.c
platform/external/wpa_supplicant_8/src/ap/hs20.c
6,453
utf_8
a88ad450222f3b59da65d91ab823aa61
/* * Hotspot 2.0 AP ANQP processing * See README for more details. */ #include "includes.h" #include "common.h" #include "common/ieee802_11_defs.h" #include "common/wpa_ctrl.h" #include "hostapd.h" #include "ap_config.h" #include "ap_drv_ops.h" #include "sta_info.h" #include "hs20.h" u8 * hostapd_eid_hs20_indication...
google
android
beacon
.c
platform/external/wpa_supplicant_8/src/ap/beacon.c
56,708
utf_8
d49935578f9de63b028488f99aa7b1d2
/* * hostapd / IEEE 802.11 Management: Beacon and Probe Request/Response * See README for more details. */ #include "utils/includes.h" #ifndef CONFIG_NATIVE_WINDOWS #include "utils/common.h" #include "common/ieee802_11_defs.h" #include "common/ieee802_11_common.h" #include "common/hw_features_common.h" #include "com...
google
android
vlan_ifconfig
.c
platform/external/wpa_supplicant_8/src/ap/vlan_ifconfig.c
1,503
utf_8
d849be65cfb29fe78fc6aad566a45704
/* * hostapd / VLAN ifconfig helpers * See README for more details. */ #include "utils/includes.h" #include <net/if.h> #include <sys/ioctl.h> #include "utils/common.h" #include "vlan_util.h" int ifconfig_helper(const char *if_name, int up) { int fd; struct ifreq ifr; if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0...
google
android
wps_hostapd
.c
platform/external/wpa_supplicant_8/src/ap/wps_hostapd.c
61,259
utf_8
405cc38231d986cabe0c69242910b0c7
/* * hostapd / WPS integration * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/eloop.h" #include "utils/uuid.h" #include "common/wpa_ctrl.h" #include "common/ieee802_11_defs.h" #include "common/ieee802_11_common.h" #include "eapol_auth/eapol_auth_sm.h" #include...
google
android
dfs
.c
platform/external/wpa_supplicant_8/src/ap/dfs.c
43,948
utf_8
692c38c1df05b09af389205d26c821dc
/* * DFS - Dynamic Frequency Selection * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "common/ieee802_11_defs.h" #include "common/hw_features_common.h" #include "common/wpa_ctrl.h" #include "hostapd.h" #include "ap_drv_ops.h" #include "drivers/driver.h" #include "dfs...
google
android
neighbor_db
.c
platform/external/wpa_supplicant_8/src/ap/neighbor_db.c
8,211
utf_8
f2402fe13aa4306a7fa294b73deb6c6b
/* * hostapd / Neighboring APs DB * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/crc32.h" #include "hostapd.h" #include "ieee802_11.h" #include "neighbor_db.h" struct hostapd_neighbor_entry * hostapd_neighbor_get(struct hostapd_data *hapd, const u8 *bssid, ...
google
android
pmksa_cache_auth
.c
platform/external/wpa_supplicant_8/src/ap/pmksa_cache_auth.c
19,415
utf_8
bf06b55a4bb1c1f8ad5c245ae3e2d9a2
/* * hostapd - PMKSA cache for IEEE 802.11i RSN * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/eloop.h" #include "eapol_auth/eapol_auth_sm.h" #include "eapol_auth/eapol_auth_sm_i.h" #include "radius/radius_das.h" #include "sta_info.h" #include "ap_config.h" #i...
google
android
gas_query_ap
.c
platform/external/wpa_supplicant_8/src/ap/gas_query_ap.c
19,996
utf_8
12aae163bc6fe9ae5bd8c7b880cd4753
/* * Generic advertisement service (GAS) query (hostapd) * See README for more details. */ #include "includes.h" #include "common.h" #include "utils/eloop.h" #include "utils/list.h" #include "common/ieee802_11_defs.h" #include "common/gas.h" #include "common/wpa_ctrl.h" #include "hostapd.h" #include "sta_info.h" #in...
google
android
ieee802_11_auth
.c
platform/external/wpa_supplicant_8/src/ap/ieee802_11_auth.c
19,801
utf_8
027378d11aaf64106d89472b560c09e9
/* * hostapd / IEEE 802.11 authentication (ACL) * See README for more details. * * Access control list for IEEE 802.11 authentication can uses statically * configured ACL from configuration files or an external RADIUS server. * Results from external RADIUS queries are cached to allow faster * authentication fram...
google
android
wpa_auth_ft
.c
platform/external/wpa_supplicant_8/src/ap/wpa_auth_ft.c
130,199
utf_8
def54568039db5c6f14cfbc4569eaf47
/* * hostapd - IEEE 802.11r - Fast BSS Transition * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/eloop.h" #include "utils/list.h" #include "common/ieee802_11_defs.h" #include "common/ieee802_11_common.h" #include "common/ocv.h" #include "common/wpa_ctrl.h" #in...
google
android
vlan_util
.c
platform/external/wpa_supplicant_8/src/ap/vlan_util.c
3,989
utf_8
1bf25a9ed21fd71b4d239a15ccb63356
/* * hostapd / VLAN netlink api * See README for more details. */ #include "utils/includes.h" #include <netlink/route/link.h> #include <netlink/route/link/vlan.h> #include "utils/common.h" #include "vlan_util.h" /* * Add a vlan interface with name 'vlan_if_name', VLAN ID 'vid' and * tagged interface 'if_name'. * ...
google
android
fils_hlp
.c
platform/external/wpa_supplicant_8/src/ap/fils_hlp.c
17,230
utf_8
d10c60054b33339ddafd96a2519d1266
/* * FILS HLP request processing * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/eloop.h" #include "common/dhcp.h" #include "hostapd.h" #include "sta_info.h" #include "ieee802_11.h" #include "fils_hlp.h" static be16 ip_checksum(const void *buf, size_t len) { u...
google
android
ndisc_snoop
.c
platform/external/wpa_supplicant_8/src/ap/ndisc_snoop.c
4,448
utf_8
de4862eaaaf06303caefed2ef2ce04e0
/* * Neighbor Discovery snooping for Proxy ARP * See README for more details. */ #include "utils/includes.h" #include <netinet/ip6.h> #include <netinet/icmp6.h> #include "utils/common.h" #include "l2_packet/l2_packet.h" #include "hostapd.h" #include "sta_info.h" #include "ap_drv_ops.h" #include "list.h" #include "x_...
google
android
x_snoop
.c
platform/external/wpa_supplicant_8/src/ap/x_snoop.c
3,289
utf_8
1f744c8de46d442f505c352deabe6b51
/* * Generic Snooping for Proxy ARP * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "hostapd.h" #include "sta_info.h" #include "ap_drv_ops.h" #include "x_snoop.h" int x_snoop_init(struct hostapd_data *hapd) { struct hostapd_bss_config *conf = hapd->conf; if (!conf->...
google
android
ap_drv_ops
.c
platform/external/wpa_supplicant_8/src/ap/ap_drv_ops.c
28,040
utf_8
fd47f4c3872c1cec9173a2663b7c3d9c
/* * hostapd - Driver operations * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "common/ieee802_11_defs.h" #include "common/ieee802_11_common.h" #include "common/hw_features_common.h" #include "wps/wps.h" #include "p2p/p2p.h" #include "hostapd.h" #include "ieee802_11...
google
android
vlan_init
.c
platform/external/wpa_supplicant_8/src/ap/vlan_init.c
6,064
utf_8
7ceca49a0e8aeef736fce384df0caca8
/* * hostapd / VLAN initialization * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "hostapd.h" #include "ap_config.h" #include "ap_drv_ops.h" #include "wpa_auth.h" #include "vlan_init.h" #include "vlan_util.h" static int vlan_if_add(struct hostapd_data *hapd, struct h...
google
android
ieee802_1x
.c
platform/external/wpa_supplicant_8/src/ap/ieee802_1x.c
83,859
utf_8
bc08c5c240b269c3e3c01edf75443cdf
/* * hostapd / IEEE 802.1X-2004 Authenticator * See README for more details. */ #include "utils/includes.h" #ifdef CONFIG_SQLITE #include <sqlite3.h> #endif /* CONFIG_SQLITE */ #include "utils/common.h" #include "utils/eloop.h" #include "crypto/md5.h" #include "crypto/crypto.h" #include "crypto/random.h" #include "c...
google
android
wmm
.c
platform/external/wpa_supplicant_8/src/ap/wmm.c
11,905
utf_8
879d2be438dcbd8f5a0cd45a72d54d8d
/* * hostapd / WMM (Wi-Fi Multimedia) * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "common/ieee802_11_defs.h" #include "common/ieee802_11_common.h" #include "hostapd.h" #include "ieee802_11.h" #include "sta_info.h" #include "ap_config.h" #include "ap_drv_ops.h" #in...
google
android
airtime_policy
.c
platform/external/wpa_supplicant_8/src/ap/airtime_policy.c
7,100
utf_8
8dd36b25453237d8121b33078529a44a
/* * Airtime policy configuration * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/eloop.h" #include "hostapd.h" #include "ap_drv_ops.h" #include "sta_info.h" #include "airtime_policy.h" /* Idea: * Two modes of airtime enforcement: * 1. Static weights: specify...
google
android
wpa_auth_ie
.c
platform/external/wpa_supplicant_8/src/ap/wpa_auth_ie.c
34,175
utf_8
7e9a54027bb6d8a35b18f64ccc640e13
/* * hostapd - WPA/RSN IE and KDE definitions * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "common/ieee802_11_defs.h" #include "eapol_auth/eapol_auth_sm.h" #include "ap_config.h" #include "ieee802_11.h" #include "wpa_auth.h" #include "pmksa_cache_auth.h" #include "...
google
android
authsrv
.c
platform/external/wpa_supplicant_8/src/ap/authsrv.c
11,134
utf_8
ea94c204a8245665efcef92086697155
/* * Authentication server setup * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "crypto/crypto.h" #include "crypto/tls.h" #include "eap_server/eap.h" #include "eap_server/eap_sim_db.h" #include "eapol_auth/eapol_auth_sm.h" #include "radius/radius_server.h" #include "...
google
android
gas_serv
.c
platform/external/wpa_supplicant_8/src/ap/gas_serv.c
51,788
utf_8
ca430915a316996b611f400e145400fd
/* * Generic advertisement service (GAS) server * See README for more details. */ #include "includes.h" #include "common.h" #include "common/ieee802_11_defs.h" #include "common/gas.h" #include "common/wpa_ctrl.h" #include "utils/eloop.h" #include "hostapd.h" #include "ap_config.h" #include "ap_drv_ops.h" #include "d...
google
android
ap_mlme
.c
platform/external/wpa_supplicant_8/src/ap/ap_mlme.c
5,776
utf_8
8d351d381a237761527c251c2a5bab08
/* * hostapd / IEEE 802.11 MLME * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "common/ieee802_11_defs.h" #include "ieee802_11.h" #include "wpa_auth.h" #include "sta_info.h" #include "ap_mlme.h" #include "hostapd.h" #ifndef CONFIG_NO_HOSTAPD_LOGGER static const char ...
google
android
dhcp_snoop
.c
platform/external/wpa_supplicant_8/src/ap/dhcp_snoop.c
3,480
utf_8
0659c81bca8d485d98c4c564981a4282
/* * DHCP snooping for Proxy ARP * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "common/dhcp.h" #include "l2_packet/l2_packet.h" #include "hostapd.h" #include "sta_info.h" #include "ap_drv_ops.h" #include "x_snoop.h" #include "dhcp_snoop.h" static const char * ipaddr...
google
android
accounting
.c
platform/external/wpa_supplicant_8/src/ap/accounting.c
14,883
utf_8
3c0fa9a353cf1ffe5ec8375ada90de25
/* * hostapd / RADIUS Accounting * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/eloop.h" #include "eapol_auth/eapol_auth_sm.h" #include "eapol_auth/eapol_auth_sm_i.h" #include "radius/radius.h" #include "radius/radius_client.h" #include "hostapd.h" #include "i...
google
android
taxonomy
.c
platform/external/wpa_supplicant_8/src/ap/taxonomy.c
7,625
utf_8
b726802410941c206fdec8b9fc78f049
/* * hostapd / Client taxonomy * See README for more details. * * Parse a series of IEs, as in Probe Request or (Re)Association Request frames, * and render them to a descriptive string. The tag number of standard options * is written to the string, while the vendor ID and subtag are written for * vendor options...
google
android
mbo_ap
.c
platform/external/wpa_supplicant_8/src/ap/mbo_ap.c
5,349
utf_8
f4724bade3cdb9f881be29384d0e451f
/* * hostapd - MBO * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "common/ieee802_11_defs.h" #include "common/ieee802_11_common.h" #include "hostapd.h" #include "sta_info.h" #include "mbo_ap.h" void mbo_ap_sta_free(struct sta_info *sta) { struct mbo_non_pref_chan_in...
google
android
vlan_full
.c
platform/external/wpa_supplicant_8/src/ap/vlan_full.c
18,791
utf_8
2326f98328ece30bc5969da0fa27b6eb
/* * hostapd / VLAN initialization - full dynamic VLAN #undef if_type #include <sys/ioctl.h> #include "utils/common.h" #include "drivers/priv_netlink.h" #include "drivers/linux_ioctl.h" #include "common/linux_bridge.h" #include "common/linux_vlan.h" #include "utils/eloop.h" #include "hostapd.h" #include "ap_config.h" ...
google
android
ap_config
.c
platform/external/wpa_supplicant_8/src/ap/ap_config.c
42,948
utf_8
25062cf3dd8e590e489fd3c9ff1c5978
/* * hostapd / Configuration helper functions * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "crypto/sha1.h" #include "crypto/tls.h" #include "radius/radius_client.h" #include "common/ieee802_11_defs.h" #include "common/ieee802_1x_defs.h" #include "common/eapol_commo...
google
android
ieee802_11
.c
platform/external/wpa_supplicant_8/src/ap/ieee802_11.c
212,587
utf_8
a24ea0a287066cee8fa0a1bf6174c108
/* * hostapd / IEEE 802.11 Management * See README for more details. */ #include "utils/includes.h" #ifndef CONFIG_NATIVE_WINDOWS #include "utils/common.h" #include "utils/eloop.h" #include "crypto/crypto.h" #include "crypto/sha256.h" #include "crypto/sha384.h" #include "crypto/sha512.h" #include "crypto/random.h" #...
google
android
preauth_auth
.c
platform/external/wpa_supplicant_8/src/ap/preauth_auth.c
6,626
utf_8
f1c4aa7295904612b61860dd3a057994
/* * hostapd - Authenticator for IEEE 802.11i RSN pre-authentication * See README for more details. */ #include "utils/includes.h" #ifdef CONFIG_RSN_PREAUTH #include "utils/common.h" #include "utils/eloop.h" #include "l2_packet/l2_packet.h" #include "common/wpa_common.h" #include "eapol_auth/eapol_auth_sm.h" #includ...
google
android
ieee802_11_vht
.c
platform/external/wpa_supplicant_8/src/ap/ieee802_11_vht.c
9,701
utf_8
0f34efd0a27a6e61fb80bfb60a4e2228
/* * hostapd / IEEE 802.11ac VHT */ #include "utils/includes.h" #include "utils/common.h" #include "common/ieee802_11_defs.h" #include "hostapd.h" #include "ap_config.h" #include "sta_info.h" #include "beacon.h" #include "ieee802_11.h" #include "dfs.h" u8 * hostapd_eid_vht_capabilities(struct hostapd_data *hapd, u8 *...
google
android
hw_features
.c
platform/external/wpa_supplicant_8/src/ap/hw_features.c
31,791
utf_8
460685e40ac60dd6f84b09d917111aaf
/* * hostapd / Hardware feature query and different modes * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/eloop.h" #include "common/ieee802_11_defs.h" #include "common/ieee802_11_common.h" #include "common/wpa_ctrl.h" #include "common/hw_features_common.h" #inc...
google
android
tkip_countermeasures
.c
platform/external/wpa_supplicant_8/src/ap/tkip_countermeasures.c
3,020
utf_8
d665d9592c0659378a47d700408d587c
/* * hostapd / TKIP countermeasures * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/eloop.h" #include "common/ieee802_11_defs.h" #include "radius/radius.h" #include "hostapd.h" #include "sta_info.h" #include "ap_mlme.h" #include "wpa_auth.h" #include "ap_drv_op...
google
android
nt_password_hash
.c
platform/external/wpa_supplicant_8/hostapd/nt_password_hash.c
922
utf_8
d829d50362f72be56bddd0d08e474442
/* * hostapd - Plaintext password to NtPasswordHash * See README for more details. */ #include "includes.h" #include "common.h" #include "crypto/ms_funcs.h" int main(int argc, char *argv[]) { unsigned char password_hash[16]; size_t i; char *password, buf[64], *pos; if (argc > 1) password = argv[1]; else { i...
google
android
hostapd_cli
.c
platform/external/wpa_supplicant_8/hostapd/hostapd_cli.c
53,663
utf_8
8ee6e45aeb50f500823966088a6eede3
/* * hostapd - command line interface for hostapd daemon * See README for more details. */ #include "includes.h" #include <dirent.h> #include "common/wpa_ctrl.h" #include "common/ieee802_11_defs.h" #include "utils/common.h" #include "utils/eloop.h" #include "utils/edit.h" #include "common/version.h" #include "common...
google
android
hapd_module_tests
.c
platform/external/wpa_supplicant_8/hostapd/hapd_module_tests.c
364
utf_8
ba11138659b0213a13d2869aea8fd66b
/* * hostapd module tests * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/module_tests.h" int hapd_module_tests(void) { wpa_printf(MSG_INFO, "hostapd module tests"); return 0; }
google
android
main
.c
platform/external/wpa_supplicant_8/hostapd/main.c
23,414
utf_8
f19459b89259599e50c55f14cd0c0645
/* * hostapd / main() * See README for more details. */ #include "utils/includes.h" #ifndef CONFIG_NATIVE_WINDOWS #include <syslog.h> #include <grp.h> #endif /* CONFIG_NATIVE_WINDOWS */ #include "utils/common.h" #include "utils/eloop.h" #include "utils/uuid.h" #include "crypto/crypto.h" #include "crypto/random.h" #i...
google
android
eap_register
.c
platform/external/wpa_supplicant_8/hostapd/eap_register.c
3,313
utf_8
37167f5920c8503b9095a404e7d7b4d8
/* * EAP method registration * See README for more details. */ #include "includes.h" #include "common.h" #include "eap_server/eap_methods.h" #include "eap_register.h" /** * eap_server_register_methods - Register statically linked EAP server methods * Returns: 0 on success, -1 or -2 on failure * * This function i...
google
android
config_file
.c
platform/external/wpa_supplicant_8/hostapd/config_file.c
141,454
utf_8
e824a0e14a6f05f253931181d340c23f
/* * hostapd / Configuration file parser * See README for more details. */ #include "utils/includes.h" #ifndef CONFIG_NATIVE_WINDOWS #include <grp.h> #endif /* CONFIG_NATIVE_WINDOWS */ #include "utils/common.h" #include "utils/uuid.h" #include "utils/crc32.h" #include "common/ieee802_11_defs.h" #include "common/sae....
google
android
sae_pk_gen
.c
platform/external/wpa_supplicant_8/hostapd/sae_pk_gen.c
4,551
utf_8
c5927269970f2ed921afd14ad67343d0
/* * SAE-PK password/modifier generator * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/base64.h" #include "crypto/crypto.h" #include "common/sae.h" int main(int argc, char *argv[]) { char *der = NULL; size_t der_len; struct crypto_ec_key *key = NULL; struc...
google
android
ctrl_iface
.c
platform/external/wpa_supplicant_8/hostapd/ctrl_iface.c
124,888
utf_8
05394d7a6dd3cc4c1f1b737a1d41f48c
/* * hostapd / UNIX domain socket -based control interface #include <net/if_ether.h> #else #include <net/ethernet.h> #endif #include <netinet/ip.h> #endif /* CONFIG_TESTING_OPTIONS */ #include <sys/un.h> #include <sys/stat.h> #include <stddef.h> #ifdef CONFIG_CTRL_IFACE_UDP #include <netdb.h> #endif /* CONFIG_CTRL_IFA...
google
android
hlr_auc_gw
.c
platform/external/wpa_supplicant_8/hostapd/hlr_auc_gw.c
24,556
utf_8
c2aca1c2deec6f0da7c101f3208bf33a
/* * HLR/AuC testing gateway for hostapd EAP-SIM/AKA database/authenticator * See README for more details. * * This is an example implementation of the EAP-SIM/AKA database/authentication * gateway interface to HLR/AuC. It is expected to be replaced with an * implementation of SS7 gateway to GSM/UMTS authenticati...
google
android
driver
.c
platform/external/fff/examples/driver_testing/driver.c
463
utf_8
af8958db7108f2a02879cc0d98d0858f
#include "hardware_abstraction.h" #include "registers.h" void driver_write(uint8_t val) { IO_MEM_WR8(DRIVER_OUTPUT_REGISTER, val); } uint8_t driver_read() { return IO_MEM_RD8(DRIVER_INPUT_REGISTER); } void driver_init_device() { uint8_t hw_version = IO_MEM_RD8(HARDWARE_VERSION_REGISTER); if(HARDWAR...
google
android
UI
.c
platform/external/fff/examples/embedded_ui/UI.c
746
utf_8
28124d217ffdb35b7e2867621ef91b03
#include "UI.h" #include "DISPLAY.h" #include "SYSTEM.h" #include <string.h> static unsigned int missed_irq_counter; button_cbk_t button_cbk; void UI_init() { DISPLAY_init(); SYSTEM_register_irq(UI_button_irq_handler, IRQ_GPIO_2); button_cbk = 0; missed_irq_counter = 0; } unsigned int UI_get_missed_...
google
android
UI_test_ansic
.c
platform/external/fff/examples/embedded_ui/UI_test_ansic.c
5,110
utf_8
996f529aa3912da870cec6a97b49ee49
#include "UI.h" #include "../../fff.h" #include "SYSTEM.h" #include "DISPLAY.h" #include <assert.h> #include <stdio.h> #include <string.h> /* Test Framework :-) */ void setup(); #define TEST_F(SUITE, NAME) void NAME() #define RUN_TEST(SUITE, TESTNAME) printf(" Running %s.%s: \n", #SUITE, #TESTNAME); setup(); TESTNAME...
google
android
test_suite_template
.c
platform/external/fff/examples/embedded_ui/test_suite_template.c
511
utf_8
c57e7d083e81ef86a6d5820953c1adf6
#include "../../test/c_test_framework.h" /* Initialializers called for every test */ void setup() { } /* Tests go here */ TEST_F(GreeterTests, hello_world) { assert(1 == 0); } int main() { setbuf(stderr, NULL); fprintf(stdout, "-------------\n"); fprintf(stdout, "Running Tests\n"); fprintf(stdout, "---------...
google
android
fff_test_global_c
.c
platform/external/fff/test/fff_test_global_c.c
3,236
utf_8
cf17ca7c45ca3d3cbc037314fb876ea8
#include "global_fakes.h" #include "c_test_framework.h" DEFINE_FFF_GLOBALS; void setup() { RESET_FAKE(voidfunc1); RESET_FAKE(voidfunc2); RESET_FAKE(voidfunc1outparam); RESET_FAKE(longfunc0); RESET_FAKE(enumfunc0); RESET_FAKE(structfunc0); RESET_FAKE(voidfunc3var); RESET_FAKE(valuefu...
google
android
global_fakes
.c
platform/external/fff/test/global_fakes.c
890
utf_8
90e84369d3328216e8ea289193bdc0f0
#include "global_fakes.h" #include <string.h> // for memcpy DEFINE_FAKE_VOID_FUNC(voidfunc1, int); DEFINE_FAKE_VOID_FUNC(voidfunc2, char, char); DEFINE_FAKE_VOID_FUNC(voidfunc1outparam, char *); DEFINE_FAKE_VALUE_FUNC(long, longfunc0); DEFINE_FAKE_VALUE_FUNC(enum MYBOOL, enumfunc0); DEFINE_FAKE_VALUE_FUNC(struct MySt...
google
android
fff_test_c
.c
platform/external/fff/test/fff_test_c.c
4,691
utf_8
c9d2fcf7b9253206bcf010ee2fcab066
// Want to keep the argument history for 13 calls #define OVERRIDE_ARG_HIST_LEN 13u #define FFF_ARG_HISTORY_LEN OVERRIDE_ARG_HIST_LEN // Want to keep the call sequence history for 17 function calls #define OVERRIDE_CALL_HIST_LEN 17u #define FFF_CALL_HISTORY_LEN OVERRIDE_CALL_HIST_LEN #include "../fff.h" #include "c_t...
google
android
xcode_hack
.c
platform/external/chromium_org/media/base/simd/xcode_hack.c
390
utf_8
43cc0e90215689de2f9c7a0f5a62664e
// XCode doesn't want to link a pure assembly target and will fail // to link when it creates an empty file list. So add a dummy file // keep the linker happy. See http://crbug.com/157073 int xcode_sucks() { return 0; }
google
android
error_handling
.c
platform/external/chromium_org/native_client_sdk/src/libraries/error_handling/error_handling.c
7,070
utf_8
850e89c9e096c8fe184a95c5ddf05e86
#include <assert.h> #include <inttypes.h> #include <pthread.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/mman.h> #include <unistd.h> #ifdef __GLIBC__ #include <elf.h> #include <link.h> #endif /* __GLIBC__ */ #include "irt.h" #include "nacl/nacl_exception.h" #include "error_handling/error...
google
android
string_stream
.c
platform/external/chromium_org/native_client_sdk/src/libraries/error_handling/string_stream.c
1,092
utf_8
8a8776b8f5a9b1b9576ff57a8ada8351
#include <stdlib.h> #include <stdio.h> #include <string.h> #include "error_handling/string_stream.h" void ssinit(sstream_t* stream) { stream->data = NULL; stream->length = 0; } void ssfree(sstream_t* stream) { free(stream->data); stream->data = 0; stream->length = 0; } int ssvprintf(sstream_t* stream, const c...
google
android
ppapi_externs
.c
platform/external/chromium_org/native_client_sdk/src/libraries/ppapi/ppapi_externs.c
118
utf_8
79de364386b0399c95ecbdb07190e66a
#include "ppapi/c/ppp.h" /* Add a global symbol to force the linker to generate a LIB. */ const char *g_BogusSymbol;
google
android
report
.c
platform/external/chromium_org/native_client_sdk/src/libraries/xray/report.c
6,706
utf_8
060206a21faf39b7704e55692a52e9b4
/* XRay -- a simple profiler for Native Client */ #include <alloca.h> #include <errno.h> #include <inttypes.h> #include <stdarg.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include "xray/xray_priv.h" #if defined(XRAY) struct XRayTotal { int index; int frame;...
google
android
symtable
.c
platform/external/chromium_org/native_client_sdk/src/libraries/xray/symtable.c
5,504
utf_8
62364cb143b356406b5d13495cebf8a4
/* XRay symbol table */ #define _GNU_SOURCE #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #if defined(__GLIBC__) #include <dlfcn.h> #endif #include "xray/xray_priv.h" #define PNACL_STRING_OFFSET (0x10000000) #if defined(XRAY) bool g_symtable_debug = false; struct XRayFrameInfo { int t...
google
android
demangle
.c
platform/external/chromium_org/native_client_sdk/src/libraries/xray/demangle.c
843
utf_8
13fc6e1579649f9686898aab127822bd
#include "xray/xray_priv.h" /* Note name demangling requires linking against libstdc++ */ /* If your platform does not support __cxa_demangle, re-compile XRay with: */ /* -DXRAY_NO_DEMANGLE */ #if !defined(XRAY_NO_DEMANGLE) extern char* __cxa_demangle...
google
android
hashtable
.c
platform/external/chromium_org/native_client_sdk/src/libraries/xray/hashtable.c
5,288
utf_8
60f6d9ffd2e4f252fe53e88f12aab256
/* Hashtable for XRay */ #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "xray/xray_priv.h" #if defined(XRAY) struct XRayHashTableEntry { void* data; uint32_t key; }; struct XRayHashTable { int capacity; int count; struct XRayHashTableEntry* array; }; XRAY_NO_INSTRUMENT...
google
android
stringpool
.c
platform/external/chromium_org/native_client_sdk/src/libraries/xray/stringpool.c
2,548
utf_8
1cf52e442ff9cf755b726d39bcf4bad4
/* XRay string pool */ /* String pool holds a large pile of strings. */ /* It is up to higher level data structures to avoid duplicates. */ /* It is up to higher level data structures to provide fast lookups. */ /* _GNU_SOURCE must be defined prior to the inclusion of string.h * so that strnlen is available with glibc...
google
android
parsesymbols
.c
platform/external/chromium_org/native_client_sdk/src/libraries/xray/parsesymbols.c
2,669
utf_8
d8f9e97fd795b522613dac2f73d4cda4
/* XRay -- a simple profiler for Native Client */ #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include "xray/xray_priv.h" #if defined(XRAY) struct XRaySymbol* XRaySymbolTableCreateEntry(struct XRaySymbolTable* symtab, c...
google
android
xray
.c
platform/external/chromium_org/native_client_sdk/src/libraries/xray/xray.c
23,901
utf_8
73260cf96d93480ef657d252edb58b25
/* XRay -- a simple profiler for Native Client */ #include <assert.h> #include <errno.h> #include <stdarg.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/time.h> #include <unistd.h> #include "xray/xray_priv.h" #if defined(XRAY) /* GTSC - Get Time Stamp Counter */ #if defi...
google
android
browser
.c
platform/external/chromium_org/native_client_sdk/src/libraries/xray/browser.c
4,918
utf_8
840a316e5e753865308ffb5354eb7a6c
*/ /* XRay -- a simple profiler for Native Client */ #ifndef XRAY_DISABLE_BROWSER_INTEGRATION #include <alloca.h> #include <assert.h> #include <errno.h> #include <stdarg.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include "ppapi/c/dev/ppb_trace_event_dev.h" #i...
google
android
log
.c
platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/log.c
879
utf_8
f71ab9448ecae935328d780b11b38bdf
#include "nacl_io/log.h" #include "nacl_io/kernel_wrap_real.h" #include <alloca.h> #include <stdarg.h> #include <stdio.h> #include <string.h> void nacl_io_log(const char* format, ...) { va_list args; size_t wrote; char* output; #ifdef _MSC_VER /* TODO(sbc): vsnprintf on win32 does not return the * size of th...
google
android
kernel_wrap_irt_ext
.c
platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/kernel_wrap_irt_ext.c
13,909
utf_8
e9bb3c342ce96aa1b05839676e2290f1
/* NACL_IO_IRT_EXT is defined in this header */ #include "nacl_io/kernel_wrap.h" /* * The entire file is wrapped in this #if. We do this so this .c file can * always be compiled. */ #if defined(NACL_IO_IRT_EXT) #include <assert.h> #include <errno.h> #include <irt.h> #include <irt_dev.h> #include <irt_extension.h> #i...
google
android
in6_addr
.c
platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/in6_addr.c
912
utf_8
370e02f7f6bfec6f92c41e97fa30db0a
#include "nacl_io/ossocket.h" #if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) && !defined(__BIONIC__) #include <netinet/in.h> const struct in6_addr in6addr_any = { {{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}}; const struct in6_addr in6addr_loopback = { {{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
google
android
h_errno
.c
platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/h_errno.c
975
utf_8
dd916930daf35cdc478fdc0c205aa69d
#include "nacl_io/ossocket.h" #if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) #include <stdlib.h> #include <pthread.h> static pthread_key_t s_h_errno_key; static pthread_once_t s_h_errno_once = PTHREAD_ONCE_INIT; static void __h_errno_create(void) { pthread_key_create(&s_h_errno_key, NULL); } int *__h_errno_l...
google
android
getwd
.c
platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/getwd.c
296
utf_8
f4a6e9992eee74f466b839c942f8d8bc
#include "nacl_io/kernel_intercept.h" #include "nacl_io/kernel_wrap.h" char* getwd(char* buf) { return ki_getwd(buf); }
google
android
kill
.c
platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/kill.c
302
utf_8
df8913c45f8cb6967629fe444d1e561d
#include "nacl_io/kernel_intercept.h" #include "nacl_io/kernel_wrap.h" int kill(pid_t pid, int sig) { return ki_kill(pid, sig); }
google
android
sigset
.c
platform/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/sigset.c
336
utf_8
8079f0ce8bf35be6be999fb3085b9839
#include "nacl_io/kernel_intercept.h" #include "nacl_io/kernel_wrap.h" sighandler_t sigset(int signum, sighandler_t handler) { return ki_sigset(signum, handler); }