Home
last modified time | relevance | path

Searched refs:proto (Results 1 – 25 of 99) sorted by relevance

1234

/include/trace/
Ddefine_trace.h27 #define TRACE_EVENT(name, proto, args, tstruct, assign, print) \ argument
28 DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
31 #define TRACE_EVENT_CONDITION(name, proto, args, cond, tstruct, assign, print) \ argument
33 PARAMS(proto), \
40 #define TRACE_EVENT_FN(name, proto, args, tstruct, \ argument
42 DEFINE_TRACE_FN(name, reg, unreg, PARAMS(proto), PARAMS(args))
45 #define TRACE_EVENT_FN_COND(name, proto, args, cond, tstruct, \ argument
47 DEFINE_TRACE_FN(name, reg, unreg, PARAMS(proto), PARAMS(args))
50 #define TRACE_EVENT_NOP(name, proto, args, struct, assign, print) argument
53 #define DEFINE_EVENT_NOP(template, name, proto, args) argument
[all …]
Dbpf_probe.h59 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
61 __bpf_trace_##call(void *__data, proto) \
72 #define __DEFINE_EVENT(template, call, proto, args, size) \ argument
77 typedef void (*btf_trace_##call)(void *__data, proto); \
94 #define DEFINE_EVENT_WRITABLE(template, call, proto, args, size) \ argument
101 FIRST(proto); \
104 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), size)
107 #define DEFINE_EVENT(template, call, proto, args) \ argument
108 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), 0)
111 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
[all …]
Dtrace_events.h74 #define TRACE_EVENT(name, proto, args, tstruct, assign, print) \ argument
76 PARAMS(proto), \
81 DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
112 #define DECLARE_EVENT_CLASS(name, proto, args, tstruct, assign, print) \ argument
122 #define DEFINE_EVENT(template, name, proto, args) \ argument
127 #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg) \ argument
128 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
131 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
132 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
136 #define TRACE_EVENT_FN(name, proto, args, tstruct, \ argument
[all …]
Dperf.h31 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
33 perf_trace_##call(void *__data, proto) \
79 #define DEFINE_EVENT(template, call, proto, args) \ argument
87 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
88 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
/include/linux/
Dtracepoint.h179 #define __DO_TRACE(name, proto, args, cond, rcuidle) \ argument
219 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) \ argument
220 static inline void trace_##name##_rcuidle(proto) \
229 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) argument
243 #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ argument
247 static inline void __nocfi trace_##name(proto) \
258 __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
294 #define DEFINE_TRACE_FN(_name, _reg, _unreg, proto, args) \ argument
298 int __traceiter_##_name(void *__data, proto); \
310 int __nocfi __traceiter_##_name(void *__data, proto) \
[all …]
Dif_pppox.h52 } proto; member
55 #define pppoe_dev proto.pppoe.dev
56 #define pppoe_ifindex proto.pppoe.ifindex
57 #define pppoe_pa proto.pppoe.pa
58 #define pppoe_relay proto.pppoe.relay
Dhdlc.h44 const struct hdlc_proto *proto; member
64 void register_hdlc_protocol(struct hdlc_proto *proto);
65 void unregister_hdlc_protocol(struct hdlc_proto *proto);
96 int attach_hdlc_protocol(struct net_device *dev, struct hdlc_proto *proto,
109 if (hdlc->proto->type_trans) in hdlc_type_trans()
110 return hdlc->proto->type_trans(skb, dev); in hdlc_type_trans()
Dnet.h237 int __sock_create(struct net *net, int family, int type, int proto,
239 int sock_create(int family, int type, int proto, struct socket **res);
240 int sock_create_kern(struct net *net, int family, int type, int proto, struct socket **res);
241 int sock_create_lite(int family, int type, int proto, struct socket **res);
336 #define MODULE_ALIAS_NETPROTO(proto) \ argument
337 MODULE_ALIAS("net-pf-" __stringify(proto))
339 #define MODULE_ALIAS_NET_PF_PROTO(pf, proto) \ argument
340 MODULE_ALIAS("net-pf-" __stringify(pf) "-proto-" __stringify(proto))
342 #define MODULE_ALIAS_NET_PF_PROTO_TYPE(pf, proto, type) \ argument
343 MODULE_ALIAS("net-pf-" __stringify(pf) "-proto-" __stringify(proto) \
[all …]
Dif_bridge.h29 __be16 proto; member
67 bool br_multicast_has_querier_anywhere(struct net_device *dev, int proto);
68 bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto);
78 int proto) in br_multicast_has_querier_anywhere() argument
83 int proto) in br_multicast_has_querier_adjacent() argument
/include/trace/hooks/
Dvendor_hooks.h22 #define DEFINE_HOOK_FN(_name, _reg, _unreg, proto, args) \ argument
26 int __traceiter_##_name(void *__data, proto); \
38 int __nocfi __traceiter_##_name(void *__data, proto) \
47 ((void(*)(void *, proto))(it_func))(__data, args); \
55 #define DECLARE_RESTRICTED_HOOK(name, proto, args, cond) \ argument
56 DEFINE_HOOK_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args))
62 #define DO_HOOK(name, proto, args, cond) \ argument
77 #define __DECLARE_HOOK(name, proto, args, cond, data_proto, data_args) \ argument
81 static inline void __nocfi trace_##name(proto) \
103 #define DECLARE_RESTRICTED_HOOK(name, proto, args, cond) \ argument
[all …]
/include/linux/netfilter/ipset/
Dip_set_getport.h10 __be16 *port, u8 *proto);
14 __be16 *port, u8 *proto);
17 __be16 *port, u8 *proto) in ip_set_get_ip6_port() argument
23 static inline bool ip_set_proto_with_ports(u8 proto) in ip_set_proto_with_ports() argument
25 switch (proto) { in ip_set_proto_with_ports()
/include/net/
Dtun_proto.h15 static inline __be16 tun_p_to_eth_p(u8 proto) in tun_p_to_eth_p() argument
17 switch (proto) { in tun_p_to_eth_p()
32 static inline u8 tun_p_from_eth_p(__be16 proto) in tun_p_from_eth_p() argument
34 switch (proto) { in tun_p_from_eth_p()
Dtransp_v6.h8 extern struct proto rawv6_prot;
9 extern struct proto udpv6_prot;
10 extern struct proto udplitev6_prot;
11 extern struct proto tcpv6_prot;
12 extern struct proto pingv6_prot;
Dip6_checksum.h36 __u32 len, __u8 proto, __wsum csum);
39 static inline __wsum ip6_compute_pseudo(struct sk_buff *skb, int proto) in ip6_compute_pseudo() argument
43 skb->len, proto, 0)); in ip6_compute_pseudo()
46 static inline __wsum ip6_gro_compute_pseudo(struct sk_buff *skb, int proto) in ip6_gro_compute_pseudo() argument
51 skb_gro_len(skb), proto, 0)); in ip6_gro_compute_pseudo()
100 int udp6_csum_init(struct sk_buff *skb, struct udphdr *uh, int proto);
Dncsi.h32 int ncsi_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid);
33 int ncsi_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid);
40 static inline int ncsi_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) in ncsi_vlan_rx_add_vid() argument
45 static inline int ncsi_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) in ncsi_vlan_rx_kill_vid() argument
Dstp.h12 int stp_proto_register(const struct stp_proto *proto);
13 void stp_proto_unregister(const struct stp_proto *proto);
Dgre.h32 int gre_add_protocol(const struct gre_protocol *proto, u8 version);
33 int gre_del_protocol(const struct gre_protocol *proto, u8 version);
38 bool *csum_err, __be16 proto, int nhs);
121 __be16 flags, __be16 proto, in gre_build_header() argument
128 skb_set_inner_protocol(skb, proto); in gre_build_header()
132 greh->protocol = proto; in gre_build_header()
Desp.h14 static inline void esp_output_fill_trailer(u8 *tail, int tfclen, int plen, __u8 proto) in esp_output_fill_trailer() argument
27 tail[plen - 1] = proto; in esp_output_fill_trailer()
39 __u8 proto; member
/include/trace/events/
Dbpf_test_run.h29 #define BPF_TEST_RUN_DEFINE_EVENT(template, call, proto, args, size) \ argument
30 DEFINE_EVENT_WRITABLE(template, call, PARAMS(proto), \
34 #define BPF_TEST_RUN_DEFINE_EVENT(template, call, proto, args, size) \ argument
35 DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args))
Dfib6.h32 __field( u8, proto )
55 __entry->proto = flp->flowi6_proto;
56 if (__entry->proto == IPPROTO_TCP ||
57 __entry->proto == IPPROTO_UDP) {
83 __entry->tb_id, __entry->oif, __entry->iif, __entry->proto,
Dnbd.h85 #define NBD_DEFINE_EVENT(template, call, proto, args, size) \ argument
86 DEFINE_EVENT_WRITABLE(template, call, PARAMS(proto), \
90 #define NBD_DEFINE_EVENT(template, call, proto, args, size) \ argument
91 DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args))
/include/uapi/linux/
Dif_arcnet.h60 __u8 proto; /* protocol ID field - varies */ member
71 __u8 proto; /* ARC_P_RFC1051_ARP/RFC1051_IP */ member
81 __u8 proto; /* Always ARC_P_ETHER */ member
88 __u8 proto; member
/include/net/netfilter/
Dnf_reject.h8 static inline bool nf_reject_verify_csum(__u8 proto) in nf_reject_verify_csum() argument
13 switch (proto) { in nf_reject_verify_csum()
/include/asm-generic/
Dchecksum.h47 __u8 proto, __wsum sum);
53 __u8 proto, __wsum sum) in csum_tcpudp_magic() argument
55 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
/include/linux/mtd/
Dspi-nor.h187 static inline bool spi_nor_protocol_is_dtr(enum spi_nor_protocol proto) in spi_nor_protocol_is_dtr() argument
189 return !!(proto & SNOR_PROTO_IS_DTR); in spi_nor_protocol_is_dtr()
192 static inline u8 spi_nor_get_protocol_inst_nbits(enum spi_nor_protocol proto) in spi_nor_get_protocol_inst_nbits() argument
194 return ((unsigned long)(proto & SNOR_PROTO_INST_MASK)) >> in spi_nor_get_protocol_inst_nbits()
198 static inline u8 spi_nor_get_protocol_addr_nbits(enum spi_nor_protocol proto) in spi_nor_get_protocol_addr_nbits() argument
200 return ((unsigned long)(proto & SNOR_PROTO_ADDR_MASK)) >> in spi_nor_get_protocol_addr_nbits()
204 static inline u8 spi_nor_get_protocol_data_nbits(enum spi_nor_protocol proto) in spi_nor_get_protocol_data_nbits() argument
206 return ((unsigned long)(proto & SNOR_PROTO_DATA_MASK)) >> in spi_nor_get_protocol_data_nbits()
210 static inline u8 spi_nor_get_protocol_width(enum spi_nor_protocol proto) in spi_nor_get_protocol_width() argument
212 return spi_nor_get_protocol_data_nbits(proto); in spi_nor_get_protocol_width()

1234