Home
last modified time | relevance | path

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

/net/packet/
Ddiag.c14 struct packet_diag_info pinfo; in pdiag_put_info() local
16 pinfo.pdi_index = po->ifindex; in pdiag_put_info()
17 pinfo.pdi_version = po->tp_version; in pdiag_put_info()
18 pinfo.pdi_reserve = po->tp_reserve; in pdiag_put_info()
19 pinfo.pdi_copy_thresh = po->copy_thresh; in pdiag_put_info()
20 pinfo.pdi_tstamp = po->tp_tstamp; in pdiag_put_info()
22 pinfo.pdi_flags = 0; in pdiag_put_info()
24 pinfo.pdi_flags |= PDI_RUNNING; in pdiag_put_info()
26 pinfo.pdi_flags |= PDI_AUXDATA; in pdiag_put_info()
28 pinfo.pdi_flags |= PDI_ORIGDEV; in pdiag_put_info()
[all …]
/net/sched/
Dcls_rsvp.h494 struct tc_rsvp_pinfo *pinfo = NULL; in rsvp_change() local
567 pinfo = nla_data(tb[TCA_RSVP_PINFO]); in rsvp_change()
568 f->spi = pinfo->spi; in rsvp_change()
569 f->tunnelhdr = pinfo->tunnelhdr; in rsvp_change()
575 h1 = hash_dst(dst, pinfo ? pinfo->protocol : 0, pinfo ? pinfo->tunnelid : 0); in rsvp_change()
596 pinfo && pinfo->protocol == s->protocol && in rsvp_change()
597 memcmp(&pinfo->dpi, &s->dpi, sizeof(s->dpi)) == 0 && in rsvp_change()
603 pinfo->tunnelid == s->tunnelid) { in rsvp_change()
640 if (pinfo) { in rsvp_change()
641 s->dpi = pinfo->dpi; in rsvp_change()
[all …]
/net/sctp/
Doffload.c60 struct skb_shared_info *pinfo = skb_shinfo(skb); in sctp_gso_segment() local
63 pinfo->gso_segs = 0; in sctp_gso_segment()
66 pinfo->gso_segs++; in sctp_gso_segment()
70 pinfo->gso_segs++; in sctp_gso_segment()
Dsocket.c4851 struct sctp_paddrinfo pinfo; in sctp_getsockopt_peer_addr_info() local
4855 if (len < sizeof(pinfo)) { in sctp_getsockopt_peer_addr_info()
4860 len = sizeof(pinfo); in sctp_getsockopt_peer_addr_info()
4861 if (copy_from_user(&pinfo, optval, len)) { in sctp_getsockopt_peer_addr_info()
4866 transport = sctp_addr_id2transport(sk, &pinfo.spinfo_address, in sctp_getsockopt_peer_addr_info()
4867 pinfo.spinfo_assoc_id); in sctp_getsockopt_peer_addr_info()
4871 pinfo.spinfo_assoc_id = sctp_assoc2id(transport->asoc); in sctp_getsockopt_peer_addr_info()
4872 pinfo.spinfo_state = transport->state; in sctp_getsockopt_peer_addr_info()
4873 pinfo.spinfo_cwnd = transport->cwnd; in sctp_getsockopt_peer_addr_info()
4874 pinfo.spinfo_srtt = transport->srtt; in sctp_getsockopt_peer_addr_info()
[all …]
/net/6lowpan/
Dndisc.c204 const struct prefix_info *pinfo, in lowpan_ndisc_prefix_rcv_add_addr() argument
218 err = addrconf_prefix_rcv_add_addr(net, dev, pinfo, in6_dev, in lowpan_ndisc_prefix_rcv_add_addr()
225 &pinfo->prefix); in lowpan_ndisc_prefix_rcv_add_addr()
/net/mac80211/
Dcfg.c1657 struct mpath_info *pinfo) in mpath_set_pinfo() argument
1666 memset(pinfo, 0, sizeof(*pinfo)); in mpath_set_pinfo()
1668 pinfo->generation = mpath->sdata->u.mesh.mesh_paths_generation; in mpath_set_pinfo()
1670 pinfo->filled = MPATH_INFO_FRAME_QLEN | in mpath_set_pinfo()
1678 pinfo->frame_qlen = mpath->frame_queue.qlen; in mpath_set_pinfo()
1679 pinfo->sn = mpath->sn; in mpath_set_pinfo()
1680 pinfo->metric = mpath->metric; in mpath_set_pinfo()
1682 pinfo->exptime = jiffies_to_msecs(mpath->exp_time - jiffies); in mpath_set_pinfo()
1683 pinfo->discovery_timeout = in mpath_set_pinfo()
1685 pinfo->discovery_retries = mpath->discovery_retries; in mpath_set_pinfo()
[all …]
/net/wireless/
Drdev-ops.h258 struct mpath_info *pinfo) in rdev_get_mpath() argument
262 ret = rdev->ops->get_mpath(&rdev->wiphy, dev, dst, next_hop, pinfo); in rdev_get_mpath()
263 trace_rdev_return_int_mpath_info(&rdev->wiphy, ret, pinfo); in rdev_get_mpath()
270 struct mpath_info *pinfo) in rdev_get_mpp() argument
275 ret = rdev->ops->get_mpp(&rdev->wiphy, dev, dst, mpp, pinfo); in rdev_get_mpp()
276 trace_rdev_return_int_mpath_info(&rdev->wiphy, ret, pinfo); in rdev_get_mpp()
282 u8 *next_hop, struct mpath_info *pinfo) in rdev_dump_mpath() argument
288 pinfo); in rdev_dump_mpath()
289 trace_rdev_return_int_mpath_info(&rdev->wiphy, ret, pinfo); in rdev_dump_mpath()
295 u8 *mpp, struct mpath_info *pinfo) in rdev_dump_mpp() argument
[all …]
Dtrace.h924 TP_PROTO(struct wiphy *wiphy, int ret, struct mpath_info *pinfo),
925 TP_ARGS(wiphy, ret, pinfo),
942 __entry->generation = pinfo->generation;
943 __entry->filled = pinfo->filled;
944 __entry->frame_qlen = pinfo->frame_qlen;
945 __entry->sn = pinfo->sn;
946 __entry->metric = pinfo->metric;
947 __entry->exptime = pinfo->exptime;
948 __entry->discovery_timeout = pinfo->discovery_timeout;
949 __entry->discovery_retries = pinfo->discovery_retries;
[all …]
Dnl80211.c5310 struct mpath_info *pinfo) in nl80211_send_mpath() argument
5322 nla_put_u32(msg, NL80211_ATTR_GENERATION, pinfo->generation)) in nl80211_send_mpath()
5328 if ((pinfo->filled & MPATH_INFO_FRAME_QLEN) && in nl80211_send_mpath()
5330 pinfo->frame_qlen)) in nl80211_send_mpath()
5332 if (((pinfo->filled & MPATH_INFO_SN) && in nl80211_send_mpath()
5333 nla_put_u32(msg, NL80211_MPATH_INFO_SN, pinfo->sn)) || in nl80211_send_mpath()
5334 ((pinfo->filled & MPATH_INFO_METRIC) && in nl80211_send_mpath()
5336 pinfo->metric)) || in nl80211_send_mpath()
5337 ((pinfo->filled & MPATH_INFO_EXPTIME) && in nl80211_send_mpath()
5339 pinfo->exptime)) || in nl80211_send_mpath()
[all …]
/net/ipv6/
Daddrconf.c195 struct prefix_info *pinfo);
2487 const struct prefix_info *pinfo, in addrconf_prefix_rcv_add_addr() argument
2512 pinfo->prefix_len, in addrconf_prefix_rcv_add_addr()
2586 struct prefix_info *pinfo; in addrconf_prefix_rcv() local
2594 pinfo = (struct prefix_info *) opt; in addrconf_prefix_rcv()
2605 addr_type = ipv6_addr_type(&pinfo->prefix); in addrconf_prefix_rcv()
2610 valid_lft = ntohl(pinfo->valid); in addrconf_prefix_rcv()
2611 prefered_lft = ntohl(pinfo->prefered); in addrconf_prefix_rcv()
2632 if (pinfo->onlink) { in addrconf_prefix_rcv()
2649 rt = addrconf_get_prefix_route(&pinfo->prefix, in addrconf_prefix_rcv()
[all …]
/net/ipv4/netfilter/
Darp_tables.c1158 struct xt_table_info **pinfo, in translate_compat_table() argument
1170 info = *pinfo; in translate_compat_table()
1230 *pinfo = newinfo; in translate_compat_table()
Dip_tables.c1394 struct xt_table_info **pinfo, in translate_compat_table() argument
1406 info = *pinfo; in translate_compat_table()
1471 *pinfo = newinfo; in translate_compat_table()
/net/core/
Dskbuff.c3824 struct skb_shared_info *pinfo, *skbinfo = skb_shinfo(skb); in skb_gro_receive() local
3835 pinfo = skb_shinfo(lp); in skb_gro_receive()
3841 int nr_frags = pinfo->nr_frags + i; in skb_gro_receive()
3847 pinfo->nr_frags = nr_frags; in skb_gro_receive()
3850 frag = pinfo->frags + nr_frags; in skb_gro_receive()
3870 int nr_frags = pinfo->nr_frags; in skb_gro_receive()
3871 skb_frag_t *frag = pinfo->frags + nr_frags; in skb_gro_receive()
3883 pinfo->nr_frags = nr_frags + 1 + skbinfo->nr_frags; in skb_gro_receive()
Ddev.c4760 const struct skb_shared_info *pinfo = skb_shinfo(skb); in skb_gro_reset_offset() local
4761 const skb_frag_t *frag0 = &pinfo->frags[0]; in skb_gro_reset_offset()
4768 pinfo->nr_frags && in skb_gro_reset_offset()
4779 struct skb_shared_info *pinfo = skb_shinfo(skb); in gro_pull_from_frag0() local
4788 pinfo->frags[0].page_offset += grow; in gro_pull_from_frag0()
4789 skb_frag_size_sub(&pinfo->frags[0], grow); in gro_pull_from_frag0()
4791 if (unlikely(!skb_frag_size(&pinfo->frags[0]))) { in gro_pull_from_frag0()
4793 memmove(pinfo->frags, pinfo->frags + 1, in gro_pull_from_frag0()
4794 --pinfo->nr_frags * sizeof(pinfo->frags[0])); in gro_pull_from_frag0()
/net/ipv6/netfilter/
Dip6_tables.c1411 struct xt_table_info **pinfo, in translate_compat_table() argument
1423 info = *pinfo; in translate_compat_table()
1482 *pinfo = newinfo; in translate_compat_table()