| /openbsd-src/usr.sbin/hostapd/ |
| H A D | iapp.c | 48 struct hostapd_iapp *iapp = &cfg->c_iapp; in hostapd_iapp_init() local 58 apme->a_iface, iapp->i_iface, in hostapd_iapp_init() 70 struct hostapd_iapp *iapp = &cfg->c_iapp; in hostapd_iapp_term() local 78 apme->a_iface, iapp->i_iface); in hostapd_iapp_term() 86 struct hostapd_iapp *iapp = &cfg->c_iapp; in hostapd_iapp_add_notify() local 93 if ((iapp->i_flags & HOSTAPD_IAPP_F_ADD_NOTIFY) == 0) in hostapd_iapp_add_notify() 104 frame.hdr.i_identifier = htons(iapp->i_cnt++); in hostapd_iapp_add_notify() 112 addr = &iapp->i_broadcast; in hostapd_iapp_add_notify() 114 addr = &iapp->i_multicast; in hostapd_iapp_add_notify() 116 if (sendto(iapp->i_udp, &frame, sizeof(frame), in hostapd_iapp_add_notify() [all …]
|
| H A D | hostapd.c | 198 struct hostapd_iapp *iapp = &cfg->c_iapp; in hostapd_udp_init() local 210 if ((iapp->i_udp = socket(AF_INET, SOCK_DGRAM, 0)) == -1) in hostapd_udp_init() 215 (void)strlcpy(ifr.ifr_name, iapp->i_iface, sizeof(ifr.ifr_name)); in hostapd_udp_init() 217 if (ioctl(iapp->i_udp, SIOCGIFADDR, &ifr) == -1) in hostapd_udp_init() 222 iapp->i_addr.sin_family = AF_INET; in hostapd_udp_init() 223 iapp->i_addr.sin_addr.s_addr = addr->sin_addr.s_addr; in hostapd_udp_init() 224 if (iapp->i_addr.sin_port == 0) in hostapd_udp_init() 225 iapp->i_addr.sin_port = htons(IAPP_PORT); in hostapd_udp_init() 227 if (ioctl(iapp->i_udp, SIOCGIFBRDADDR, &ifr) == -1) in hostapd_udp_init() 232 iapp->i_broadcast.sin_family = AF_INET; in hostapd_udp_init() [all …]
|
| H A D | roaming.c | 50 struct hostapd_iapp *iapp = &cfg->c_iapp; in hostapd_roaming_init() local 56 (iapp->i_flags & HOSTAPD_IAPP_F_ROAMING_ROUTE) == 0) in hostapd_roaming_init() 79 apme->a_iface, iapp->i_iface, in hostapd_roaming_init() 88 struct hostapd_iapp *iapp = &cfg->c_iapp; in hostapd_roaming_term() local 91 if (iapp->i_flags & HOSTAPD_IAPP_F_ROAMING_ROUTE && in hostapd_roaming_term() 92 iapp->i_route_tbl != NULL) { in hostapd_roaming_term() 93 RB_FOREACH(entry, hostapd_tree, &iapp->i_route_tbl->t_tree) { in hostapd_roaming_term() 100 if (iapp->i_flags & HOSTAPD_IAPP_F_ROAMING_ADDRESS && in hostapd_roaming_term() 101 iapp->i_addr_tbl != NULL) { in hostapd_roaming_term() 102 RB_FOREACH(entry, hostapd_tree, &iapp->i_addr_tbl->t_tree) { in hostapd_roaming_term() [all …]
|
| H A D | llc.c | 46 struct hostapd_iapp *iapp = &cfg->c_iapp; in hostapd_llc_init() local 50 iapp->i_raw = hostapd_bpf_open(O_WRONLY); in hostapd_llc_init() 54 (void)strlcpy(ifr.ifr_name, iapp->i_iface, sizeof(ifr.ifr_name)); in hostapd_llc_init() 57 if (ioctl(iapp->i_raw, BIOCSETIF, &ifr) == -1) in hostapd_llc_init() 59 iapp->i_iface, strerror(errno)); in hostapd_llc_init() 62 if (ioctl(iapp->i_raw, BIOCSHDRCMPLT, &i) == -1) in hostapd_llc_init() 67 if (ioctl(iapp->i_raw, BIOCLOCK, NULL) == -1) in hostapd_llc_init() 69 iapp->i_iface, strerror(errno)); in hostapd_llc_init() 75 struct hostapd_iapp *iapp = &cfg->c_iapp; in hostapd_llc_send_xid() local 96 if (write(iapp->i_raw, &buf, sizeof(buf)) == -1) in hostapd_llc_send_xid()
|
| H A D | apme.c | 81 struct hostapd_iapp *iapp = &cfg->c_iapp; in hostapd_apme_deauth() local 98 iapp->i_iface, apme->a_iface, in hostapd_apme_deauth() 105 apme->a_iface, iapp->i_iface); in hostapd_apme_deauth() 343 struct hostapd_iapp *iapp = &cfg->c_iapp; in hostapd_apme_frame() local 401 if (iapp->i_flags & HOSTAPD_IAPP_F_ROAMING) in hostapd_apme_frame() 407 if (iapp->i_flags & HOSTAPD_IAPP_F_ROAMING) in hostapd_apme_frame()
|
| H A D | privsep.c | 87 struct hostapd_iapp *iapp = &cfg->c_iapp; in hostapd_priv_init() local 97 iapp->i_udp_port = IAPP_PORT; in hostapd_priv_init() 99 iapp->i_udp_port = se->s_port; in hostapd_priv_init() 361 struct hostapd_iapp *iapp = &cfg->c_iapp; in hostapd_priv_apme_setnode() local 381 apme->a_iface, iapp->i_iface, in hostapd_priv_apme_setnode()
|
| H A D | Makefile | 4 SRCS= privsep.c apme.c handle.c iapp.c llc.c hostapd.c \
|
| H A D | handle.c | 285 struct hostapd_iapp *iapp = &cfg->c_iapp; in hostapd_handle_action() local 302 iapp->i_iface, cfg->c_apme_dlt == in hostapd_handle_action()
|
| H A D | parse.y | 441 | WITH IAPP iapp 463 iapp : TYPE RADIOTAP verbose
|
| /openbsd-src/etc/examples/ |
| H A D | hostapd.conf | 45 set iapp interface $wired 46 set iapp mode multicast 57 with iapp type radiotap 85 with iapp type radiotap limit 1 sec
|
| /openbsd-src/etc/ |
| H A D | services | 221 iapp 3517/tcp 802-11-iapp # IEEE 802.11f IAPP 222 iapp 3517/udp 802-11-iapp # IEEE 802.11f IAPP
|
| /openbsd-src/usr.sbin/tcpdump/ |
| H A D | Makefile | 52 print-802_11.c print-iapp.c print-mpls.c print-slow.c print-usbpcap.c \
|
| /openbsd-src/gnu/lib/libstdc++/libstdc++/libio/ |
| H A D | ChangeLog | 1994 * iomanip.h (template<class TP> class iapp):
|