Home
last modified time | relevance | path

Searched refs:n2 (Results 1 – 15 of 15) sorted by relevance

/net/dccp/ccids/lib/
Dpacket_history.c178 static void __one_after_loss(struct tfrc_rx_hist *h, struct sk_buff *skb, u32 n2) in __one_after_loss() argument
186 tfrc_rx_hist_entry_from_skb(tfrc_rx_hist_entry(h, 2), skb, n2); in __one_after_loss()
192 if (dccp_loss_free(s0, s2, n2)) { in __one_after_loss()
201 tfrc_rx_hist_entry_from_skb(tfrc_rx_hist_loss_prev(h), skb, n2); in __one_after_loss()
209 tfrc_rx_hist_entry_from_skb(tfrc_rx_hist_entry(h, 1), skb, n2); in __one_after_loss()
247 u64 n2 = tfrc_rx_hist_entry(h, 2)->tfrchrx_ndp; in __two_after_loss() local
249 if (dccp_loss_free(s1, s2, n2)) { in __two_after_loss()
289 u64 n2 = tfrc_rx_hist_entry(h, 2)->tfrchrx_ndp, in __three_after_loss() local
292 if (dccp_loss_free(s1, s2, n2)) { in __three_after_loss()
/net/lapb/
Dlapb_timer.c106 if (lapb->n2count == lapb->n2) { in lapb_t1timer_expiry()
130 if (lapb->n2count == lapb->n2) { in lapb_t1timer_expiry()
147 if (lapb->n2count == lapb->n2) { in lapb_t1timer_expiry()
165 if (lapb->n2count == lapb->n2) { in lapb_t1timer_expiry()
Dlapb_iface.c135 lapb->n2 = LAPB_DEFAULT_N2; in lapb_create_cb()
212 parms->n2 = lapb->n2; in lapb_getparms()
244 if (parms->t1 < 1 || parms->t2 < 1 || parms->n2 < 1) in lapb_setparms()
261 lapb->n2 = parms->n2; in lapb_setparms()
/net/ax25/
Dax25_std_timer.c127 if (ax25->n2count == ax25->n2) { in ax25_std_t1timer_expiry()
147 if (ax25->n2count == ax25->n2) { in ax25_std_t1timer_expiry()
165 if (ax25->n2count == ax25->n2) { in ax25_std_t1timer_expiry()
Dax25_ds_timer.c196 if (ax25->n2count == ax25->n2) { in ax25_ds_t1_timeout()
216 if (ax25->n2count == ax25->n2) { in ax25_ds_t1_timeout()
227 if (ax25->n2count == ax25->n2) { in ax25_ds_t1_timeout()
Daf_ax25.c416 ax25->n2 = ax25_ctl.arg; in ax25_ctl_ioctl()
457 ax25->n2 = ax25_dev->values[AX25_VALUES_N2]; in ax25_fillin_cb_from_dev()
491 ax25->n2 = AX25_DEF_N2; in ax25_fillin_cb()
596 ax25->n2 = opt; in ax25_setsockopt()
727 val = ax25->n2; in ax25_getsockopt()
939 ax25->n2 = oax25->n2; in ax25_make_new()
1795 ax25_info.n2 = ax25->n2; in ax25_ioctl()
1924 ax25->n2count, ax25->n2, in ax25_info_show()
/net/netrom/
Dnr_timer.c216 if (nr->n2count == nr->n2) { in nr_t1timer_expiry()
226 if (nr->n2count == nr->n2) { in nr_t1timer_expiry()
236 if (nr->n2count == nr->n2) { in nr_t1timer_expiry()
Daf_netrom.c331 nr->n2 = opt; in nr_setsockopt()
378 val = nr->n2; in nr_getsockopt()
457 nr->n2 = in nr_create()
505 nr->n2 = onr->n2; in nr_make_new()
1329 nr->n2, in nr_info_show()
/net/bluetooth/
Dsmp.c248 const u8 n1[16], const u8 n2[16], const u8 a1[7], in smp_f5()
265 SMP_DBG("n1 %16phN n2 %16phN", n1, n2); in smp_f5()
277 memcpy(m + 16, n2, 16); in smp_f5()
301 const u8 n1[16], const u8 n2[16], const u8 r[16], in smp_f6()
309 SMP_DBG("n1 %16phN n2 %16phN", n1, n2); in smp_f6()
316 memcpy(m + 33, n2, 16); in smp_f6()
3619 const u8 n2[16] = { in test_f5() local
3633 err = smp_f5(tfm_cmac, w, n1, n2, a1, a2, mackey, ltk); in test_f5()
3654 const u8 n2[16] = { in test_f6() local
3669 err = smp_f6(tfm_cmac, w, n1, n2, r, io_cap, a1, a2, res); in test_f6()
/net/llc/
Dllc_c_ev.c665 return !(llc_sk(sk)->retry_count < llc_sk(sk)->n2); in llc_conn_ev_qlfy_retry_cnt_lt_n2()
670 return !(llc_sk(sk)->retry_count >= llc_sk(sk)->n2); in llc_conn_ev_qlfy_retry_cnt_gte_n2()
Daf_llc.c1081 llc->n2 = opt; in llc_ui_setsockopt()
1162 val = llc->n2; break; in llc_ui_getsockopt()
Dllc_conn.c902 llc->n2 = 2; /* max retransmit */ in llc_sk_init()
Dllc_c_ac.c154 if (llc->retry_count > llc->n2) { in llc_conn_ac_rst_ind()
/net/core/
Dneighbour.c1224 struct neighbour *n2, *n1 = neigh; in neigh_update() local
1236 n2 = NULL; in neigh_update()
1238 n2 = dst_neigh_lookup_skb(dst, skb); in neigh_update()
1239 if (n2) in neigh_update()
1240 n1 = n2; in neigh_update()
1243 if (n2) in neigh_update()
1244 neigh_release(n2); in neigh_update()
/net/mac80211/
Dtx.c3110 int i, have_bits = 0, n1, n2; in __ieee80211_beacon_add_tim() local
3148 n2 = n1; in __ieee80211_beacon_add_tim()
3151 n2 = i; in __ieee80211_beacon_add_tim()
3159 skb_put(skb, n2 - n1); in __ieee80211_beacon_add_tim()
3160 memcpy(pos, ps->tim + n1, n2 - n1 + 1); in __ieee80211_beacon_add_tim()
3162 tim[1] = n2 - n1 + 4; in __ieee80211_beacon_add_tim()