Lines Matching refs:rx

36 static int dccp_hdlr_ccid(struct sock *sk, u64 ccid, bool rx)  in dccp_hdlr_ccid()  argument
39 struct ccid *new_ccid = ccid_new(ccid, sk, rx); in dccp_hdlr_ccid()
44 if (rx) { in dccp_hdlr_ccid()
54 static int dccp_hdlr_seq_win(struct sock *sk, u64 seq_win, bool rx) in dccp_hdlr_seq_win() argument
58 if (rx) { in dccp_hdlr_seq_win()
70 static int dccp_hdlr_ack_ratio(struct sock *sk, u64 ratio, bool rx) in dccp_hdlr_ack_ratio() argument
72 if (rx) in dccp_hdlr_ack_ratio()
79 static int dccp_hdlr_ackvec(struct sock *sk, u64 enable, bool rx) in dccp_hdlr_ackvec() argument
83 if (rx) { in dccp_hdlr_ackvec()
96 static int dccp_hdlr_ndp(struct sock *sk, u64 enable, bool rx) in dccp_hdlr_ndp() argument
98 if (!rx) in dccp_hdlr_ndp()
112 static int dccp_hdlr_min_cscov(struct sock *sk, u64 cscov, bool rx) in dccp_hdlr_min_cscov() argument
116 if (rx) in dccp_hdlr_min_cscov()
133 int (*activation_hdlr)(struct sock *sk, u64 val, bool rx);
308 bool rx; in __dccp_feat_activate() local
335 rx = (is_local == (dccp_feat_table[idx].rxtx == FEAT_AT_RX)); in __dccp_feat_activate()
337 dccp_debug(" -> activating %s %s, %sval=%llu\n", rx ? "RX" : "TX", in __dccp_feat_activate()
341 return dccp_feat_table[idx].activation_hdlr(sk, val, rx); in __dccp_feat_activate()
1461 } tx, rx; in dccp_feat_init() local
1489 if (ccid_get_builtin_ccids(&rx.val, &rx.len)) { in dccp_feat_init()
1495 !dccp_feat_prefer(sysctl_dccp_rx_ccid, rx.val, rx.len)) in dccp_feat_init()
1502 rc = __feat_register_sp(fn, DCCPF_CCID, false, false, rx.val, rx.len); in dccp_feat_init()
1506 kfree(rx.val); in dccp_feat_init()