--- zzzz-none-000/linux-4.4.271/include/net/ip.h 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/include/net/ip.h 2023-04-19 10:22:30.000000000 +0000 @@ -119,6 +119,7 @@ int ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl); void ip_init(void); +void ip_input_init(void); int ip_append_data(struct sock *sk, struct flowi4 *fl4, int getfrag(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb), @@ -172,6 +173,7 @@ /* -1 if not needed */ int bound_dev_if; u8 tos; + kuid_t uid; }; #define IP_REPLY_ARG_NOSRCCHECK 1 @@ -242,6 +244,9 @@ } #endif +/* From ip_forward.c */ +extern int sysctl_ip_use_legacy_tos; + /* From inetpeer.c */ extern int inet_peer_threshold; extern int inet_peer_minttl;