Searched refs:rinfo (Results 1 – 6 of 6) sorted by relevance
/net/sctp/ |
D | ulpevent.c | 1018 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/ |
D | sta_info.c | 2424 struct rate_info *rinfo) in sta_stats_decode_rate() argument 2426 rinfo->bw = STA_STATS_GET(BW, rate); in sta_stats_decode_rate() 2430 rinfo->flags = RATE_INFO_FLAGS_VHT_MCS; in sta_stats_decode_rate() 2431 rinfo->mcs = STA_STATS_GET(VHT_MCS, rate); in sta_stats_decode_rate() 2432 rinfo->nss = STA_STATS_GET(VHT_NSS, rate); in sta_stats_decode_rate() 2434 rinfo->flags |= RATE_INFO_FLAGS_SHORT_GI; in sta_stats_decode_rate() 2437 rinfo->flags = RATE_INFO_FLAGS_MCS; in sta_stats_decode_rate() 2438 rinfo->mcs = STA_STATS_GET(HT_MCS, rate); in sta_stats_decode_rate() 2440 rinfo->flags |= RATE_INFO_FLAGS_SHORT_GI; in sta_stats_decode_rate() 2455 if (rinfo->bw == RATE_INFO_BW_5) in sta_stats_decode_rate() [all …]
|
D | mesh_hwmp.c | 301 struct rate_info rinfo; in ieee80211s_update_metric() local 315 rinfo = sta->deflink.tx_stats.last_rate_info; in ieee80211s_update_metric() 317 sta_set_rate_info_tx(sta, &sta->deflink.tx_stats.last_rate, &rinfo); in ieee80211s_update_metric() 320 cfg80211_calculate_bitrate(&rinfo)); in ieee80211s_update_metric()
|
D | cfg.c | 824 struct rate_info *rinfo) in sta_set_rate_info_tx() argument 826 rinfo->flags = 0; in sta_set_rate_info_tx() 828 rinfo->flags |= RATE_INFO_FLAGS_MCS; in sta_set_rate_info_tx() 829 rinfo->mcs = rate->idx; in sta_set_rate_info_tx() 831 rinfo->flags |= RATE_INFO_FLAGS_VHT_MCS; in sta_set_rate_info_tx() 832 rinfo->mcs = ieee80211_rate_get_vht_mcs(rate); in sta_set_rate_info_tx() 833 rinfo->nss = ieee80211_rate_get_vht_nss(rate); in sta_set_rate_info_tx() 843 rinfo->legacy = DIV_ROUND_UP(brate, 1 << shift); in sta_set_rate_info_tx() 847 rinfo->bw = RATE_INFO_BW_40; in sta_set_rate_info_tx() 849 rinfo->bw = RATE_INFO_BW_80; in sta_set_rate_info_tx() [all …]
|
D | sta_info.h | 918 struct rate_info *rinfo);
|
/net/ipv6/ |
D | route.c | 935 struct route_info *rinfo = (struct route_info *) opt; in rt6_route_rcv() local 946 if (rinfo->length > 3) { in rt6_route_rcv() 948 } else if (rinfo->prefix_len > 128) { in rt6_route_rcv() 950 } else if (rinfo->prefix_len > 64) { in rt6_route_rcv() 951 if (rinfo->length < 2) { in rt6_route_rcv() 954 } else if (rinfo->prefix_len > 0) { in rt6_route_rcv() 955 if (rinfo->length < 1) { in rt6_route_rcv() 960 pref = rinfo->route_pref; in rt6_route_rcv() 964 lifetime = addrconf_timeout_fixup(ntohl(rinfo->lifetime), HZ); in rt6_route_rcv() 966 if (rinfo->length == 3) in rt6_route_rcv() [all …]
|