Home
last modified time | relevance | path

Searched refs:seqno (Results 1 – 10 of 10) sorted by relevance

/net/dccp/ccids/lib/
Dpacket_history.c51 u64 seqno; member
77 tfrc_tx_hist_find_entry(struct tfrc_tx_hist_entry *head, u64 seqno) in tfrc_tx_hist_find_entry() argument
79 while (head != NULL && head->seqno != seqno) in tfrc_tx_hist_find_entry()
85 int tfrc_tx_hist_add(struct tfrc_tx_hist_entry **headp, u64 seqno) in tfrc_tx_hist_add() argument
91 entry->seqno = seqno; in tfrc_tx_hist_add()
112 u32 tfrc_tx_hist_rtt(struct tfrc_tx_hist_entry *head, const u64 seqno, in tfrc_tx_hist_rtt() argument
116 struct tfrc_tx_hist_entry *packet = tfrc_tx_hist_find_entry(head, seqno); in tfrc_tx_hist_rtt()
Dpacket_history.h45 extern int tfrc_tx_hist_add(struct tfrc_tx_hist_entry **headp, u64 seqno);
48 const u64 seqno, const ktime_t now);
/net/tipc/
Dbcast.c359 u32 seqno = buf_seqno(buf); in tipc_bclink_peek_nack() local
361 if (mod(seqno - prev) != 1) { in tipc_bclink_peek_nack()
365 if (seqno == gap_after) in tipc_bclink_peek_nack()
367 prev = seqno; in tipc_bclink_peek_nack()
423 u32 seqno; in tipc_bclink_recv_pkt() local
469 seqno = msg_seqno(msg); in tipc_bclink_recv_pkt()
471 if (likely(seqno == next_in)) { in tipc_bclink_recv_pkt()
475 if (unlikely(bclink_ack_allowed(seqno))) { in tipc_bclink_recv_pkt()
506 } else if (less(next_in, seqno)) { in tipc_bclink_recv_pkt()
515 if (seqno == mod(gap_after + 1)) in tipc_bclink_recv_pkt()
[all …]
Dbcast.h203 void tipc_bclink_check_gap(struct tipc_node *n_ptr, u32 seqno);
Dport.c391 u32 seqno, u32 ack) in port_build_proto_msg() argument
404 msg_set_transp_seqno(msg, seqno); in port_build_proto_msg()
597 u32 seqno = msg_transp_seqno(msg); in tipc_port_recv_proto_msg() local
599 if (seqno != myno) { in tipc_port_recv_proto_msg()
Dlink.c1040 u32 seqno = mod(l_ptr->next_out_no++); in link_add_to_outqueue() local
1042 msg_set_word(msg, 2, ((ack << 16) | seqno)); in link_add_to_outqueue()
2738 static void set_long_msg_seqno(struct sk_buff *buf, u32 seqno) in set_long_msg_seqno() argument
2740 msg_set_seqno(buf_msg(buf), seqno); in set_long_msg_seqno()
/net/dccp/
Dinput.c190 u64 lswl, lawl, seqno = DCCP_SKB_CB(skb)->dccpd_seq, in dccp_check_seqno() local
208 dccp_delta_seqno(dp->dccps_swl, seqno) >= 0) in dccp_check_seqno()
209 dccp_update_gsr(sk, seqno); in dccp_check_seqno()
235 if (between48(seqno, lswl, dp->dccps_swh) && in dccp_check_seqno()
238 dccp_update_gsr(sk, seqno); in dccp_check_seqno()
265 (unsigned long long) lswl, (unsigned long long) seqno, in dccp_check_seqno()
275 seqno = dp->dccps_gsr; in dccp_check_seqno()
276 dccp_send_sync(sk, seqno, DCCP_PKT_SYNC); in dccp_check_seqno()
Ddccp.h115 static inline void dccp_set_seqno(u64 *seqno, u64 value) in dccp_set_seqno() argument
117 *seqno = value & UINT48_MAX; in dccp_set_seqno()
120 static inline void dccp_inc_seqno(u64 *seqno) in dccp_inc_seqno() argument
122 *seqno = ADD48(*seqno, 1); in dccp_inc_seqno()
/net/dccp/ccids/
Dccid2.c509 u64 ackno, seqno; in ccid2_hc_tx_packet_recv() local
519 seqno = DCCP_SKB_CB(skb)->dccpd_seq; in ccid2_hc_tx_packet_recv()
528 hctx->ccid2hctx_rpseq = seqno; in ccid2_hc_tx_packet_recv()
531 if (dccp_delta_seqno(hctx->ccid2hctx_rpseq, seqno) == 1) in ccid2_hc_tx_packet_recv()
532 hctx->ccid2hctx_rpseq = seqno; in ccid2_hc_tx_packet_recv()
534 else if (after48(seqno, hctx->ccid2hctx_rpseq)) { in ccid2_hc_tx_packet_recv()
/net/ipv4/
Dip_gre.c474 u32 seqno = 0; in ipgre_rcv() local
513 seqno = ntohl(*(__be32*)(h + offset)); in ipgre_rcv()
561 (tunnel->i_seqno && (s32)(seqno - tunnel->i_seqno) < 0)) { in ipgre_rcv()
566 tunnel->i_seqno = seqno + 1; in ipgre_rcv()