[PATCH 0/9] Refactor CTRL UDP (remote) path

Janusz Dziedzic janusz.dziedzic
Wed Sep 23 05:04:10 PDT 2015


Kill #ifdefs hell used for client and server. Use common
code for IPv4/IPv6. Simplify supplicant/cli UDP code.
Add monitor support for CTRL UDP also.

Please review.

Janusz Dziedzic (9):
  wpa_supplicant: use getaddrinfo() when UDP ctrl interface
  wpa_supplicant: use getnameinfo() for UDP ctrl iface
  wpa_supplicant: add helper function sockaddr_compare
  wpa_supplicant: use sockaddr_storage for ctrl UDP iface
  wpa_supplicant: change attach/detach ctrl UDP functions
  wpa_supplicant: monitor support for global ctrl UDP iface
  wpa_ctrl: use common separator for IPv4/IPv6
  wpa_cli: simplify ctrl UDP path
  wpa_cli: don't send IFNAME when remote UDP and global iface

 src/common/wpa_ctrl.c           | 168 +++++-----------
 wpa_supplicant/ctrl_iface_udp.c | 418 +++++++++++++++++++++-------------------
 2 files changed, 267 insertions(+), 319 deletions(-)

-- 
1.9.1




More information about the Hostap mailing list