Home
last modified time | relevance | path

Searched refs:rinfo (Results 1 – 6 of 6) sorted by relevance

/net/sctp/
Dulpevent.c1018 struct sctp_rcvinfo rinfo; in sctp_ulpevent_read_rcvinfo() local
1023 memset(&rinfo, 0, sizeof(struct sctp_rcvinfo)); in sctp_ulpevent_read_rcvinfo()
1024 rinfo.rcv_sid = event->stream; in sctp_ulpevent_read_rcvinfo()
1025 rinfo.rcv_ssn = event->ssn; in sctp_ulpevent_read_rcvinfo()
1026 rinfo.rcv_ppid = event->ppid; in sctp_ulpevent_read_rcvinfo()
1027 rinfo.rcv_flags = event->flags; in sctp_ulpevent_read_rcvinfo()
1028 rinfo.rcv_tsn = event->tsn; in sctp_ulpevent_read_rcvinfo()
1029 rinfo.rcv_cumtsn = event->cumtsn; in sctp_ulpevent_read_rcvinfo()
1030 rinfo.rcv_assoc_id = sctp_assoc2id(event->asoc); in sctp_ulpevent_read_rcvinfo()
1031 rinfo.rcv_context = event->asoc->default_rcv_context; in sctp_ulpevent_read_rcvinfo()
[all …]
/net/mac80211/
Dsta_info.c2154 struct rate_info *rinfo) in sta_stats_decode_rate() argument
2156 rinfo->bw = STA_STATS_GET(BW, rate); in sta_stats_decode_rate()
2160 rinfo->flags = RATE_INFO_FLAGS_VHT_MCS; in sta_stats_decode_rate()
2161 rinfo->mcs = STA_STATS_GET(VHT_MCS, rate); in sta_stats_decode_rate()
2162 rinfo->nss = STA_STATS_GET(VHT_NSS, rate); in sta_stats_decode_rate()
2164 rinfo->flags |= RATE_INFO_FLAGS_SHORT_GI; in sta_stats_decode_rate()
2167 rinfo->flags = RATE_INFO_FLAGS_MCS; in sta_stats_decode_rate()
2168 rinfo->mcs = STA_STATS_GET(HT_MCS, rate); in sta_stats_decode_rate()
2170 rinfo->flags |= RATE_INFO_FLAGS_SHORT_GI; in sta_stats_decode_rate()
2185 if (rinfo->bw == RATE_INFO_BW_5) in sta_stats_decode_rate()
[all …]
Dcfg.c719 struct rate_info *rinfo) in sta_set_rate_info_tx() argument
721 rinfo->flags = 0; in sta_set_rate_info_tx()
723 rinfo->flags |= RATE_INFO_FLAGS_MCS; in sta_set_rate_info_tx()
724 rinfo->mcs = rate->idx; in sta_set_rate_info_tx()
726 rinfo->flags |= RATE_INFO_FLAGS_VHT_MCS; in sta_set_rate_info_tx()
727 rinfo->mcs = ieee80211_rate_get_vht_mcs(rate); in sta_set_rate_info_tx()
728 rinfo->nss = ieee80211_rate_get_vht_nss(rate); in sta_set_rate_info_tx()
738 rinfo->legacy = DIV_ROUND_UP(brate, 1 << shift); in sta_set_rate_info_tx()
742 rinfo->bw = RATE_INFO_BW_40; in sta_set_rate_info_tx()
744 rinfo->bw = RATE_INFO_BW_80; in sta_set_rate_info_tx()
[all …]
Dmesh_hwmp.c301 struct rate_info rinfo; in ieee80211s_update_metric() local
313 sta_set_rate_info_tx(sta, &sta->deflink.tx_stats.last_rate, &rinfo); in ieee80211s_update_metric()
315 cfg80211_calculate_bitrate(&rinfo)); in ieee80211s_update_metric()
Dsta_info.h887 struct rate_info *rinfo);
/net/ipv6/
Droute.c928 struct route_info *rinfo = (struct route_info *) opt; in rt6_route_rcv() local
939 if (rinfo->length > 3) { in rt6_route_rcv()
941 } else if (rinfo->prefix_len > 128) { in rt6_route_rcv()
943 } else if (rinfo->prefix_len > 64) { in rt6_route_rcv()
944 if (rinfo->length < 2) { in rt6_route_rcv()
947 } else if (rinfo->prefix_len > 0) { in rt6_route_rcv()
948 if (rinfo->length < 1) { in rt6_route_rcv()
953 pref = rinfo->route_pref; in rt6_route_rcv()
957 lifetime = addrconf_timeout_fixup(ntohl(rinfo->lifetime), HZ); in rt6_route_rcv()
959 if (rinfo->length == 3) in rt6_route_rcv()
[all …]