mirror of
https://github.com/accel-ppp/accel-ppp.git
synced 2025-12-20 01:21:49 +08:00
Part of a long-term kernel networking cleanup is the kernel is moving to a strict type called dscp_t. 1)Macros like flowi4_tos are being removed to break compilation of old drivers (like accel-ppp) that treat the field as a raw byte. 2)This forces developers to use the new accessor functions (like ip4_dst_hoplimit or inet_dscp_to_dsfield) ensuring ECN bits are preserved. We need to maintain compatibility with older kernel as well. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>