/net/netfilter/ |
H A D | xt_connbytes.c | 23 const struct xt_connbytes_info *sinfo = par->matchinfo; local 39 switch (sinfo->what) { 41 switch (sinfo->direction) { 55 switch (sinfo->direction) { 69 switch (sinfo->direction) { 90 if (sinfo->count.to >= sinfo->count.from) 91 return what <= sinfo->count.to && what >= sinfo->count.from; 93 return what < sinfo 98 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/sctp/ |
H A D | chunk.c | 173 struct sctp_sndrcvinfo *sinfo, 191 if (sinfo->sinfo_timetolive) { 194 msecs_to_jiffies(sinfo->sinfo_timetolive); 276 if ((sinfo->sinfo_flags & SCTP_EOF) || 277 (sinfo->sinfo_flags & SCTP_SACK_IMMEDIATELY)) 281 chunk = sctp_make_datafrag_empty(asoc, sinfo, len, frag, 0); 315 if ((sinfo->sinfo_flags & SCTP_EOF) || 316 (sinfo->sinfo_flags & SCTP_SACK_IMMEDIATELY)) 319 chunk = sctp_make_datafrag_empty(asoc, sinfo, over, frag, 0); 172 sctp_datamsg_from_user(struct sctp_association *asoc, struct sctp_sndrcvinfo *sinfo, struct msghdr *msgh, int msg_len) argument
|
H A D | ulpevent.c | 554 memcpy(&ssf->ssf_info, &chunk->sinfo, sizeof(struct sctp_sndrcvinfo)); 913 struct sctp_sndrcvinfo sinfo; local 926 sinfo.sinfo_stream = event->stream; 934 sinfo.sinfo_ssn = event->ssn; 943 sinfo.sinfo_ppid = event->ppid; 954 sinfo.sinfo_flags = event->flags; 960 sinfo.sinfo_tsn = event->tsn; 968 sinfo.sinfo_cumtsn = event->cumtsn; 976 sinfo.sinfo_assoc_id = sctp_assoc2id(event->asoc); 979 sinfo [all...] |
H A D | sm_make_chunk.c | 694 const struct sctp_sndrcvinfo *sinfo, 705 dp.stream = htons(sinfo->sinfo_stream); 706 dp.ppid = sinfo->sinfo_ppid; 709 if (sinfo->sinfo_flags & SCTP_UNORDERED) { 721 memcpy(&retval->sinfo, sinfo, sizeof(struct sctp_sndrcvinfo)); 693 sctp_make_datafrag_empty(struct sctp_association *asoc, const struct sctp_sndrcvinfo *sinfo, int data_len, __u8 flags, __u16 ssn) argument
|
H A D | socket.c | 1590 struct sctp_sndrcvinfo *sinfo; local 1643 sinfo = cmsgs.info; 1647 if (sinfo) { 1648 sinfo_flags = sinfo->sinfo_flags; 1649 associd = sinfo->sinfo_assoc_id; 1758 if (sinfo) { 1761 if (sinfo->sinfo_stream >= 1768 if (sinfo->sinfo_stream >= 1849 if (!sinfo) { 1860 sinfo [all...] |
H A D | outqueue.c | 968 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/mac80211/ |
H A D | cfg.c | 441 static void sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo) argument 449 sinfo->generation = sdata->local->sta_generation; 451 sinfo->filled = STATION_INFO_INACTIVE_TIME | 467 sinfo->connected_time = uptime.tv_sec - sta->last_connected; 469 sinfo->inactive_time = jiffies_to_msecs(jiffies - sta->last_rx); 470 sinfo->tx_bytes = 0; 472 sinfo->tx_bytes += sta->tx_bytes[ac]; 475 sinfo->tx_packets = packets; 476 sinfo->rx_bytes = sta->rx_bytes; 477 sinfo 589 struct station_info sinfo; local 736 ieee80211_dump_station(struct wiphy *wiphy, struct net_device *dev, int idx, u8 *mac, struct station_info *sinfo) argument 766 ieee80211_get_station(struct wiphy *wiphy, struct net_device *dev, u8 *mac, struct station_info *sinfo) argument [all...] |
H A D | rc80211_pid_debugfs.c | 89 struct rc_pid_sta_info *sinfo = inode->i_private; local 90 struct rc_pid_event_buffer *events = &sinfo->events;
|
H A D | sta_info.c | 455 struct station_info sinfo; local 485 memset(&sinfo, 0, sizeof(sinfo)); 486 sinfo.filled = 0; 487 sinfo.generation = local->sta_generation; 488 cfg80211_new_sta(sdata->dev, sta->sta.addr, &sinfo, GFP_KERNEL);
|
/net/wireless/ |
H A D | wext-compat.c | 1291 static struct station_info sinfo; local 1311 err = rdev_get_station(rdev, dev, addr, &sinfo); 1315 if (!(sinfo.filled & STATION_INFO_TX_BITRATE)) 1318 rate->value = 100000 * cfg80211_calculate_bitrate(&sinfo.txrate); 1330 static struct station_info sinfo; local 1348 if (rdev_get_station(rdev, dev, bssid, &sinfo)) 1355 if (sinfo.filled & STATION_INFO_SIGNAL) { 1356 int sig = sinfo.signal; 1369 if (sinfo.filled & STATION_INFO_SIGNAL) { 1372 wstats.qual.level = sinfo [all...] |
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 | nl80211.c | 3431 const u8 *mac_addr, struct station_info *sinfo) 3442 nla_put_u32(msg, NL80211_ATTR_GENERATION, sinfo->generation)) 3448 if ((sinfo->filled & STATION_INFO_CONNECTED_TIME) && 3450 sinfo->connected_time)) 3452 if ((sinfo->filled & STATION_INFO_INACTIVE_TIME) && 3454 sinfo->inactive_time)) 3456 if ((sinfo->filled & (STATION_INFO_RX_BYTES | 3459 (u32)sinfo->rx_bytes)) 3461 if ((sinfo->filled & (STATION_INFO_TX_BYTES | 3464 (u32)sinfo 3427 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 3585 struct station_info sinfo; local 3639 struct station_info sinfo; local 9998 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, 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
|
/net/packet/ |
H A D | af_packet.c | 2746 struct skb_shared_info *sinfo = skb_shinfo(skb); local 2750 vnet_hdr.gso_size = sinfo->gso_size; 2751 if (sinfo->gso_type & SKB_GSO_TCPV4) 2753 else if (sinfo->gso_type & SKB_GSO_TCPV6) 2755 else if (sinfo->gso_type & SKB_GSO_UDP) 2757 else if (sinfo->gso_type & SKB_GSO_FCOE) 2761 if (sinfo->gso_type & SKB_GSO_TCP_ECN)
|