Searched refs:seqno (Results 1 - 19 of 19) sorted by relevance

/net/dccp/ccids/lib/
H A Dpacket_history.h46 * @seqno: sequence number of this entry
47 * @stamp: send time of packet with sequence number @seqno
51 u64 seqno; member in struct:tfrc_tx_hist_entry
56 tfrc_tx_hist_find_entry(struct tfrc_tx_hist_entry *head, u64 seqno) argument
58 while (head != NULL && head->seqno != seqno)
63 extern int tfrc_tx_hist_add(struct tfrc_tx_hist_entry **headp, u64 seqno);
110 * tfrc_rx_hist_last_rcv - entry with highest-received-seqno so far
128 * tfrc_rx_hist_loss_prev - entry with highest-received-seqno before loss was detected
H A Dpacket_history.c62 int tfrc_tx_hist_add(struct tfrc_tx_hist_entry **headp, u64 seqno) argument
68 entry->seqno = seqno;
164 * performed already: the seqno of the skb must not be less than the seqno
/net/dccp/
H A Dackvec.c51 * @seqno: Sequence number of the packet carrying the Ack Vector just sent
54 int dccp_ackvec_update_records(struct dccp_ackvec *av, u64 seqno, u8 nonce_sum) argument
62 avr->avr_ack_seqno = seqno;
130 * @distance: negative or zero distance of @seqno from buf_ackno downward
131 * @seqno: the (old) sequence number whose record is to be updated
132 * @state: state in which packet carrying @seqno was received
135 u64 seqno, enum dccp_ackvec_states state)
166 (unsigned long long)seqno, state);
196 * @seqno: sequence number of the first packet in @num_packets
197 * @state: state in which packet carrying @seqno wa
134 dccp_ackvec_update_old(struct dccp_ackvec *av, s64 distance, u64 seqno, enum dccp_ackvec_states state) argument
199 dccp_ackvec_add_new(struct dccp_ackvec *av, u32 num_packets, u64 seqno, enum dccp_ackvec_states state) argument
251 u64 seqno = DCCP_SKB_CB(skb)->dccpd_seq; local
[all...]
H A Dinput.c100 * Send Sync packet acknowledging P.seqno
193 u64 lswl, lawl, seqno = DCCP_SKB_CB(skb)->dccpd_seq, local
199 * If S.AWL <= P.ackno <= S.AWH and P.seqno >= S.SWL,
211 dccp_delta_seqno(dp->dccps_swl, seqno) >= 0)
212 dccp_update_gsr(sk, seqno);
222 * If LSWL <= P.seqno <= S.SWH
238 if (between48(seqno, lswl, dp->dccps_swh) &&
241 dccp_update_gsr(sk, seqno);
255 * Send Sync packet acknowledging P.seqno
266 "(LSWL(%llu) <= P.seqno(
[all...]
H A Ddccp.h114 static inline void dccp_set_seqno(u64 *seqno, u64 value) argument
116 *seqno = value & UINT48_MAX;
119 static inline void dccp_inc_seqno(u64 *seqno) argument
121 *seqno = ADD48(*seqno, 1);
/net/batman-adv/
H A Dpacket.h137 __be32 seqno; member in struct:batadv_ogm_packet
154 __be16 seqno; member in struct:batadv_icmp_packet
169 __be16 seqno; member in struct:batadv_icmp_packet_rr
219 __be16 seqno; member in struct:batadv_unicast_frag_packet
225 __be32 seqno; member in struct:batadv_bcast_packet
237 __be32 seqno; /* sequence number */ member in struct:batadv_vis_packet
H A Dunicast.c62 tfp->seqno = 0;
93 tfp->seqno = ntohs(up->seqno);
111 tfp->seqno = 0;
129 search_seqno = ntohs(up->seqno)+1;
131 search_seqno = ntohs(up->seqno)-1;
139 if (tfp->seqno == ntohs(up->seqno))
144 if (tfp->seqno == search_seqno) {
236 uint16_t seqno; local
[all...]
H A Dbat_iv_ogm.c51 struct batadv_orig_node *orig_neigh, __be32 seqno)
56 ntohl(seqno));
80 /* randomize initial seqno to avoid collision */
217 "%s %spacket (originator %pM, seqno %u, TQ %d, TTL %d, IDF %s, ttvn %d) on interface %s [%pM]\n",
220 ntohl(batadv_ogm_packet->seqno),
281 "%s packet (originator %pM, seqno %u, TTL %d) on interface %s [%pM]\n",
284 ntohl(batadv_ogm_packet->seqno),
616 uint32_t seqno; local
630 seqno = (uint32_t)atomic_read(&hard_iface->bat_iv.ogm_seqno);
631 batadv_ogm_packet->seqno
48 batadv_iv_ogm_neigh_new(struct batadv_hard_iface *hard_iface, const uint8_t *neigh_addr, struct batadv_orig_node *orig_node, struct batadv_orig_node *orig_neigh, __be32 seqno) argument
942 uint32_t seqno = ntohl(batadv_ogm_packet->seqno); local
[all...]
H A Doriginator.h34 const uint8_t *neigh_addr, uint32_t seqno);
H A Dvis.c371 if (!batadv_seq_after(ntohl(vis_packet->seqno),
372 ntohl(old_packet->seqno))) {
373 if (old_packet->seqno == vis_packet->seqno) {
585 packet->seqno = htonl(ntohl(packet->seqno) + 1);
877 packet->seqno = 0;
H A Dsoft-interface.c159 uint32_t seqno; local
256 seqno = atomic_inc_return(&bat_priv->bcast_seqno);
257 bcast_packet->seqno = htonl(seqno);
H A Doriginator.c95 const uint8_t *neigh_addr, uint32_t seqno)
113 "Creating new neighbor %pM, initial seqno %d\n",
114 neigh_addr, seqno);
94 batadv_neigh_node_new(struct batadv_hard_iface *hard_iface, const uint8_t *neigh_addr, uint32_t seqno) argument
H A Dtypes.h98 * @bcast_seqno_reset: time when the broadcast seqno window was reset
99 * @batman_seqno_reset: time when the batman seqno window was reset
869 * @seqno: sequence number of the fragment
874 uint16_t seqno; member in struct:batadv_frag_packet_list_entry
H A Drouting.c1200 ntohl(bcast_packet->seqno)))
1203 seq_diff = ntohl(bcast_packet->seqno) - orig_node->last_bcast_seqno;
1214 orig_node->last_bcast_seqno = ntohl(bcast_packet->seqno);
H A Dnetwork-coding.c657 if (orig_node->last_real_seqno != ntohl(ogm_packet->seqno))
/net/tipc/
H A Dbcast.c158 static void bclink_update_last_sent(struct tipc_node *node, u32 seqno) argument
160 node->bclink.last_sent = less_eq(node->bclink.last_sent, seqno) ?
161 seqno : node->bclink.last_sent;
389 static void bclink_accept_pkt(struct tipc_node *node, u32 seqno) argument
391 bclink_update_last_sent(node, seqno);
392 node->bclink.last_in = seqno;
401 if (((seqno - tipc_own_addr) % TIPC_MIN_LINK_WIN) == 0) {
419 u32 seqno; local
458 seqno = msg_seqno(msg);
461 if (likely(seqno
[all...]
H A Dlink.c808 u32 seqno = mod(l_ptr->next_out_no++); local
810 msg_set_word(msg, 2, ((ack << 16) | seqno));
2476 static void set_long_msg_seqno(struct sk_buff *buf, u32 seqno) argument
2478 msg_set_seqno(buf_msg(buf), seqno); local
/net/dccp/ccids/
H A Dccid2.c509 u64 ackno, seqno; local
515 seqno = DCCP_SKB_CB(skb)->dccpd_seq;
524 hc->tx_rpseq = seqno;
527 if (dccp_delta_seqno(hc->tx_rpseq, seqno) == 1)
528 hc->tx_rpseq = seqno;
530 else if (after48(seqno, hc->tx_rpseq)) {
591 /* if the seqno we are analyzing is larger than the
/net/ipv6/
H A Dip6_gre.c451 u32 seqno = 0; local
490 seqno = ntohl(*(__be32 *)(h + offset));
538 (s32)(seqno - tunnel->i_seqno) < 0)) {
543 tunnel->i_seqno = seqno + 1;

Completed in 689 milliseconds