Home
last modified time | relevance | path

Searched refs:pinfo (Results 1 – 9 of 9) sorted by relevance

/net/mac80211/
Drc80211_pid_algo.c128 static void rate_control_pid_normalize(struct rc_pid_info *pinfo, int l) in rate_control_pid_normalize() argument
130 int i, norm_offset = pinfo->norm_offset; in rate_control_pid_normalize()
131 struct rc_pid_rateinfo *r = pinfo->rinfo; in rate_control_pid_normalize()
144 static void rate_control_pid_sample(struct rc_pid_info *pinfo, in rate_control_pid_sample() argument
149 struct rc_pid_rateinfo *rinfo = pinfo->rinfo; in rate_control_pid_sample()
160 period = (HZ * pinfo->sampling_period + 500) / 1000; in rate_control_pid_sample()
164 spinfo->sharp_cnt = pinfo->sharpen_duration; in rate_control_pid_sample()
189 if (pinfo->oldrate != spinfo->txrate_idx) { in rate_control_pid_sample()
191 i = rinfo[pinfo->oldrate].rev_index; in rate_control_pid_sample()
198 pinfo->oldrate = spinfo->txrate_idx; in rate_control_pid_sample()
[all …]
Dcfg.c905 struct mpath_info *pinfo) in mpath_set_pinfo() argument
912 pinfo->filled = MPATH_INFO_FRAME_QLEN | in mpath_set_pinfo()
920 pinfo->frame_qlen = mpath->frame_queue.qlen; in mpath_set_pinfo()
921 pinfo->dsn = mpath->dsn; in mpath_set_pinfo()
922 pinfo->metric = mpath->metric; in mpath_set_pinfo()
924 pinfo->exptime = jiffies_to_msecs(mpath->exp_time - jiffies); in mpath_set_pinfo()
925 pinfo->discovery_timeout = in mpath_set_pinfo()
927 pinfo->discovery_retries = mpath->discovery_retries; in mpath_set_pinfo()
928 pinfo->flags = 0; in mpath_set_pinfo()
930 pinfo->flags |= NL80211_MPATH_FLAG_ACTIVE; in mpath_set_pinfo()
[all …]
/net/sched/
Dcls_rsvp.h417 struct tc_rsvp_pinfo *pinfo = NULL; in rsvp_change() local
468 pinfo = nla_data(tb[TCA_RSVP_PINFO-1]); in rsvp_change()
469 f->spi = pinfo->spi; in rsvp_change()
470 f->tunnelhdr = pinfo->tunnelhdr; in rsvp_change()
476 h1 = hash_dst(dst, pinfo ? pinfo->protocol : 0, pinfo ? pinfo->tunnelid : 0); in rsvp_change()
495 pinfo && pinfo->protocol == s->protocol && in rsvp_change()
496 memcmp(&pinfo->dpi, &s->dpi, sizeof(s->dpi)) == 0 in rsvp_change()
502 && pinfo->tunnelid == s->tunnelid) { in rsvp_change()
535 if (pinfo) { in rsvp_change()
536 s->dpi = pinfo->dpi; in rsvp_change()
[all …]
/net/wireless/
Dnl80211.c1505 struct mpath_info *pinfo) in nl80211_send_mpath() argument
1521 if (pinfo->filled & MPATH_INFO_FRAME_QLEN) in nl80211_send_mpath()
1523 pinfo->frame_qlen); in nl80211_send_mpath()
1524 if (pinfo->filled & MPATH_INFO_DSN) in nl80211_send_mpath()
1526 pinfo->dsn); in nl80211_send_mpath()
1527 if (pinfo->filled & MPATH_INFO_METRIC) in nl80211_send_mpath()
1529 pinfo->metric); in nl80211_send_mpath()
1530 if (pinfo->filled & MPATH_INFO_EXPTIME) in nl80211_send_mpath()
1532 pinfo->exptime); in nl80211_send_mpath()
1533 if (pinfo->filled & MPATH_INFO_FLAGS) in nl80211_send_mpath()
[all …]
/net/ipv6/
Daddrconf.c150 struct prefix_info *pinfo);
1773 struct prefix_info *pinfo; in addrconf_prefix_rcv() local
1779 pinfo = (struct prefix_info *) opt; in addrconf_prefix_rcv()
1790 addr_type = ipv6_addr_type(&pinfo->prefix); in addrconf_prefix_rcv()
1795 valid_lft = ntohl(pinfo->valid); in addrconf_prefix_rcv()
1796 prefered_lft = ntohl(pinfo->prefered); in addrconf_prefix_rcv()
1818 if (pinfo->onlink) { in addrconf_prefix_rcv()
1835 rt = rt6_lookup(dev_net(dev), &pinfo->prefix, NULL, in addrconf_prefix_rcv()
1859 addrconf_prefix_route(&pinfo->prefix, pinfo->prefix_len, in addrconf_prefix_rcv()
1868 if (pinfo->autoconf && in6_dev->cnf.autoconf) { in addrconf_prefix_rcv()
[all …]
/net/sctp/
Dsocket.c3824 struct sctp_paddrinfo pinfo; in sctp_getsockopt_peer_addr_info() local
3828 if (len < sizeof(pinfo)) { in sctp_getsockopt_peer_addr_info()
3833 len = sizeof(pinfo); in sctp_getsockopt_peer_addr_info()
3834 if (copy_from_user(&pinfo, optval, len)) { in sctp_getsockopt_peer_addr_info()
3839 transport = sctp_addr_id2transport(sk, &pinfo.spinfo_address, in sctp_getsockopt_peer_addr_info()
3840 pinfo.spinfo_assoc_id); in sctp_getsockopt_peer_addr_info()
3844 pinfo.spinfo_assoc_id = sctp_assoc2id(transport->asoc); in sctp_getsockopt_peer_addr_info()
3845 pinfo.spinfo_state = transport->state; in sctp_getsockopt_peer_addr_info()
3846 pinfo.spinfo_cwnd = transport->cwnd; in sctp_getsockopt_peer_addr_info()
3847 pinfo.spinfo_srtt = transport->srtt; in sctp_getsockopt_peer_addr_info()
[all …]
/net/ipv4/netfilter/
Darp_tables.c1318 struct xt_table_info **pinfo, in translate_compat_table() argument
1331 info = *pinfo; in translate_compat_table()
1420 *pinfo = newinfo; in translate_compat_table()
Dip_tables.c1683 struct xt_table_info **pinfo, in translate_compat_table() argument
1696 info = *pinfo; in translate_compat_table()
1785 *pinfo = newinfo; in translate_compat_table()
/net/ipv6/netfilter/
Dip6_tables.c1713 struct xt_table_info **pinfo, in translate_compat_table() argument
1726 info = *pinfo; in translate_compat_table()
1815 *pinfo = newinfo; in translate_compat_table()