--- zzzz-none-000/linux-4.4.60/include/net/ip.h 2017-04-08 07:53:53.000000000 +0000 +++ hawkeye-5590-729/linux-4.4.60/include/net/ip.h 2022-03-30 14:21:53.000000000 +0000 @@ -117,6 +117,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), @@ -170,6 +171,7 @@ /* -1 if not needed */ int bound_dev_if; u8 tos; + kuid_t uid; }; #define IP_REPLY_ARG_NOSRCCHECK 1 @@ -240,6 +242,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;