Searched refs:rinfo (Results 1 – 6 of 6) sorted by relevance
895 struct sctp_rcvinfo rinfo; in sctp_ulpevent_read_rcvinfo() local900 memset(&rinfo, 0, sizeof(struct sctp_rcvinfo)); in sctp_ulpevent_read_rcvinfo()901 rinfo.rcv_sid = event->stream; in sctp_ulpevent_read_rcvinfo()902 rinfo.rcv_ssn = event->ssn; in sctp_ulpevent_read_rcvinfo()903 rinfo.rcv_ppid = event->ppid; in sctp_ulpevent_read_rcvinfo()904 rinfo.rcv_flags = event->flags; in sctp_ulpevent_read_rcvinfo()905 rinfo.rcv_tsn = event->tsn; in sctp_ulpevent_read_rcvinfo()906 rinfo.rcv_cumtsn = event->cumtsn; in sctp_ulpevent_read_rcvinfo()907 rinfo.rcv_assoc_id = sctp_assoc2id(event->asoc); in sctp_ulpevent_read_rcvinfo()908 rinfo.rcv_context = event->asoc->default_rcv_context; in sctp_ulpevent_read_rcvinfo()[all …]
408 struct rate_info *rinfo) in sta_set_rate_info_tx() argument410 rinfo->flags = 0; in sta_set_rate_info_tx()412 rinfo->flags |= RATE_INFO_FLAGS_MCS; in sta_set_rate_info_tx()413 rinfo->mcs = rate->idx; in sta_set_rate_info_tx()415 rinfo->flags |= RATE_INFO_FLAGS_VHT_MCS; in sta_set_rate_info_tx()416 rinfo->mcs = ieee80211_rate_get_vht_mcs(rate); in sta_set_rate_info_tx()417 rinfo->nss = ieee80211_rate_get_vht_nss(rate); in sta_set_rate_info_tx()426 rinfo->legacy = DIV_ROUND_UP(brate, 1 << shift); in sta_set_rate_info_tx()429 rinfo->flags |= RATE_INFO_FLAGS_40_MHZ_WIDTH; in sta_set_rate_info_tx()431 rinfo->flags |= RATE_INFO_FLAGS_80_MHZ_WIDTH; in sta_set_rate_info_tx()[all …]
372 struct rate_info rinfo; in sta_current_tx_rate_read() local374 sta_set_rate_info_tx(sta, &sta->last_tx_rate, &rinfo); in sta_current_tx_rate_read()375 rate = cfg80211_calculate_bitrate(&rinfo); in sta_current_tx_rate_read()387 struct rate_info rinfo; in sta_last_rx_rate_read() local390 sta_set_rate_info_rx(sta, &rinfo); in sta_last_rx_rate_read()392 rate = cfg80211_calculate_bitrate(&rinfo); in sta_last_rx_rate_read()
639 struct rate_info *rinfo);641 struct rate_info *rinfo);
327 struct rate_info rinfo; in airtime_link_metric_get() local339 sta_set_rate_info_tx(sta, &sta->last_tx_rate, &rinfo); in airtime_link_metric_get()340 rate = cfg80211_calculate_bitrate(&rinfo); in airtime_link_metric_get()
702 struct route_info *rinfo = (struct route_info *) opt; in rt6_route_rcv() local713 if (rinfo->length > 3) { in rt6_route_rcv()715 } else if (rinfo->prefix_len > 128) { in rt6_route_rcv()717 } else if (rinfo->prefix_len > 64) { in rt6_route_rcv()718 if (rinfo->length < 2) { in rt6_route_rcv()721 } else if (rinfo->prefix_len > 0) { in rt6_route_rcv()722 if (rinfo->length < 1) { in rt6_route_rcv()727 pref = rinfo->route_pref; in rt6_route_rcv()731 lifetime = addrconf_timeout_fixup(ntohl(rinfo->lifetime), HZ); in rt6_route_rcv()733 if (rinfo->length == 3) in rt6_route_rcv()[all …]