aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/net/tcp.h12
-rw-r--r--include/uapi/linux/sockios.h1
2 files changed, 0 insertions, 13 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 6fb38a05f..373488814 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1542,15 +1542,6 @@ struct tcp_iter_state {
loff_t last_pos;
};
-/* MTK_NET_CHANGES */
-/*
- * reset tcp connection by uid
- */
-struct uid_err {
- int appuid;
- int errNum;
-};
-
extern int tcp_proc_register(struct net *net, struct tcp_seq_afinfo *afinfo);
extern void tcp_proc_unregister(struct net *net, struct tcp_seq_afinfo *afinfo);
@@ -1570,9 +1561,6 @@ extern int tcp_gro_complete(struct sk_buff *skb);
extern int tcp4_gro_complete(struct sk_buff *skb);
extern int tcp_nuke_addr(struct net *net, struct sockaddr *addr);
-/* MTK_NET_CHANGES */
-extern void tcp_v4_reset_connections_by_uid(struct uid_err uid_e);
-extern void tcp_v4_handle_retrans_time_by_uid(struct uid_err uid_e);
#ifdef CONFIG_PROC_FS
extern int tcp4_proc_init(void);
diff --git a/include/uapi/linux/sockios.h b/include/uapi/linux/sockios.h
index 6456f27cb..f7ffe36db 100644
--- a/include/uapi/linux/sockios.h
+++ b/include/uapi/linux/sockios.h
@@ -66,7 +66,6 @@
#define SIOCSIFHWBROADCAST 0x8937 /* set hardware broadcast addr */
#define SIOCGIFCOUNT 0x8938 /* get number of devices */
#define SIOCKILLADDR 0x8939 /* kill sockets with this local addr */
-#define SIOCKILLSOCK 0x893a /* MTK_NET_CHANGES kill socket with by uid */
#define SIOCGIFBR 0x8940 /* Bridging support */
#define SIOCSIFBR 0x8941 /* Set bridging options */