/net/dccp/ |
D | ackvec.c | 54 int dccp_ackvec_update_records(struct dccp_ackvec *av, u64 seqno, u8 nonce_sum) in dccp_ackvec_update_records() argument 62 avr->avr_ack_seqno = seqno; in dccp_ackvec_update_records() 135 u64 seqno, enum dccp_ackvec_states state) in dccp_ackvec_update_old() argument 166 (unsigned long long)seqno, state); in dccp_ackvec_update_old() 200 u64 seqno, enum dccp_ackvec_states state) in dccp_ackvec_add_new() argument 240 av->av_buf_ackno = seqno; in dccp_ackvec_add_new() 251 u64 seqno = DCCP_SKB_CB(skb)->dccpd_seq; in dccp_ackvec_input() local 255 dccp_ackvec_add_new(av, 1, seqno, state); in dccp_ackvec_input() 256 av->av_tail_ackno = seqno; in dccp_ackvec_input() 259 s64 num_packets = dccp_delta_seqno(av->av_buf_ackno, seqno); in dccp_ackvec_input() [all …]
|
D | input.c | 193 u64 lswl, lawl, seqno = DCCP_SKB_CB(skb)->dccpd_seq, in dccp_check_seqno() local 211 dccp_delta_seqno(dp->dccps_swl, seqno) >= 0) in dccp_check_seqno() 212 dccp_update_gsr(sk, seqno); in dccp_check_seqno() 238 if (between48(seqno, lswl, dp->dccps_swh) && in dccp_check_seqno() 241 dccp_update_gsr(sk, seqno); in dccp_check_seqno() 269 (unsigned long long) lswl, (unsigned long long) seqno, in dccp_check_seqno() 279 seqno = dp->dccps_gsr; in dccp_check_seqno() 280 dccp_send_sync(sk, seqno, DCCP_PKT_SYNC); in dccp_check_seqno()
|
D | dccp.h | 114 static inline void dccp_set_seqno(u64 *seqno, u64 value) in dccp_set_seqno() argument 116 *seqno = value & UINT48_MAX; in dccp_set_seqno() 119 static inline void dccp_inc_seqno(u64 *seqno) in dccp_inc_seqno() argument 121 *seqno = ADD48(*seqno, 1); in dccp_inc_seqno()
|
/net/dccp/ccids/lib/ |
D | packet_history.h | 51 u64 seqno; member 56 tfrc_tx_hist_find_entry(struct tfrc_tx_hist_entry *head, u64 seqno) in tfrc_tx_hist_find_entry() argument 58 while (head != NULL && head->seqno != seqno) in tfrc_tx_hist_find_entry() 63 int tfrc_tx_hist_add(struct tfrc_tx_hist_entry **headp, u64 seqno);
|
D | packet_history.c | 62 int tfrc_tx_hist_add(struct tfrc_tx_hist_entry **headp, u64 seqno) in tfrc_tx_hist_add() argument 68 entry->seqno = seqno; in tfrc_tx_hist_add()
|
/net/batman-adv/ |
D | fragmentation.c | 114 u16 seqno) in batadv_frag_init_chain() argument 118 if (chain->seqno == seqno) in batadv_frag_init_chain() 125 chain->seqno = seqno; in batadv_frag_init_chain() 152 u16 seqno, hdr_size = sizeof(struct batadv_frag_packet); in batadv_frag_insert_packet() local 163 seqno = ntohs(frag_packet->seqno); in batadv_frag_insert_packet() 164 bucket = seqno % BATADV_FRAG_BUFFER_COUNT; in batadv_frag_insert_packet() 179 if (batadv_frag_init_chain(chain, seqno)) { in batadv_frag_insert_packet() 484 frag_header.seqno = htons(atomic_inc_return(&bat_priv->frag_seqno)); in batadv_frag_send_packet()
|
D | packet.h | 220 __be32 seqno; member 280 __be16 seqno; member 307 __be16 seqno; member 387 __be16 seqno; member 405 __be32 seqno; member
|
D | bat_iv_ogm.c | 487 ntohl(batadv_ogm_packet->seqno), in batadv_iv_ogm_send_to_if() 943 u32 seqno; in batadv_iv_ogm_schedule_buff() local 969 seqno = (u32)atomic_read(&hard_iface->bat_iv.ogm_seqno); in batadv_iv_ogm_schedule_buff() 970 batadv_ogm_packet->seqno = htonl(seqno); in batadv_iv_ogm_schedule_buff() 1350 u32 seqno = ntohl(batadv_ogm_packet->seqno); in batadv_iv_ogm_update_seqnos() local 1366 seq_diff = seqno - orig_ifinfo->last_real_seqno; in batadv_iv_ogm_update_seqnos() 1386 seqno); in batadv_iv_ogm_update_seqnos() 1415 orig_ifinfo->last_real_seqno, seqno); in batadv_iv_ogm_update_seqnos() 1416 orig_ifinfo->last_real_seqno = seqno; in batadv_iv_ogm_update_seqnos() 1550 sameseq = orig_ifinfo->last_real_seqno == ntohl(ogm_packet->seqno); in batadv_iv_ogm_process_per_outif() [all …]
|
D | routing.c | 1104 u32 seqno; in batadv_recv_bcast_packet() local 1140 seqno = ntohl(bcast_packet->seqno); in batadv_recv_bcast_packet() 1143 seqno)) in batadv_recv_bcast_packet() 1146 seq_diff = seqno - orig_node->last_bcast_seqno; in batadv_recv_bcast_packet() 1157 orig_node->last_bcast_seqno = seqno; in batadv_recv_bcast_packet()
|
D | soft-interface.c | 201 u32 seqno; in batadv_interface_tx() local 337 seqno = atomic_inc_return(&bat_priv->bcast_seqno); in batadv_interface_tx() 338 bcast_packet->seqno = htonl(seqno); in batadv_interface_tx()
|
D | types.h | 157 u16 seqno; member
|
D | network-coding.c | 760 if (last_real_seqno != ntohl(ogm_packet->seqno)) in batadv_can_nc_with_orig()
|
/net/tipc/ |
D | link.c | 719 u16 seqno = l->snd_nxt; in tipc_link_xmit() local 737 msg_set_seqno(hdr, seqno); in tipc_link_xmit() 750 seqno++; in tipc_link_xmit() 769 l->snd_nxt = seqno; in tipc_link_xmit() 777 u16 seqno = l->snd_nxt; in tipc_link_advance_backlog() local 794 msg_set_seqno(hdr, seqno); in tipc_link_advance_backlog() 798 seqno++; in tipc_link_advance_backlog() 800 l->snd_nxt = seqno; in tipc_link_advance_backlog() 1028 u16 seqno, rcv_nxt, win_lim; in tipc_link_rcv() local 1033 seqno = msg_seqno(hdr); in tipc_link_rcv() [all …]
|
D | msg.c | 605 void __tipc_skb_queue_sorted(struct sk_buff_head *list, u16 seqno, in __tipc_skb_queue_sorted() argument 610 if (skb_queue_empty(list) || less(seqno, buf_seqno(skb_peek(list)))) { in __tipc_skb_queue_sorted() 615 if (more(seqno, buf_seqno(skb_peek_tail(list)))) { in __tipc_skb_queue_sorted() 621 if (more(seqno, buf_seqno(_skb))) in __tipc_skb_queue_sorted() 623 if (seqno == buf_seqno(_skb)) in __tipc_skb_queue_sorted()
|
D | msg.h | 799 void __tipc_skb_queue_sorted(struct sk_buff_head *list, u16 seqno,
|
/net/dccp/ccids/ |
D | ccid2.c | 524 u64 ackno, seqno; in ccid2_hc_tx_packet_recv() local 530 seqno = DCCP_SKB_CB(skb)->dccpd_seq; in ccid2_hc_tx_packet_recv() 539 hc->tx_rpseq = seqno; in ccid2_hc_tx_packet_recv() 542 if (dccp_delta_seqno(hc->tx_rpseq, seqno) == 1) in ccid2_hc_tx_packet_recv() 543 hc->tx_rpseq = seqno; in ccid2_hc_tx_packet_recv() 545 else if (after48(seqno, hc->tx_rpseq)) { in ccid2_hc_tx_packet_recv()
|
/net/ipv6/ |
D | esp6.c | 170 __be64 seqno; in esp6_output() local 260 seqno = cpu_to_be64(XFRM_SKB_CB(skb)->seq.output.low + in esp6_output() 264 memcpy(iv + ivlen - min(ivlen, 8), (u8 *)&seqno + 8 - min(ivlen, 8), in esp6_output()
|
D | ip6_gre.c | 464 u32 seqno = 0; in ip6gre_rcv() local 493 seqno = ntohl(*(__be32 *)(h + offset)); in ip6gre_rcv() 538 (s32)(seqno - tunnel->i_seqno) < 0)) { in ip6gre_rcv() 543 tunnel->i_seqno = seqno + 1; in ip6gre_rcv()
|
/net/ipv4/ |
D | esp4.c | 152 __be64 seqno; in esp_output() local 279 seqno = cpu_to_be64(XFRM_SKB_CB(skb)->seq.output.low + in esp_output() 283 memcpy(iv + ivlen - min(ivlen, 8), (u8 *)&seqno + 8 - min(ivlen, 8), in esp_output()
|