Home
last modified time | relevance | path

Searched refs:field (Results 1 – 16 of 16) sorted by relevance

/net/mac80211/
Ddebugfs_netdev.c70 #define IEEE80211_IF_FMT(name, field, format_string) \ argument
75 return scnprintf(buf, buflen, format_string, sdata->field); \
77 #define IEEE80211_IF_FMT_DEC(name, field) \ argument
78 IEEE80211_IF_FMT(name, field, "%d\n")
79 #define IEEE80211_IF_FMT_HEX(name, field) \ argument
80 IEEE80211_IF_FMT(name, field, "%#x\n")
81 #define IEEE80211_IF_FMT_LHEX(name, field) \ argument
82 IEEE80211_IF_FMT(name, field, "%#lx\n")
83 #define IEEE80211_IF_FMT_SIZE(name, field) \ argument
84 IEEE80211_IF_FMT(name, field, "%zd\n")
[all …]
Ddebugfs_sta.c22 #define STA_READ(name, field, format_string) \ argument
29 format_string, sta->field); \
31 #define STA_READ_D(name, field) STA_READ(name, field, "%d\n") argument
32 #define STA_READ_U(name, field) STA_READ(name, field, "%u\n") argument
33 #define STA_READ_S(name, field) STA_READ(name, field, "%s\n") argument
57 #define STA_FILE(name, field, format) \ argument
58 STA_READ_##format(name, field) \
529 #define DEBUGFS_ADD_COUNTER(name, field) \ argument
530 if (sizeof(sta->field) == sizeof(u32)) \
532 (u32 *) &sta->field); \
[all …]
Ddebugfs.c390 #define DEBUGFS_STATS_ADD(name, field) \ argument
391 debugfs_create_u32(#name, 0400, statsd, (u32 *) &field);
/net/ieee802154/
Dwpan-class.c42 #define MASTER_SHOW(field, format_string) \ argument
43 MASTER_SHOW_COMPLEX(field, format_string, phy->field)
/net/dccp/
Ddccp.h201 #define DCCP_INC_STATS(field) SNMP_INC_STATS(dccp_statistics, field) argument
202 #define DCCP_INC_STATS_BH(field) SNMP_INC_STATS_BH(dccp_statistics, field) argument
203 #define DCCP_DEC_STATS(field) SNMP_DEC_STATS(dccp_statistics, field) argument
/net/core/
Dnet-sysfs.c58 #define NETDEVICE_SHOW(field, format_string) \ argument
59 static ssize_t format_##field(const struct net_device *dev, char *buf) \
61 return sprintf(buf, format_string, dev->field); \
63 static ssize_t field##_show(struct device *dev, \
66 return netdev_show(dev, attr, buf, format_##field); \
69 #define NETDEVICE_SHOW_RO(field, format_string) \ argument
70 NETDEVICE_SHOW(field, format_string); \
71 static DEVICE_ATTR_RO(field)
73 #define NETDEVICE_SHOW_RW(field, format_string) \ argument
74 NETDEVICE_SHOW(field, format_string); \
[all …]
Dskbuff.c708 #define CHECK_SKB_FIELD(field) \ argument
709 BUILD_BUG_ON(offsetof(struct sk_buff, field) < \
711 BUILD_BUG_ON(offsetof(struct sk_buff, field) > \
/net/openvswitch/
Dflow_netlink.c80 #define SW_FLOW_KEY_PUT(match, field, value, is_mask) \ argument
82 update_range__(match, offsetof(struct sw_flow_key, field), \
83 sizeof((match)->key->field), is_mask); \
86 (match)->mask->key.field = value; \
88 (match)->key->field = value; \
102 #define SW_FLOW_KEY_MEMCPY(match, field, value_p, len, is_mask) \ argument
103 SW_FLOW_KEY_MEMCPY_OFFSET(match, offsetof(struct sw_flow_key, field), \
106 #define SW_FLOW_KEY_MEMSET_FIELD(match, field, value, is_mask) \ argument
108 update_range__(match, offsetof(struct sw_flow_key, field), \
109 sizeof((match)->key->field), is_mask); \
[all …]
/net/bridge/netfilter/
DKconfig90 This option adds the ARP match, which allows ARP and RARP header field
98 This option adds the IP match, which allows basic IP header field
107 This option adds the IP6 match, which allows basic IPV6 header field
146 allows STP header field filtering.
/net/irda/
Dqos.c223 static inline int value_lower_bits(__u32 value, __u32 *array, int size, __u16 *field) in value_lower_bits() argument
240 *field = result; in value_lower_bits()
249 static inline int value_highest_bit(__u32 value, __u32 *array, int size, __u16 *field) in value_highest_bit() argument
267 *field = result; in value_highest_bit()
/net/ipx/
DKconfig48 evaluating the field sipx_node of the socket address given to the
49 bind call. So applications should always initialize the node field
/net/netfilter/
Dnft_expr_template.c54 NLA_PUT_BE32(skb, NFTA_TEMPLATE_ATTR, priv->field); in nft_template_dump()
DKconfig569 the netfilter mark (nfmark) field associated with the packet.
681 the IPv4/IPv6 header DSCP field (differentiated services codepoint).
683 The DSCP field can have any value between 0x0 and 0x3f inclusive.
686 the "mangle" table which alter the Type Of Service field of an IPv4
687 or the Priority field of an IPv6 packet, prior to routing.
1080 the IPv4/IPv6 header DSCP field (differentiated services codepoint).
1082 The DSCP field can have any value between 0x0 and 0x3f inclusive.
1138 in the IPv6 header, or the time-to-live field in the IPv4
/net/nfc/
DKconfig11 Say Y here if you want to build support for NFC (Near field
/net/ipv4/
DKconfig70 address into account. Furthermore, the TOS (Type-Of-Service) field
184 This is helper module to demultiplex GRE packets on GRE version field criteria.
Droute.c192 #define RT_CACHE_STAT_INC(field) raw_cpu_inc(rt_cache_stat.field) argument