repo
stringlengths
1
152
file
stringlengths
14
221
code
stringlengths
501
25k
file_length
int64
501
25k
avg_line_length
float64
20
99.5
max_line_length
int64
21
134
extension_type
stringclasses
2 values
hostap
hostap-master/src/fst/fst_defs.h
/* * FST module - FST related definitions * Copyright (c) 2014, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef IEEE_80211_FST_DEFS_H #define IEEE_80211_FST_DEFS_H /* IEEE Std 802.11ad */ #define MB_STA_CHANNEL_ALL 0 enu...
1,862
20.170455
71
h
hostap
hostap-master/src/fst/fst_session.h
/* * FST module - FST Session related definitions * Copyright (c) 2014, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef FST_SESSION_H #define FST_SESSION_H #define FST_DEFAULT_SESSION_TIMEOUT_TU 255 /* u8 */ struct fst_if...
2,953
35.469136
80
h
hostap
hostap-master/src/fst/fst_ctrl_aux.h
/* * FST module - miscellaneous definitions * Copyright (c) 2014, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef FST_CTRL_AUX_H #define FST_CTRL_AUX_H #include "common/defs.h" /* FST module control interface API */ #defi...
2,601
27.282609
73
h
hostap
hostap-master/src/fst/fst_iface.c
/* * FST module - FST interface object implementation * Copyright (c) 2014, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "fst/fst_internal.h" #include "fst/fst_defs....
1,755
20.679012
76
c
hostap
hostap-master/src/fst/fst_ctrl_defs.h
/* * FST module - shared Control interface definitions * Copyright (c) 2014, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef FST_CTRL_DEFS_H #define FST_CTRL_DEFS_H /* Undefined value */ #define FST_CTRL_PVAL_NONE ...
4,812
42.754545
80
h
hostap
hostap-master/src/fst/fst_group.c
/* * FST module - FST group object implementation * Copyright (c) 2014, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "common/defs.h" #include "common/ieee802_11_defs...
13,610
25.024857
80
c
hostap
hostap-master/src/fst/fst_group.h
/* * FST module - FST group object definitions * Copyright (c) 2014, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef FST_GROUP_H #define FST_GROUP_H struct fst_group { char group_id[IFNAMSIZ + 1]; struct dl_list ifaces; ...
1,947
26.828571
75
h
hostap
hostap-master/src/fst/fst_internal.h
/* * FST module - auxiliary definitions * Copyright (c) 2014, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef FST_INTERNAL_H #define FST_INTERNAL_H #include "utils/includes.h" #include "utils/common.h" #include "common/def...
1,373
26.48
71
h
hostap
hostap-master/src/fst/fst.c
/* * FST module implementation * Copyright (c) 2014, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/eloop.h" #include "fst/fst.h" #include "fst/fst_internal.h"...
5,190
21.375
78
c
hostap
hostap-master/src/fst/fst_ctrl_iface.c
/* * FST module - Control Interface implementation * Copyright (c) 2014, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "common/defs.h" #include "list.h" #include "fst...
23,479
23.741834
79
c
hostap
hostap-master/src/fst/fst_iface.h
/* * FST module - FST interface object definitions * Copyright (c) 2014, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef FST_IFACE_H #define FST_IFACE_H #include "utils/includes.h" #include "utils/common.h" #include "list...
3,384
23.708029
76
h
hostap
hostap-master/src/fst/fst_ctrl_iface.h
/* * FST module - internal Control interface definitions * Copyright (c) 2014, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef FST_CTRL_IFACE_H #define FST_CTRL_IFACE_H #include "fst/fst_ctrl_aux.h" #ifdef CONFIG_FST /* ...
1,197
25.043478
80
h
hostap
hostap-master/src/fst/fst.h
/* * FST module - interface definitions * Copyright (c) 2014, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef FST_H #define FST_H #ifdef CONFIG_FST #include "common/defs.h" #include "fst/fst_ctrl_iface.h" /* FST module h...
8,189
26.575758
80
h
hostap
hostap-master/src/fst/fst_ctrl_aux.c
/* * FST module implementation * Copyright (c) 2014, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "common/defs.h" #include "fst_ctrl_defs.h" #include "fst_ctrl_aux.h...
1,985
26.971831
73
c
hostap
hostap-master/src/eap_peer/eap_gtc.c
/* * EAP peer method: EAP-GTC (RFC 3748) * Copyright (c) 2004-2006, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "eap_i.h" struct eap_gtc_data { int prefix; }; static voi...
3,427
23.140845
71
c
hostap
hostap-master/src/eap_peer/tncc.h
/* * EAP-TNC - TNCC (IF-IMC and IF-TNCCS) * Copyright (c) 2007, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef TNCC_H #define TNCC_H struct tncc_data; struct tncc_data * tncc_init(void); void tncc_deinit(struct tncc_dat...
994
25.891892
78
h
hostap
hostap-master/src/eap_peer/eap_psk.c
/* * EAP peer method: EAP-PSK (RFC 4764) * Copyright (c) 2004-2008, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. * * Note: EAP-PSK is an EAP authentication method and as such, completely * different from WPA-PSK. This file is not...
13,574
26.204409
78
c
hostap
hostap-master/src/eap_peer/eap_otp.c
/* * EAP peer method: EAP-OTP (RFC 3748) * Copyright (c) 2004-2006, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "eap_i.h" static void * eap_otp_init(struct eap_sm *sm) { /...
2,153
20.979592
71
c
hostap
hostap-master/src/eap_peer/eap_vendor_test.c
/* * EAP peer method: Test method for vendor specific (expanded) EAP type * Copyright (c) 2005-2015, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. * * This file implements a vendor specific test method using EAP expanded types. * ...
4,290
21.946524
79
c
hostap
hostap-master/src/eap_peer/eap.h
/* * EAP peer state machine functions (RFC 4137) * Copyright (c) 2004-2012, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef EAP_H #define EAP_H #include "common/defs.h" #include "eap_common/eap_defs.h" #include "eap_peer/...
11,224
30.442577
79
h
hostap
hostap-master/src/eap_peer/mschapv2.c
/* * MSCHAPV2 (RFC 2759) * Copyright (c) 2004-2008, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "crypto/ms_funcs.h" #include "mschapv2.h" const u8 * mschapv2_remove_domain(c...
3,670
28.368
72
c
hostap
hostap-master/src/eap_peer/eap_wsc.c
/* * EAP-WSC peer for Wi-Fi Protected Setup * Copyright (c) 2007-2009, 2012, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "uuid.h" #include "eap_i.h" #include "eap_common/eap_...
14,653
23.795262
74
c
hostap
hostap-master/src/eap_peer/eap_sake.c
/* * EAP peer method: EAP-SAKE (RFC 4763) * Copyright (c) 2006-2008, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "crypto/random.h" #include "eap_peer/eap_i.h" #include "eap_c...
13,147
24.187739
79
c
hostap
hostap-master/src/eap_peer/eap_ikev2.c
/* * EAP-IKEv2 peer (RFC 5106) * Copyright (c) 2007-2014, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "eap_i.h" #include "eap_common/eap_ikev2_common.h" #include "ikev2.h" ...
13,190
23.748593
80
c
hostap
hostap-master/src/eap_peer/eap_tnc.c
/* * EAP peer method: EAP-TNC (Trusted Network Connect) * Copyright (c) 2007, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "eap_i.h" #include "eap_config.h" #include "tncc.h" ...
10,306
23.251765
74
c
hostap
hostap-master/src/eap_peer/mschapv2.h
/* * MSCHAPV2 (RFC 2759) * Copyright (c) 2004-2008, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef MSCHAPV2_H #define MSCHAPV2_H #define MSCHAPV2_CHAL_LEN 16 #define MSCHAPV2_NT_RESPONSE_LEN 24 #define MSCHAPV2_AUTH_RESP...
834
27.793103
71
h
hostap
hostap-master/src/eap_peer/eap_leap.c
/* * EAP peer method: LEAP * Copyright (c) 2004-2007, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "crypto/ms_funcs.h" #include "crypto/crypto.h" #include "crypto/random.h" #i...
10,874
25.52439
79
c
hostap
hostap-master/src/eap_peer/eap_methods.h
/* * EAP peer: Method registration * Copyright (c) 2004-2007, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef EAP_METHODS_H #define EAP_METHODS_H #include "eap_common/eap_defs.h" const struct eap_method * eap_peer_get_ea...
2,731
23.612613
78
h
hostap
hostap-master/src/eap_peer/eap_fast_pac.c
/* * EAP peer method: EAP-FAST PAC file processing * Copyright (c) 2004-2006, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "eap_config.h" #include "eap_i.h" #include "eap_fast...
21,398
21.935691
79
c
hostap
hostap-master/src/eap_peer/eap_pax.c
/* * EAP peer method: EAP-PAX (RFC 4746) * Copyright (c) 2005-2008, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "crypto/random.h" #include "eap_common/eap_pax_common.h" #incl...
14,349
24.579323
78
c
hostap
hostap-master/src/eap_peer/eap_methods.c
/* * EAP peer: Method registration * Copyright (c) 2004-2007, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #ifdef CONFIG_DYNAMIC_EAP_METHODS #include <dlfcn.h> #endif /* CONFIG_DYNAMIC_EAP_METHODS */ #inc...
8,841
22.453581
79
c
hostap
hostap-master/src/eap_peer/eap_i.h
/* * EAP peer state machines internal structures (RFC 4137) * Copyright (c) 2004-2014, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef EAP_I_H #define EAP_I_H #include "wpabuf.h" #include "utils/list.h" #include "eap_peer...
13,394
33.170918
79
h
hostap
hostap-master/src/eap_peer/eap_tls.c
/* * EAP peer method: EAP-TLS (RFC 2716) * Copyright (c) 2004-2008, 2012-2015, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "crypto/tls.h" #include "eap_i.h" #include "eap_tls...
11,134
22.792735
84
c
hostap
hostap-master/src/eap_peer/eap_eke.c
/* * EAP peer method: EAP-EKE (RFC 6124) * Copyright (c) 2013, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "crypto/random.h" #include "eap_peer/eap_i.h" #include "eap_common/...
20,692
25.193671
112
c
hostap
hostap-master/src/eap_peer/eap_md5.c
/* * EAP peer method: EAP-MD5 (RFC 3748 and RFC 1994) * Copyright (c) 2004-2012, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "eap_i.h" #include "eap_common/chap.h" static v...
2,887
23.683761
71
c
hostap
hostap-master/src/eap_peer/ikev2.h
/* * IKEv2 responder (RFC 4306) for EAP-IKEV2 * Copyright (c) 2007, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef IKEV2_H #define IKEV2_H #include "eap_common/ikev2_common.h" struct ikev2_proposal_data { u8 proposal_n...
1,387
22.133333
73
h
hostap
hostap-master/src/eap_peer/eap_fast_pac.h
/* * EAP peer method: EAP-FAST PAC file processing * Copyright (c) 2004-2007, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef EAP_FAST_PAC_H #define EAP_FAST_PAC_H #include "eap_common/eap_fast_common.h" struct eap_fast_...
1,439
27.235294
76
h
hostap
hostap-master/src/eap_peer/eap_proxy.h
/* * EAP proxy definitions * Copyright (c) 2011-2013 Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef EAP_PROXY_H #define EAP_PROXY_H struct eap_proxy_sm; struct eapol_callbacks; struct eap_sm; struct eap_peer_config; enum...
1,269
24.4
78
h
hostap
hostap-master/src/eap_peer/eap_tls_common.h
/* * EAP peer: EAP-TLS/PEAP/TTLS/FAST common functions * Copyright (c) 2004-2009, 2012, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef EAP_TLS_COMMON_H #define EAP_TLS_COMMON_H /** * struct eap_ssl_data - TLS data for E...
3,865
28.067669
77
h
hostap
hostap-master/src/eap_peer/eap_gpsk.c
/* * EAP peer method: EAP-GPSK (RFC 5433) * Copyright (c) 2006-2014, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "crypto/random.h" #include "eap_peer/eap_i.h" #include "eap_c...
19,428
23.593671
79
c
hostap
hostap-master/src/rsn_supp/peerkey.h
/* * WPA Supplicant - PeerKey for Direct Link Setup (DLS) * Copyright (c) 2006-2015, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef PEERKEY_H #define PEERKEY_H #define PEERKEY_MAX_IE_LEN 80 struct wpa_peerkey { struct w...
2,210
25.638554
74
h
hostap
hostap-master/src/rsn_supp/wpa.h
/* * wpa_supplicant - WPA definitions * Copyright (c) 2003-2015, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef WPA_H #define WPA_H #include "common/defs.h" #include "common/eapol_common.h" #include "common/wpa_common.h"...
12,795
28.214612
80
h
hostap
hostap-master/src/rsn_supp/wpa_i.h
/* * Internal WPA/RSN supplicant state machine definitions * Copyright (c) 2004-2015, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef WPA_I_H #define WPA_I_H #include "utils/list.h" struct wpa_peerkey; struct wpa_tdls_pe...
10,943
27.352332
78
h
hostap
hostap-master/src/rsn_supp/wpa_ie.h
/* * wpa_supplicant - WPA/RSN IE and KDE definitions * Copyright (c) 2004-2007, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef WPA_IE_H #define WPA_IE_H struct wpa_sm; struct wpa_eapol_ie_parse { const u8 *wpa_ie; siz...
1,580
20.657534
71
h
hostap
hostap-master/src/rsn_supp/preauth.c
/* * RSN pre-authentication (supplicant) * Copyright (c) 2003-2015, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "wpa.h" #include "eloop.h" #include "l2_packet/l2_packet.h" #i...
15,476
27.555351
79
c
hostap
hostap-master/src/rsn_supp/pmksa_cache.c
/* * WPA Supplicant - RSN PMKSA cache * Copyright (c) 2004-2009, 2011-2015, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "eloop.h" #include "eapol_supp/eapol_supp_sm.h" #inclu...
15,640
27.911275
79
c
hostap
hostap-master/src/rsn_supp/wpa_ie.c
/* * wpa_supplicant - WPA/RSN IE and KDE processing * Copyright (c) 2003-2015, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "wpa.h" #include "pmksa_cache.h" #include "common/i...
17,915
27.990291
75
c
hostap
hostap-master/src/rsn_supp/wpa_ft.c
/* * WPA Supplicant - IEEE 802.11r - Fast BSS Transition * Copyright (c) 2006-2015, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "crypto/aes_wrap.h" #include "crypto/random.h"...
23,570
26.795991
79
c
hostap
hostap-master/src/rsn_supp/preauth.h
/* * wpa_supplicant - WPA2/RSN pre-authentication functions * Copyright (c) 2003-2009, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef PREAUTH_H #define PREAUTH_H struct wpa_scan_results; #if defined(IEEE8021X_EAPOL) && ...
1,940
23.2625
78
h
hostap
hostap-master/src/rsn_supp/pmksa_cache.h
/* * wpa_supplicant - WPA2/RSN PMKSA cache functions * Copyright (c) 2003-2009, 2011-2012, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef PMKSA_CACHE_H #define PMKSA_CACHE_H /** * struct rsn_pmksa_cache_entry - PMKSA ca...
3,727
26.614815
77
h
hostap
hostap-master/src/eapol_auth/eapol_auth_dump.c
/* * IEEE 802.1X-2004 Authenticator - State dump * Copyright (c) 2002-2013, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "eap_server/eap.h" #include "eapol_auth_sm.h" #include...
7,642
25.355172
71
c
hostap
hostap-master/src/eapol_auth/eapol_auth_sm.h
/* * IEEE 802.1X-2004 Authenticator - EAPOL state machine * Copyright (c) 2002-2015, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef EAPOL_AUTH_SM_H #define EAPOL_AUTH_SM_H #define EAPOL_SM_PREAUTH BIT(0) #define EAPOL_SM...
3,316
31.203883
76
h
hostap
hostap-master/src/eapol_auth/eapol_auth_sm_i.h
/* * IEEE 802.1X-2004 Authenticator - EAPOL state machine (internal definitions) * Copyright (c) 2002-2009, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef EAPOL_AUTH_SM_I_H #define EAPOL_AUTH_SM_I_H #include "common/defs...
5,186
28.305085
78
h
hostap
hostap-master/src/utils/http-utils.h
/* * HTTP wrapper * Copyright (c) 2012-2013, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef HTTP_UTILS_H #define HTTP_UTILS_H struct http_ctx; struct http_othername { char *oid; u8 *data; size_t len; }; #define HTTP_...
1,754
26.421875
79
h
hostap
hostap-master/src/utils/radiotap_iter.h
#ifndef __RADIOTAP_ITER_H #define __RADIOTAP_ITER_H #include <stdint.h> #include "radiotap.h" /* Radiotap header iteration * implemented in radiotap.c */ struct radiotap_override { uint8_t field; uint8_t align:4, size:4; }; struct radiotap_align_size { uint8_t align:4, size:4; }; struct ieee80211_radiotap_n...
2,928
29.195876
80
h
hostap
hostap-master/src/utils/platform.h
#ifndef PLATFORM_H #define PLATFORM_H #include "includes.h" #include "common.h" #define le16_to_cpu le_to_host16 #define le32_to_cpu le_to_host32 #define get_unaligned(p) \ ({ \ struct packed_dummy_struct { \ typeof(*(p)) __val; \ } __attribute__((packed)) *__ptr = (void *) (p); \ \ _...
508
22.136364
69
h
hostap
hostap-master/src/utils/list.h
/* * Doubly-linked list * Copyright (c) 2009, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef LIST_H #define LIST_H /** * struct dl_list - Doubly-linked list */ struct dl_list { struct dl_list *next; struct dl_list *p...
2,429
23.795918
79
h
hostap
hostap-master/src/utils/includes.h
/* * wpa_supplicant/hostapd - Default include files * Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. * * This header file is included into all C files so that commonly used header * files can be selected wi...
1,116
23.282609
78
h
hostap
hostap-master/src/utils/radiotap.c
/* * Radiotap parser * * Copyright 2007 Andy Green <andy@warmcat.com> * Copyright 2009 Johannes Berg <johannes@sipsolutions.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundat...
12,541
30.59194
80
c
hostap
hostap-master/src/utils/wpabuf.c
/* * Dynamic data buffer * Copyright (c) 2007-2012, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "trace.h" #include "wpabuf.h" #ifdef WPA_TRACE #define WPABUF_MAGIC 0x51a974e...
7,620
21.348974
80
c
hostap
hostap-master/src/utils/ext_password_i.h
/* * External password backend - internal definitions * Copyright (c) 2012, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef EXT_PASSWORD_I_H #define EXT_PASSWORD_I_H #include "ext_password.h" struct ext_password_backend ...
713
22.8
71
h
hostap
hostap-master/src/utils/state_machine.h
/* * wpa_supplicant/hostapd - State machine definitions * Copyright (c) 2002-2005, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. * * This file includes a set of pre-processor macros that can be used to * implement a state machine....
5,373
37.661871
79
h
hostap
hostap-master/src/utils/build_config.h
/* * wpa_supplicant/hostapd - Build time configuration defines * Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. * * This header file can be used to define configuration defines that were * originally define...
1,408
26.627451
76
h
hostap
hostap-master/src/utils/edit.h
/* * Command line editing and history * Copyright (c) 2010, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef EDIT_H #define EDIT_H int edit_init(void (*cmd_cb)(void *ctx, char *cmd), void (*eof_cb)(void *ctx), ...
612
26.863636
71
h
hostap
hostap-master/src/utils/pcsc_funcs.h
/* * WPA Supplicant / PC/SC smartcard interface for USIM, GSM SIM * Copyright (c) 2004-2006, 2012, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef PCSC_FUNCS_H #define PCSC_FUNCS_H #ifdef PCSC_FUNCS struct scard_data * sc...
1,434
32.372093
73
h
hostap
hostap-master/src/utils/xml-utils.h
/* * Generic XML helper functions * Copyright (c) 2012-2013, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef XML_UTILS_H #define XML_UTILS_H struct xml_node_ctx; typedef struct xml_node xml_node_t; typedef struct xml_names...
4,107
40.918367
80
h
hostap
hostap-master/src/utils/os.h
/* * OS specific functions * Copyright (c) 2005-2009, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef OS_H #define OS_H typedef long os_time_t; /** * os_sleep - Sleep (sec, usec) * @sec: Number of seconds to sleep * @...
19,646
28.367713
79
h
hostap
hostap-master/src/utils/ip_addr.h
/* * IP address processing * Copyright (c) 2003-2006, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef IP_ADDR_H #define IP_ADDR_H struct hostapd_ip_addr { int af; /* AF_INET / AF_INET6 */ union { struct in_addr v4; #i...
608
20.75
74
h
hostap
hostap-master/src/utils/eloop_win.c
/* * Event loop based on Windows events and WaitForMultipleObjects * Copyright (c) 2002-2009, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include <winsock2.h> #include "common.h" #include "list.h" #incl...
15,533
21.159772
74
c
hostap
hostap-master/src/utils/crc32.c
/* * 32-bit CRC for FCS calculation * Copyright (c) 2010, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/crc32.h" /* * IEEE 802.11 FCS CRC32 * G(x) = x^32 ...
3,784
43.011628
77
c
hostap
hostap-master/src/utils/browser-android.c
/* * Hotspot 2.0 client - Web browser using Android browser * Copyright (c) 2013, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "utils/eloop.h" #include "wps/http_server.h" #inc...
2,687
20.165354
71
c
hostap
hostap-master/src/utils/base64.c
/* * Base64 encoding/decoding (RFC1341) * Copyright (c) 2005-2011, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "os.h" #include "base64.h" static const unsigned char base64_table[65] = "ABCDEFG...
3,552
21.487342
79
c
hostap
hostap-master/src/utils/trace.h
/* * Backtrace debugging * Copyright (c) 2009, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef TRACE_H #define TRACE_H #define WPA_TRACE_LEN 16 #ifdef WPA_TRACE #include <execinfo.h> #include "list.h" #define WPA_TRACE...
1,928
25.791667
75
h
hostap
hostap-master/src/utils/browser.c
/* * Hotspot 2.0 client - Web browser using WebKit * Copyright (c) 2013, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include <webkit/webkit.h> #include "common.h" #include "browser.h" struct browser_co...
6,108
26.768182
78
c
hostap
hostap-master/src/utils/eloop.h
/* * Event loop * Copyright (c) 2002-2006, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. * * This file defines an event loop interface that supports processing events * from registered timeouts (i.e., do something after N seconds)...
14,105
37.331522
79
h
hostap
hostap-master/src/utils/wpa_debug.c
/* * wpa_supplicant/hostapd / Debug prints * Copyright (c) 2002-2013, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #ifdef CONFIG_DEBUG_SYSLOG #include <syslog.h> static int wpa_debug...
18,421
20.346466
79
c
hostap
hostap-master/src/utils/radiotap.h
/*- * Copyright (c) 2003, 2004 David Young. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of co...
10,923
36.410959
74
h
hostap
hostap-master/src/utils/common.h
/* * wpa_supplicant/hostapd / common helper functions, etc. * Copyright (c) 2002-2007, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef COMMON_H #define COMMON_H #include "os.h" #if defined(__linux__) || defined(__GLIBC__...
14,672
24.473958
80
h
hostap
hostap-master/src/utils/utils_module_tests.c
/* * utils module tests * Copyright (c) 2014-2015, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "common/ieee802_11_defs.h" #include "utils/bitfield.h" #include "ut...
19,223
21.275782
78
c
hostap
hostap-master/src/utils/ext_password.h
/* * External password backend * Copyright (c) 2012, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef EXT_PASSWORD_H #define EXT_PASSWORD_H struct ext_password_data; #ifdef CONFIG_EXT_PASSWORD struct ext_password_data * ...
855
24.176471
71
h
hostap
hostap-master/src/utils/browser-wpadebug.c
/* * Hotspot 2.0 client - Web browser using wpadebug on Android * Copyright (c) 2013, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "utils/eloop.h" #include "wps/http_server.h" ...
3,130
21.52518
71
c
hostap
hostap-master/src/utils/wpabuf.h
/* * Dynamic data buffer * Copyright (c) 2007-2012, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef WPABUF_H #define WPABUF_H /* wpabuf::buf is a pointer to external data */ #define WPABUF_FLAG_EXT_DATA BIT(0) /* * Inte...
4,241
24.709091
79
h
hostap
hostap-master/src/utils/bitfield.h
/* * Bitfield * Copyright (c) 2013, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef BITFIELD_H #define BITFIELD_H struct bitfield; struct bitfield * bitfield_alloc(size_t max_bits); void bitfield_free(struct bitfield *bf...
558
24.409091
71
h
hostap
hostap-master/src/utils/wpa_debug.h
/* * wpa_supplicant/hostapd / Debug prints * Copyright (c) 2002-2013, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef WPA_DEBUG_H #define WPA_DEBUG_H #include "wpabuf.h" extern int wpa_debug_level; extern int wpa_debug_s...
12,589
32.93531
80
h
hostap
hostap-master/src/ap/ieee802_1x.h
/* * hostapd / IEEE 802.1X-2004 Authenticator * Copyright (c) 2002-2012, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef IEEE802_1X_H #define IEEE802_1X_H struct hostapd_data; struct sta_info; struct eapol_state_machine; ...
2,702
39.343284
79
h
hostap
hostap-master/src/ap/utils.c
/* * AP mode helper functions * Copyright (c) 2009, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * 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...
2,343
23.164948
74
c
hostap
hostap-master/src/ap/wnm_ap.c
/* * hostapd - WNM * Copyright (c) 2011-2014, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * 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_...
18,386
28.093354
134
c
hostap
hostap-master/src/ap/ieee802_11_ht.c
/* * hostapd / IEEE 802.11n HT * Copyright (c) 2002-2009, Jouni Malinen <j@w1.fi> * Copyright (c) 2007-2008, Intel Corporation * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "utils/eloop.h...
15,001
28.18677
86
c
hostap
hostap-master/src/ap/p2p_hostapd.h
/* * hostapd / P2P integration * Copyright (c) 2009-2010, Atheros Communications * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef P2P_HOSTAPD_H #define P2P_HOSTAPD_H #ifdef CONFIG_P2P int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct...
888
23.694444
76
h
hostap
hostap-master/src/ap/preauth_auth.h
/* * hostapd - Authenticator for IEEE 802.11i RSN pre-authentication * Copyright (c) 2004-2005, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef PREAUTH_H #define PREAUTH_H #ifdef CONFIG_RSN_PREAUTH int rsn_preauth_iface_...
1,286
23.283019
79
h
hostap
hostap-master/src/ap/sta_info.h
/* * hostapd / Station table * Copyright (c) 2002-2011, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef STA_INFO_H #define STA_INFO_H #ifdef CONFIG_MESH /* needed for mesh_plink_state enum */ #include "common/defs.h" #inc...
9,783
31.504983
79
h
hostap
hostap-master/src/ap/iapp.c
/* * hostapd / IEEE 802.11F-2003 Inter-Access Point Protocol (IAPP) * Copyright (c) 2002-2007, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. * * Note: IEEE 802.11F-2003 was a experimental use specification. It has expired * and IE...
14,944
26.52302
79
c
hostap
hostap-master/src/ap/x_snoop.c
/* * Generic Snooping for Proxy ARP * Copyright (c) 2014, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * 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" #in...
3,289
23.924242
74
c
hostap
hostap-master/src/ap/ap_mlme.h
/* * hostapd / IEEE 802.11 MLME * Copyright 2003, Jouni Malinen <j@w1.fi> * Copyright 2003-2004, Instant802 Networks, Inc. * Copyright 2005-2006, Devicescape Software, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef MLME_H #define MLME_H ...
1,007
27.8
78
h
hostap
hostap-master/src/ap/wpa_auth_i.h
/* * hostapd - IEEE 802.11i-2004 / WPA Authenticator: Internal definitions * Copyright (c) 2004-2015, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef WPA_AUTH_I_H #define WPA_AUTH_I_H /* max(dot11RSNAConfigGroupUpdateCoun...
7,926
28.468401
77
h
hostap
hostap-master/src/ap/hs20.c
/* * Hotspot 2.0 AP ANQP processing * Copyright (c) 2009, Atheros Communications, Inc. * Copyright (c) 2011-2013, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "common/ieee802_...
4,330
23.331461
73
c
hostap
hostap-master/src/ap/vlan_util.c
/* * hostapd / VLAN netlink api * Copyright (c) 2012, Michael Braun <michael-dev@fami-braun.de> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "utils/includes.h" #include <netlink/route/link.h> #include <netlink/route/link/vlan.h> #include "ut...
3,989
21.8
71
c
hostap
hostap-master/src/ap/hostapd.h
/* * hostapd / Initialization and configuration * Copyright (c) 2002-2014, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef HOSTAPD_H #define HOSTAPD_H #include "common/defs.h" #include "utils/list.h" #include "ap_config.h...
15,186
26.866055
80
h
hostap
hostap-master/src/ap/vlan_ifconfig.c
/* * hostapd / VLAN ifconfig helpers * Copyright 2003, Instant802 Networks, Inc. * Copyright 2005-2006, Devicescape Software, Inc. * Copyright (c) 2009, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "utils/includes.h"...
1,503
20.485714
71
c
hostap
hostap-master/src/ap/neighbor_db.h
/* * hostapd / Neighboring APs DB * Copyright(c) 2013 - 2016 Intel Mobile Communications GmbH. * Copyright(c) 2011 - 2016 Intel Corporation. All rights reserved. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef NEIGHBOR_DB_H #define NEIGHBOR_DB_H...
875
34.04
71
h