ANDROID: GKI: net: add vendor hooks for link data path
add vendor hooks to support link data path feature. 1.android_vh_dc_send_copy For send copy pkt on the other ways 2.android_vh_dc_receive For Drop duplicated pkt when dual connection connected Bug: 343838581 Change-Id: I31acba1827205c366a4f54c4b940d4d8f2c21bff Signed-off-by: Dezhi Huang <huangdezhi@hihonor.com> (cherry picked from commit 86dd89554f8308fcd58af6156fd67ac2ac7facbf) (cherry picked from commit f949397a1b86bdb461a14176db4a7cdc6cc63cbc)
This commit is contained in:
committed by
Treehugger Robot
parent
76532812c0
commit
8689d027d8
@@ -81,6 +81,11 @@ DECLARE_HOOK(android_vh_tcp_rcv_established_fast_path,
|
||||
TP_PROTO(struct sock *sk), TP_ARGS(sk));
|
||||
DECLARE_HOOK(android_vh_tcp_rcv_established_slow_path,
|
||||
TP_PROTO(struct sock *sk), TP_ARGS(sk));
|
||||
struct net_device;
|
||||
DECLARE_HOOK(android_vh_dc_send_copy,
|
||||
TP_PROTO(struct sk_buff *skb, struct net_device *dev), TP_ARGS(skb, dev));
|
||||
DECLARE_HOOK(android_vh_dc_receive,
|
||||
TP_PROTO(struct sk_buff *skb, int *flag), TP_ARGS(skb, flag));
|
||||
/* macro versions of hooks are no longer required */
|
||||
|
||||
#endif /* _TRACE_HOOK_NET_VH_H */
|
||||
|
||||
Reference in New Issue
Block a user