| /net/mptcp/ |
| A D | mib.h | 100 enum linux_mptcp_mib_field field, in MPTCP_ADD_STATS() argument 104 SNMP_ADD_STATS(net->mib.mptcp_statistics, field, val); in MPTCP_ADD_STATS() 108 enum linux_mptcp_mib_field field) in MPTCP_INC_STATS() argument 111 SNMP_INC_STATS(net->mib.mptcp_statistics, field); in MPTCP_INC_STATS() 115 enum linux_mptcp_mib_field field) in __MPTCP_INC_STATS() argument 118 __SNMP_INC_STATS(net->mib.mptcp_statistics, field); in __MPTCP_INC_STATS() 122 enum linux_mptcp_mib_field field) in MPTCP_DEC_STATS() argument 125 SNMP_DEC_STATS(net->mib.mptcp_statistics, field); in MPTCP_DEC_STATS()
|
| A D | protocol.h | 180 static inline __be32 mptcp_option(u8 subopt, u8 len, u8 nib, u8 field) in mptcp_option() argument 183 ((nib & 0xF) << 8) | field); in mptcp_option()
|
| A D | subflow.c | 33 enum linux_mptcp_mib_field field) in SUBFLOW_REQ_INC_STATS() argument 35 MPTCP_INC_STATS(sock_net(req_to_sk(req)), field); in SUBFLOW_REQ_INC_STATS()
|
| /net/mac80211/ |
| A D | debugfs_netdev.c | 176 #define IEEE80211_IF_FMT_DEC(name, type, field) \ argument 177 IEEE80211_IF_FMT(name, type, field, "%d\n") 178 #define IEEE80211_IF_FMT_HEX(name, type, field) \ argument 179 IEEE80211_IF_FMT(name, type, field, "%#x\n") 180 #define IEEE80211_IF_FMT_LHEX(name, type, field) \ argument 181 IEEE80211_IF_FMT(name, type, field, "%#lx\n") 190 for (i = 0; i < sizeof(data->field); i++) { \ 192 data->field[i]); \ 206 #define IEEE80211_IF_FMT_MAC(name, type, field) \ argument 220 jiffies_to_msecs(data->field)); \ [all …]
|
| A D | debugfs_sta.c | 21 #define STA_READ(name, field, format_string) \ argument 28 format_string, sta->field); \ 30 #define STA_READ_D(name, field) STA_READ(name, field, "%d\n") argument 45 #define STA_FILE(name, field, format) \ argument 46 STA_READ_##format(name, field) \ 1230 #define DEBUGFS_ADD_COUNTER(name, field) \ argument 1231 debugfs_create_ulong(#name, 0400, sta->debugfs_dir, &sta->field); 1289 #define DEBUGFS_ADD_COUNTER(name, field) \ argument 1290 debugfs_create_ulong(#name, 0400, link_sta->debugfs_dir, &link_sta->field)
|
| /net/mpls/ |
| A D | internal.h | 46 #define MPLS_INC_STATS(mdev, field) \ argument 52 ptr->stats.field++; \ 65 #define MPLS_INC_STATS(mdev, field) \ argument 66 this_cpu_inc((mdev)->stats->stats.field)
|
| A D | af_mpls.c | 1346 #define MPLS_PERDEV_SYSCTL_OFFSET(field) \ argument 1347 (&((struct mpls_dev *)0)->field) 2624 #define MPLS_NS_SYSCTL_OFFSET(field) \ argument 2625 (&((struct net *)0)->field)
|
| /net/tls/ |
| A D | tls.h | 47 #define __TLS_INC_STATS(net, field) \ argument 48 __SNMP_INC_STATS((net)->mib.tls_statistics, field) 49 #define TLS_INC_STATS(net, field) \ argument 50 SNMP_INC_STATS((net)->mib.tls_statistics, field) 51 #define TLS_DEC_STATS(net, field) \ argument 52 SNMP_DEC_STATS((net)->mib.tls_statistics, field)
|
| /net/devlink/ |
| A D | dpipe.c | 64 struct devlink_dpipe_field *field = &header->fields[match->field_id]; in devlink_dpipe_match_put() local 74 nla_put_u32(skb, DEVLINK_ATTR_DPIPE_FIELD_ID, field->id) || in devlink_dpipe_match_put() 112 struct devlink_dpipe_field *field = &header->fields[action->field_id]; in devlink_dpipe_action_put() local 122 nla_put_u32(skb, DEVLINK_ATTR_DPIPE_FIELD_ID, field->id) || in devlink_dpipe_action_put() 589 struct devlink_dpipe_field *field; in devlink_dpipe_fields_put() local 594 field = &header->fields[i]; in devlink_dpipe_fields_put() 599 if (nla_put_string(skb, DEVLINK_ATTR_DPIPE_FIELD_NAME, field->name) || in devlink_dpipe_fields_put() 600 nla_put_u32(skb, DEVLINK_ATTR_DPIPE_FIELD_ID, field->id) || in devlink_dpipe_fields_put() 601 nla_put_u32(skb, DEVLINK_ATTR_DPIPE_FIELD_BITWIDTH, field->bitwidth) || in devlink_dpipe_fields_put() 602 nla_put_u32(skb, DEVLINK_ATTR_DPIPE_FIELD_MAPPING_TYPE, field->mapping_type)) in devlink_dpipe_fields_put()
|
| /net/netfilter/ |
| A D | nft_set_pipapo.h | 78 #define nft_pipapo_for_each_field(field, index, match) \ argument 79 for ((field) = (match)->f, (index) = 0; \ 81 (index)++, (field)++)
|
| A D | Kconfig | 782 the netfilter mark (nfmark) field associated with the packet. 893 the IPv4/IPv6 header DSCP field (differentiated services codepoint). 895 The DSCP field can have any value between 0x0 and 0x3f inclusive. 898 the "mangle" table which alter the Type Of Service field of an IPv4 899 or the Priority field of an IPv6 packet, prior to routing. 1312 the IPv4/IPv6 header DSCP field (differentiated services codepoint). 1314 The DSCP field can have any value between 0x0 and 0x3f inclusive. 1370 in the IPv6 header, or the time-to-live field in the IPv4
|
| A D | nf_tables_api.c | 4802 struct nlattr *concat, *field; in nf_tables_fill_set_concat() local 4810 field = nla_nest_start_noflag(skb, NFTA_LIST_ELEM); in nf_tables_fill_set_concat() 4811 if (!field) in nf_tables_fill_set_concat() 4818 nla_nest_end(skb, field); in nf_tables_fill_set_concat()
|
| /net/core/ |
| A D | net-sysfs.c | 144 #define NETDEVICE_SHOW(field, format_string) \ argument 145 static ssize_t format_##field(const struct net_device *dev, char *buf) \ 147 return sysfs_emit(buf, format_string, READ_ONCE(dev->field)); \ 149 static ssize_t field##_show(struct device *dev, \ 152 return netdev_show(dev, attr, buf, format_##field); \ 155 #define NETDEVICE_SHOW_RO(field, format_string) \ argument 156 NETDEVICE_SHOW(field, format_string); \ 157 static DEVICE_ATTR_RO(field) 159 #define NETDEVICE_SHOW_RW(field, format_string) \ argument 160 NETDEVICE_SHOW(field, format_string); \ [all …]
|
| A D | skbuff.c | 1485 #define CHECK_SKB_FIELD(field) \ argument 1486 BUILD_BUG_ON(offsetof(struct sk_buff, field) != \ 1487 offsetof(struct sk_buff, headers.field)); \
|
| A D | dev.c | 11595 unsigned long __percpu *field; in netdev_core_stats_inc() local 11603 field = (unsigned long __percpu *)((void __percpu *)p + offset); in netdev_core_stats_inc() 11604 this_cpu_inc(*field); in netdev_core_stats_inc()
|
| /net/openvswitch/ |
| A D | flow_netlink.c | 120 #define SW_FLOW_KEY_PUT(match, field, value, is_mask) \ argument 122 update_range(match, offsetof(struct sw_flow_key, field), \ 123 sizeof((match)->key->field), is_mask); \ 125 (match)->mask->key.field = value; \ 127 (match)->key->field = value; \ 147 sizeof((match)->key->field), is_mask); \ 149 memset((u8 *)&(match)->mask->key.field, value, \ 150 sizeof((match)->mask->key.field)); \ 152 memset((u8 *)&(match)->key->field, value, \ 153 sizeof((match)->key->field)); \ [all …]
|
| /net/bridge/netfilter/ |
| A D | Kconfig | 119 This option adds the ARP match, which allows ARP and RARP header field 127 This option adds the IP match, which allows basic IP header field 136 This option adds the IP6 match, which allows basic IPV6 header field 175 allows STP header field filtering.
|
| /net/nfc/ |
| A D | Kconfig | 11 Say Y here if you want to build support for NFC (Near field
|
| /net/rxrpc/ |
| A D | rxkad.c | 986 #define Z(field, fieldl) \ in rxkad_decrypt_ticket() argument 990 if (!q || q - p > field##_SZ) \ in rxkad_decrypt_ticket()
|
| /net/wireless/ |
| A D | util.c | 776 ieee80211_amsdu_subframe_length(void *field, u8 mesh_flags, u8 hdr_type) in ieee80211_amsdu_subframe_length() argument 778 __le16 *field_le = field; in ieee80211_amsdu_subframe_length() 779 __be16 *field_be = field; in ieee80211_amsdu_subframe_length()
|
| A D | nl80211.c | 16549 #define SET_FTM(field, name, type) \ in nl80211_get_ftm_responder_stats() argument 16552 ftm_stats.field)) \ in nl80211_get_ftm_responder_stats() 16554 #define SET_FTM_U64(field, name) \ in nl80211_get_ftm_responder_stats() argument 16557 ftm_stats.field, NL80211_FTM_STATS_PAD)) \ in nl80211_get_ftm_responder_stats()
|
| /net/ipv4/ |
| A D | route.c | 193 #define RT_CACHE_STAT_INC(field) raw_cpu_inc(rt_cache_stat.field) argument 195 #define RT_CACHE_STAT_INC(field) this_cpu_inc(rt_cache_stat.field) argument
|
| A D | Kconfig | 71 address into account. Furthermore, the TOS (Type-Of-Service) field 183 This is helper module to demultiplex GRE packets on GRE version field criteria.
|