diff options
author | Cy Schubert <cy@FreeBSD.org> | 2021-03-19 00:18:22 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2021-03-19 00:18:22 +0000 |
commit | cdbd267d33b5476ee1cc6c5169c59d370cb5d8e6 (patch) | |
tree | 122b88b7680a7d52a1d22322d7db06207b55fd11 /net/hostapd-devel/files/patch-src_common_dhcp.h | |
parent | Fix textproc/fcitx5-configtool ahead of KF5 5.80 (diff) |
net/hostapd-devel, security/wpa_supplicant-devel
Add two new development ports tracking the latest w1.fi development.
WPA developement is hosted at git://w1.fi/hostap.git however ports
plumbing provides API access to github. Therefore I cloned/forked
hostap, renaming "origin" to "upstream," with a brand-new "origin"
located on github. In theory this will allow me to git pull from
git://w1.fi/hostap.git and push to my github repo.
This will coincide with base tracking more recent developent at w1.fi,
supporting WPA3.
Discussed with: phillip@
Notes
Notes:
svn path=/head/; revision=568766
Diffstat (limited to 'net/hostapd-devel/files/patch-src_common_dhcp.h')
-rw-r--r-- | net/hostapd-devel/files/patch-src_common_dhcp.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net/hostapd-devel/files/patch-src_common_dhcp.h b/net/hostapd-devel/files/patch-src_common_dhcp.h new file mode 100644 index 000000000000..f88d1921a380 --- /dev/null +++ b/net/hostapd-devel/files/patch-src_common_dhcp.h @@ -0,0 +1,25 @@ +--- src/common/dhcp.h.orig 2018-12-02 11:34:59.000000000 -0800 ++++ src/common/dhcp.h 2018-12-06 00:01:11.429254000 -0800 +@@ -9,6 +9,22 @@ + #ifndef DHCP_H + #define DHCP_H + ++/* ++ * Translate Linux to FreeBSD ++ */ ++#define iphdr ip ++#define ihl ip_hl ++#define verson ip_v ++#define tos ip_tos ++#define tot_len ip_len ++#define id ip_id ++#define frag_off ip_off ++#define ttl ip_ttl ++#define protocol ip_p ++#define check ip_sum ++#define saddr ip_src ++#define daddr ip_dst ++ + #include <netinet/ip.h> + #if __FAVOR_BSD + #include <netinet/udp.h> |