/net/netfilter/ |
H A D | xt_connbytes.c | 23 const struct xt_connbytes_info *sinfo = par->matchinfo; local 41 switch (sinfo->what) { 43 switch (sinfo->direction) { 57 switch (sinfo->direction) { 71 switch (sinfo->direction) { 92 if (sinfo->count.to >= sinfo->count.from) 93 return what <= sinfo->count.to && what >= sinfo->count.from; 95 return what < sinfo 100 const struct xt_connbytes_info *sinfo = par->matchinfo; local [all...] |
H A D | xt_state.c | 26 const struct xt_state_info *sinfo = par->matchinfo; local 39 return (sinfo->statemask & statebit);
|
/net/mac80211/ |
H A D | ethtool.c | 73 struct station_info sinfo; local 88 data[i++] += sinfo.tx_packets; \ 89 data[i++] += sinfo.tx_bytes; \ 111 sinfo.filled = 0; 112 sta_set_sinfo(sta, &sinfo); 120 if (sinfo.filled & STATION_INFO_TX_BITRATE) 122 cfg80211_calculate_bitrate(&sinfo.txrate); 124 if (sinfo.filled & STATION_INFO_RX_BITRATE) 126 cfg80211_calculate_bitrate(&sinfo.rxrate); 129 if (sinfo [all...] |
H A D | sta_info.c | 483 struct station_info sinfo; local 519 memset(&sinfo, 0, sizeof(sinfo)); 520 sinfo.filled = 0; 521 sinfo.generation = local->sta_generation; 522 cfg80211_new_sta(sdata->dev, sta->sta.addr, &sinfo, GFP_KERNEL); 1727 void sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo) argument 1740 sinfo->generation = sdata->local->sta_generation; 1742 sinfo->filled = STATION_INFO_INACTIVE_TIME | 1758 sinfo [all...] |
H A D | sta_info.h | 640 void sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo);
|
H A D | cfg.c | 473 int idx, u8 *mac, struct station_info *sinfo) 486 sta_set_sinfo(sta, sinfo); 503 const u8 *mac, struct station_info *sinfo) 515 sta_set_sinfo(sta, sinfo); 472 ieee80211_dump_station(struct wiphy *wiphy, struct net_device *dev, int idx, u8 *mac, struct station_info *sinfo) argument 502 ieee80211_get_station(struct wiphy *wiphy, struct net_device *dev, const u8 *mac, struct station_info *sinfo) argument
|
/net/sctp/ |
H A D | chunk.c | 166 struct sctp_sndrcvinfo *sinfo, 184 if (sinfo->sinfo_timetolive) { 187 msecs_to_jiffies(sinfo->sinfo_timetolive); 270 if ((sinfo->sinfo_flags & SCTP_EOF) || 271 (sinfo->sinfo_flags & SCTP_SACK_IMMEDIATELY)) 275 chunk = sctp_make_datafrag_empty(asoc, sinfo, len, frag, 0); 309 if ((sinfo->sinfo_flags & SCTP_EOF) || 310 (sinfo->sinfo_flags & SCTP_SACK_IMMEDIATELY)) 313 chunk = sctp_make_datafrag_empty(asoc, sinfo, over, frag, 0); 165 sctp_datamsg_from_user(struct sctp_association *asoc, struct sctp_sndrcvinfo *sinfo, struct msghdr *msgh, int msg_len) argument
|
H A D | ulpevent.c | 506 memcpy(&ssf->ssf_info, &chunk->sinfo, sizeof(struct sctp_sndrcvinfo)); 867 struct sctp_sndrcvinfo sinfo; local 872 memset(&sinfo, 0, sizeof(sinfo)); 873 sinfo.sinfo_stream = event->stream; 874 sinfo.sinfo_ssn = event->ssn; 875 sinfo.sinfo_ppid = event->ppid; 876 sinfo.sinfo_flags = event->flags; 877 sinfo.sinfo_tsn = event->tsn; 878 sinfo [all...] |
H A D | socket.c | 1601 struct sctp_sndrcvinfo *sinfo; local 1653 if (cmsgs.sinfo != NULL) { 1655 default_sinfo.sinfo_stream = cmsgs.sinfo->snd_sid; 1656 default_sinfo.sinfo_flags = cmsgs.sinfo->snd_flags; 1657 default_sinfo.sinfo_ppid = cmsgs.sinfo->snd_ppid; 1658 default_sinfo.sinfo_context = cmsgs.sinfo->snd_context; 1659 default_sinfo.sinfo_assoc_id = cmsgs.sinfo->snd_assoc_id; 1661 sinfo = &default_sinfo; 1664 sinfo = cmsgs.srinfo; 1667 if (sinfo) { [all...] |
H A D | sm_make_chunk.c | 715 const struct sctp_sndrcvinfo *sinfo, 726 dp.stream = htons(sinfo->sinfo_stream); 727 dp.ppid = sinfo->sinfo_ppid; 730 if (sinfo->sinfo_flags & SCTP_UNORDERED) { 742 memcpy(&retval->sinfo, sinfo, sizeof(struct sctp_sndrcvinfo)); 714 sctp_make_datafrag_empty(struct sctp_association *asoc, const struct sctp_sndrcvinfo *sinfo, int data_len, __u8 flags, __u16 ssn) argument
|
H A D | outqueue.c | 955 if (chunk->sinfo.sinfo_stream >=
|
/net/rds/ |
H A D | af_rds.c | 502 struct rds_info_socket sinfo; local 513 sinfo.sndbuf = rds_sk_sndbuf(rs); 514 sinfo.rcvbuf = rds_sk_rcvbuf(rs); 515 sinfo.bound_addr = rs->rs_bound_addr; 516 sinfo.connected_addr = rs->rs_conn_addr; 517 sinfo.bound_port = rs->rs_bound_port; 518 sinfo.connected_port = rs->rs_conn_port; 519 sinfo.inum = sock_i_ino(rds_rs_to_sk(rs)); 521 rds_info_copy(iter, &sinfo, sizeof(sinfo)); [all...] |
/net/wireless/ |
H A D | wext-compat.c | 1279 static struct station_info sinfo; local 1299 err = rdev_get_station(rdev, dev, addr, &sinfo); 1303 if (!(sinfo.filled & STATION_INFO_TX_BITRATE)) 1306 rate->value = 100000 * cfg80211_calculate_bitrate(&sinfo.txrate); 1318 static struct station_info sinfo; local 1336 if (rdev_get_station(rdev, dev, bssid, &sinfo)) 1343 if (sinfo.filled & STATION_INFO_SIGNAL) { 1344 int sig = sinfo.signal; 1357 if (sinfo.filled & STATION_INFO_SIGNAL) { 1360 wstats.qual.level = sinfo [all...] |
H A D | nl80211.c | 3598 const u8 *mac_addr, struct station_info *sinfo) 3609 nla_put_u32(msg, NL80211_ATTR_GENERATION, sinfo->generation)) 3615 if ((sinfo->filled & STATION_INFO_CONNECTED_TIME) && 3617 sinfo->connected_time)) 3619 if ((sinfo->filled & STATION_INFO_INACTIVE_TIME) && 3621 sinfo->inactive_time)) 3623 if ((sinfo->filled & (STATION_INFO_RX_BYTES | 3626 (u32)sinfo->rx_bytes)) 3628 if ((sinfo->filled & (STATION_INFO_TX_BYTES | 3631 (u32)sinfo 3594 nl80211_send_station(struct sk_buff *msg, u32 portid, u32 seq, int flags, struct cfg80211_registered_device *rdev, struct net_device *dev, const u8 *mac_addr, struct station_info *sinfo) argument 3768 struct station_info sinfo; local 3822 struct station_info sinfo; local 11071 cfg80211_new_sta(struct net_device *dev, const u8 *mac_addr, struct station_info *sinfo, gfp_t gfp) argument [all...] |
H A D | rdev-ops.h | 203 struct station_info *sinfo) 207 ret = rdev->ops->get_station(&rdev->wiphy, dev, mac, sinfo); 208 trace_rdev_return_int_station_info(&rdev->wiphy, ret, sinfo); 214 struct station_info *sinfo) 218 ret = rdev->ops->dump_station(&rdev->wiphy, dev, idx, mac, sinfo); 219 trace_rdev_return_int_station_info(&rdev->wiphy, ret, sinfo); 201 rdev_get_station(struct cfg80211_registered_device *rdev, struct net_device *dev, const u8 *mac, struct station_info *sinfo) argument 212 rdev_dump_station(struct cfg80211_registered_device *rdev, struct net_device *dev, int idx, u8 *mac, struct station_info *sinfo) argument
|
H A D | trace.h | 171 __entry->generation = sinfo->generation; \ 172 __entry->connected_time = sinfo->connected_time; \ 173 __entry->inactive_time = sinfo->inactive_time; \ 174 __entry->rx_bytes = sinfo->rx_bytes; \ 175 __entry->tx_bytes = sinfo->tx_bytes; \ 176 __entry->rx_packets = sinfo->rx_packets; \ 177 __entry->tx_packets = sinfo->tx_packets; \ 178 __entry->tx_retries = sinfo->tx_retries; \ 179 __entry->tx_failed = sinfo->tx_failed; \ 180 __entry->rx_dropped_misc = sinfo [all...] |
H A D | util.c | 1551 struct station_info *sinfo) 1564 return rdev_get_station(rdev, dev, mac_addr, sinfo); 1550 cfg80211_get_station(struct net_device *dev, const u8 *mac_addr, struct station_info *sinfo) argument
|
/net/packet/ |
H A D | af_packet.c | 2912 struct skb_shared_info *sinfo = skb_shinfo(skb); local 2916 vnet_hdr.gso_size = sinfo->gso_size; 2917 if (sinfo->gso_type & SKB_GSO_TCPV4) 2919 else if (sinfo->gso_type & SKB_GSO_TCPV6) 2921 else if (sinfo->gso_type & SKB_GSO_UDP) 2923 else if (sinfo->gso_type & SKB_GSO_FCOE) 2927 if (sinfo->gso_type & SKB_GSO_TCP_ECN)
|