Home
last modified time | relevance | path

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

/net/sctp/
Dulpevent.c960 struct sctp_rcvinfo rinfo; in sctp_ulpevent_read_rcvinfo() local
965 memset(&rinfo, 0, sizeof(struct sctp_rcvinfo)); in sctp_ulpevent_read_rcvinfo()
966 rinfo.rcv_sid = event->stream; in sctp_ulpevent_read_rcvinfo()
967 rinfo.rcv_ssn = event->ssn; in sctp_ulpevent_read_rcvinfo()
968 rinfo.rcv_ppid = event->ppid; in sctp_ulpevent_read_rcvinfo()
969 rinfo.rcv_flags = event->flags; in sctp_ulpevent_read_rcvinfo()
970 rinfo.rcv_tsn = event->tsn; in sctp_ulpevent_read_rcvinfo()
971 rinfo.rcv_cumtsn = event->cumtsn; in sctp_ulpevent_read_rcvinfo()
972 rinfo.rcv_assoc_id = sctp_assoc2id(event->asoc); in sctp_ulpevent_read_rcvinfo()
973 rinfo.rcv_context = event->asoc->default_rcv_context; in sctp_ulpevent_read_rcvinfo()
[all …]
/net/mac80211/
Dsta_info.c2074 struct rate_info *rinfo) in sta_stats_decode_rate() argument
2076 rinfo->bw = STA_STATS_GET(BW, rate); in sta_stats_decode_rate()
2080 rinfo->flags = RATE_INFO_FLAGS_VHT_MCS; in sta_stats_decode_rate()
2081 rinfo->mcs = STA_STATS_GET(VHT_MCS, rate); in sta_stats_decode_rate()
2082 rinfo->nss = STA_STATS_GET(VHT_NSS, rate); in sta_stats_decode_rate()
2084 rinfo->flags |= RATE_INFO_FLAGS_SHORT_GI; in sta_stats_decode_rate()
2087 rinfo->flags = RATE_INFO_FLAGS_MCS; in sta_stats_decode_rate()
2088 rinfo->mcs = STA_STATS_GET(HT_MCS, rate); in sta_stats_decode_rate()
2090 rinfo->flags |= RATE_INFO_FLAGS_SHORT_GI; in sta_stats_decode_rate()
2105 if (rinfo->bw == RATE_INFO_BW_5) in sta_stats_decode_rate()
[all …]
Dcfg.c685 struct rate_info *rinfo) in sta_set_rate_info_tx() argument
687 rinfo->flags = 0; in sta_set_rate_info_tx()
689 rinfo->flags |= RATE_INFO_FLAGS_MCS; in sta_set_rate_info_tx()
690 rinfo->mcs = rate->idx; in sta_set_rate_info_tx()
692 rinfo->flags |= RATE_INFO_FLAGS_VHT_MCS; in sta_set_rate_info_tx()
693 rinfo->mcs = ieee80211_rate_get_vht_mcs(rate); in sta_set_rate_info_tx()
694 rinfo->nss = ieee80211_rate_get_vht_nss(rate); in sta_set_rate_info_tx()
704 rinfo->legacy = DIV_ROUND_UP(brate, 1 << shift); in sta_set_rate_info_tx()
708 rinfo->bw = RATE_INFO_BW_40; in sta_set_rate_info_tx()
710 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->tx_stats.last_rate, &rinfo); in ieee80211s_update_metric()
315 cfg80211_calculate_bitrate(&rinfo)); in ieee80211s_update_metric()
Dsta_info.h819 struct rate_info *rinfo);
/net/ipv6/
Droute.c943 struct route_info *rinfo = (struct route_info *) opt; in rt6_route_rcv() local
954 if (rinfo->length > 3) { in rt6_route_rcv()
956 } else if (rinfo->prefix_len > 128) { in rt6_route_rcv()
958 } else if (rinfo->prefix_len > 64) { in rt6_route_rcv()
959 if (rinfo->length < 2) { in rt6_route_rcv()
962 } else if (rinfo->prefix_len > 0) { in rt6_route_rcv()
963 if (rinfo->length < 1) { in rt6_route_rcv()
968 pref = rinfo->route_pref; in rt6_route_rcv()
972 lifetime = addrconf_timeout_fixup(ntohl(rinfo->lifetime), HZ); in rt6_route_rcv()
974 if (rinfo->length == 3) in rt6_route_rcv()
[all …]
/net/dsa/
Dslave.c1379 struct dsa_notifier_register_info rinfo = { in dsa_slave_notify() local
1386 call_dsa_notifiers(val, dev, &rinfo.info); in dsa_slave_notify()