Home
last modified time | relevance | path

Searched refs:pkti (Results 1 – 3 of 3) sorted by relevance

/samples/bpf/
Dhbm_kern.h82 static int get_tcp_info(struct __sk_buff *skb, struct hbm_pkt_info *pkti) in get_tcp_info() argument
94 pkti->cwnd = tp->snd_cwnd; in get_tcp_info()
95 pkti->rtt = tp->srtt_us >> 3; in get_tcp_info()
96 pkti->packets_out = tp->packets_out; in get_tcp_info()
102 pkti->cwnd = 0; in get_tcp_info()
103 pkti->rtt = 0; in get_tcp_info()
104 pkti->packets_out = 0; in get_tcp_info()
109 struct hbm_pkt_info *pkti) in hbm_get_pkt_info() argument
114 pkti->cwnd = 0; in hbm_get_pkt_info()
115 pkti->rtt = 0; in hbm_get_pkt_info()
[all …]
Dhbm_edt_kern.c64 struct hbm_pkt_info pkti = {}; in _hbm_out_cg() local
77 hbm_get_pkt_info(skb, &pkti); in _hbm_out_cg()
118 if (pkti.is_tcp && pkti.ecn == 0) in _hbm_out_cg()
121 if (pkti.is_tcp) in _hbm_out_cg()
131 if (pkti.is_tcp) { in _hbm_out_cg()
147 if (pkti.is_tcp && drop_flag && pkti.packets_out <= 1) { in _hbm_out_cg()
157 cwr_flag, ecn_ce_flag, &pkti, (int) delta); in _hbm_out_cg()
Dhbm_out_kern.c60 struct hbm_pkt_info pkti; in _hbm_out_cg() local
79 hbm_get_pkt_info(skb, &pkti); in _hbm_out_cg()
128 if (pkti.ecn) in _hbm_out_cg()
130 else if (pkti.is_tcp) in _hbm_out_cg()
134 if (pkti.ecn || pkti.is_tcp) { in _hbm_out_cg()
148 if (pkti.is_tcp) { in _hbm_out_cg()
168 cwr_flag, ecn_ce_flag, &pkti, credit); in _hbm_out_cg()