/linux/include/trace/ |
H A D | define_trace.h | 27 #define TRACE_EVENT(name, proto, args, tstruct, assign, print) \ argument 31 #define TRACE_EVENT_CONDITION(name, proto, args, cond, tstruct, assign, print) \ argument 40 #define TRACE_EVENT_FN(name, proto, args, tstruct, \ argument 45 #define TRACE_EVENT_FN_COND(name, proto, args, cond, tstruct, \ argument 50 #define TRACE_EVENT_SYSCALL(name, proto, args, struct, assign, print, reg, unreg) \ argument 54 #define TRACE_EVENT_NOP(name, proto, args, struct, assign, print) argument 57 #define DEFINE_EVENT_NOP(template, name, proto, args) argument 60 #define DEFINE_EVENT(template, name, proto, args) \ argument 64 #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg) \ argument 68 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument [all …]
|
H A D | trace_events.h | 39 #define TRACE_EVENT(name, proto, args, tstruct, assign, print) \ argument 49 #define TRACE_EVENT_SYSCALL(name, proto, args, tstruct, assign, print, reg, unreg) \ argument 61 #define DECLARE_EVENT_CLASS(name, proto, args, tstruct, assign, print) \ argument 74 #define DEFINE_EVENT(template, name, proto, args) \ argument 79 #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg) \ argument 83 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument 88 #define TRACE_EVENT_FN(name, proto, args, tstruct, \ argument 94 #define TRACE_EVENT_FN_COND(name, proto, args, cond, tstruct, \ argument 128 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument 137 #define DEFINE_EVENT(template, name, proto, args) argument [all …]
|
H A D | trace_custom_events.h | 27 #define TRACE_CUSTOM_EVENT(name, proto, args, tstruct, assign, print) \ argument 41 #define DECLARE_CUSTOM_EVENT_CLASS(name, proto, args, tstruct, assign, print) \ argument 51 #define DEFINE_CUSTOM_EVENT(template, name, proto, args) \ argument 62 #define DECLARE_CUSTOM_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument 68 #define DEFINE_CUSTOM_EVENT(template, name, proto, args) argument 77 #define DECLARE_CUSTOM_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument 108 #define DECLARE_CUSTOM_EVENT_CLASS(call, proto, args, tstruct, func, print) \ argument 120 #define DECLARE_CUSTOM_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument 140 #define DECLARE_CUSTOM_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument 175 #define DEFINE_CUSTOM_EVENT(template, call, proto, args) \ argument [all …]
|
H A D | bpf_probe.h | 45 #define __BPF_DECLARE_TRACE(call, proto, args) \ argument 53 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument 56 #define __BPF_DECLARE_TRACE_SYSCALL(call, proto, args) \ argument 67 #define DECLARE_EVENT_SYSCALL_CLASS(call, proto, args, tstruct, assign, print) \ argument 75 #define __DEFINE_EVENT(template, call, proto, args, size) \ argument 96 #define __CHECK_WRITABLE_BUF_SIZE(call, proto, args, size) \ argument 108 #define DEFINE_EVENT_WRITABLE(template, call, proto, args, size) \ argument 113 #define DEFINE_EVENT(template, call, proto, args) \ argument 117 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument 121 #define DECLARE_TRACE(call, proto, args) \ argument [all …]
|
H A D | perf.h | 16 #define __DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument 65 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument 78 #define DECLARE_EVENT_SYSCALL_CLASS(call, proto, args, tstruct, assign, print) \ argument 99 #define DEFINE_EVENT(template, call, proto, args) \ argument 107 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
|
/linux/include/linux/ |
H A D | tracepoint.h | 217 #define DEFINE_RUST_DO_TRACE(name, proto, args) argument 218 #define __DEFINE_RUST_DO_TRACE(name, proto, args) \ argument 235 #define __DECLARE_TRACE_COMMON(name, proto, args, data_proto) \ argument 269 #define __DECLARE_TRACE(name, proto, args, cond, data_proto) \ argument 288 #define __DECLARE_TRACE_SYSCALL(name, proto, args, data_proto) \ argument 314 #define __DEFINE_TRACE_EXT(_name, _ext, proto, args) \ argument 384 #define __DECLARE_TRACE_COMMON(name, proto, args, data_proto) \ argument 408 #define __DECLARE_TRACE(name, proto, args, cond, data_proto) \ argument 411 #define __DECLARE_TRACE_SYSCALL(name, proto, args, data_proto) \ argument 414 #define DEFINE_TRACE_FN(name, reg, unreg, proto, args) argument [all …]
|
/linux/net/8021q/ |
H A D | vlan_core.c | 164 __be16 proto; member 169 static bool vlan_hw_filter_capable(const struct net_device *dev, __be16 proto) in vlan_hw_filter_capable() 181 __be16 proto, u16 vid) in vlan_vid_info_get() 192 static struct vlan_vid_info *vlan_vid_info_alloc(__be16 proto, u16 vid) in vlan_vid_info_alloc() 205 static int vlan_add_rx_filter_info(struct net_device *dev, __be16 proto, u16 vid) in vlan_add_rx_filter_info() 216 static int vlan_kill_rx_filter_info(struct net_device *dev, __be16 proto, u16 vid) in vlan_kill_rx_filter_info() 254 int vlan_filter_push_vids(struct vlan_info *vlan_info, __be16 proto) in vlan_filter_push_vids() 283 void vlan_filter_drop_vids(struct vlan_info *vlan_info, __be16 proto) in vlan_filter_drop_vids() 295 static int __vlan_vid_add(struct vlan_info *vlan_info, __be16 proto, u16 vid, in __vlan_vid_add() 318 int vlan_vid_add(struct net_device *dev, __be16 proto, u16 vid) in vlan_vid_add() [all …]
|
/linux/include/net/ |
H A D | sock.h | 1251 struct proto { global() struct 1263 acceptproto global() argument 1265 ioctlproto global() argument 1267 initproto global() argument 1268 destroyproto global() argument 1269 shutdownproto global() argument 1270 setsockoptproto global() argument 1273 getsockoptproto global() argument 1276 keepaliveproto global() argument 1278 compat_ioctlproto global() argument 1281 sendmsgproto global() argument 1283 recvmsgproto global() argument 1285 splice_eofproto global() argument 1286 bindproto global() argument 1288 bind_addproto global() argument 1291 backlog_rcvproto global() argument 1293 bpf_bypass_getsockoptproto global() argument 1296 release_cbproto global() argument 1299 hashproto global() argument 1300 unhashproto global() argument 1301 rehashproto global() argument 1302 get_portproto global() argument 1303 put_portproto global() argument 1305 psock_update_sk_protproto global() argument 1312 inuse_idxproto global() argument 1315 stream_memory_freeproto global() argument 1316 sock_is_readableproto global() argument 1318 enter_memory_pressureproto global() argument 1319 leave_memory_pressureproto global() argument 1320 memory_allocatedproto global() argument 1321 per_cpu_fw_allocproto global() argument 1322 sockets_allocatedproto global() argument 1331 memory_pressureproto global() argument 1332 sysctl_memproto global() argument 1334 sysctl_wmemproto global() argument 1335 sysctl_rmemproto global() argument 1336 sysctl_wmem_offsetproto global() argument 1337 sysctl_rmem_offsetproto global() argument 1339 max_headerproto global() argument 1340 no_autobindproto global() argument 1342 slabproto global() argument 1343 obj_sizeproto global() argument 1344 ipv6_pinfo_offsetproto global() argument 1345 slab_flagsproto global() argument 1369 diag_destroyproto global() argument 1859 sock_replace_proto(struct sock * sk,struct proto * proto) sock_replace_proto() argument 2949 sk_get_wmem0(const struct sock * sk,const struct proto * proto) sk_get_wmem0() argument 2958 sk_get_rmem0(const struct sock * sk,const struct proto * proto) sk_get_rmem0() argument [all...] |
H A D | proto_memory.h | 53 static inline void proto_memory_pcpu_drain(struct proto *proto) in proto_memory_pcpu_drain() argument 64 struct proto *proto = sk->sk_prot; in sk_memory_allocated_add() local 75 struct proto *proto = sk->sk_prot; sk_memory_allocated_sub() local [all...] |
/linux/net/ipv4/ |
H A D | gre_demux.c | 31 int gre_add_protocol(const struct gre_protocol *proto, u8 version) in gre_add_protocol() argument 41 int gre_del_protocol(const struct gre_protocol *proto, u8 version) in gre_del_protocol() argument 63 bool *csum_err, __be16 proto, int nhs) in gre_parse_header() argument 148 const struct gre_protocol *proto; gre_rcv() local 176 const struct gre_protocol *proto; gre_err() local [all...] |
/linux/tools/testing/selftests/net/ |
H A D | reuseport_addr_any.c | 34 build_rcv_fd(int family,int proto,int * rcv_fds,int count,const char * addr_str) build_rcv_fd() argument 101 connect_and_send(int family,int proto) connect_and_send() argument 168 receive_once(int epfd,int proto) receive_once() argument 194 test(int * rcv_fds,int count,int family,int proto,int fd) test() argument 221 run_one_test(int fam_send,int fam_rcv,int proto,const char * addr_str) run_one_test() argument 244 test_proto(int proto,const char * proto_str) test_proto() argument [all...] |
H A D | reuseport_dualstack.c | 31 static void build_rcv_fd(int family, int proto, int *rcv_fds, int count) in build_rcv_fd() 73 static void send_from_v4(int proto) in send_from_v4() 102 static int receive_once(int epfd, int proto) in receive_once() 128 static void test(int *rcv_fds, int count, int proto) in test()
|
H A D | sk_so_peek_off.c | 13 static char *afstr(int af, int proto) in afstr() 21 int sk_peek_offset_probe(sa_family_t af, int proto) in sk_peek_offset_probe() 57 static int sk_peek_offset_test(sa_family_t af, int proto) in sk_peek_offset_test() 170 static int do_test(int proto) in do_test()
|
H A D | reuseport_bpf_cpu.c | 34 static void build_rcv_group(int *rcv_fd, size_t len, int family, int proto) in build_rcv_group() 94 static void send_from_cpu(int cpu_id, int family, int proto) in send_from_cpu() 151 void receive_on_cpu(int *rcv_fd, int len, int epfd, int cpu_id, int proto) in receive_on_cpu() 184 static void test(int *rcv_fd, int len, int family, int proto) in test()
|
H A D | reuseport_bpf_numa.c | 30 static void build_rcv_group(int *rcv_fd, size_t len, int family, int proto) in build_rcv_group() 107 static void send_from_node(int node_id, int family, int proto) in send_from_node() 161 void receive_on_node(int *rcv_fd, int len, int epfd, int node_id, int proto) in receive_on_node() 194 static void test(int *rcv_fd, int len, int family, int proto) in test()
|
/linux/drivers/net/wan/ |
H A D | hdlc_ppp.c | 62 struct proto { struct 66 u16 pid; /* protocol ID */ argument 73 struct proto protos[IDX_COUNT]; argument 304 struct proto *proto = get_proto(dev, pid); in ppp_cp_event() local 438 struct proto *proto; in ppp_rx() local 564 struct proto *proto = timer_container_of(proto, t, timer); in ppp_timer() local 621 struct proto *proto = &ppp->protos[i]; in ppp_start() local 644 static struct hdlc_proto proto = { variable
|
/linux/net/802/ |
H A D | psnap.c | 31 struct datalink_proto *proto = NULL, *p; in find_snap_client() local 49 struct datalink_proto *proto; in snap_rcv() local 128 struct datalink_proto *proto = NULL; in register_snap_client() local 152 void unregister_snap_client(struct datalink_proto *proto) in unregister_snap_client()
|
H A D | stp.c | 35 const struct stp_proto *proto; in stp_pdu_rcv() local 62 int stp_proto_register(const struct stp_proto *proto) in stp_proto_register() 85 void stp_proto_unregister(const struct stp_proto *proto) in stp_proto_unregister()
|
/linux/arch/sparc/include/asm/ |
H A D | checksum_64.h | 67 __u32 len, __u8 proto, in csum_tcpudp_nofold() 86 __u32 len, __u8 proto, in csum_tcpudp_magic() 96 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic()
|
/linux/net/netfilter/ipset/ |
H A D | ip_set_getport.c | 26 bool src, __be16 *port, u8 *proto) in get_port() 99 __be16 *port, u8 *proto) in ip_set_get_ip4_port() 133 __be16 *port, u8 *proto) in ip_set_get_ip6_port()
|
/linux/arch/m68k/include/asm/ |
H A D | checksum.h | 83 unsigned short proto, __wsum sum) in csum_tcpudp_nofold() 103 unsigned short proto, __wsum sum) in csum_tcpudp_magic() 121 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic()
|
/linux/net/netfilter/ |
H A D | nf_conntrack_ovs.c | 13 enum ip_conntrack_info ctinfo, u16 proto) in nf_ct_helper() 79 u8 proto, bool nat, struct nf_conntrack_helper **hp) in nf_ct_add_helper() 145 u16 zone, u8 family, u8 *proto, u16 *mru) in nf_ct_handle_fragments()
|
/linux/arch/parisc/include/asm/ |
H A D | checksum.h | 75 __u32 len, __u8 proto, in csum_tcpudp_nofold() 93 __u32 len, __u8 proto, in csum_tcpudp_magic() 112 __u32 len, __u8 proto, in csum_ipv6_magic()
|
/linux/arch/arm/include/asm/ |
H A D | checksum.h | 101 __u8 proto, __wsum sum) in csum_tcpudp_nofold() 138 __u8 proto, __wsum sum) in csum_tcpudp_magic() 161 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic()
|
/linux/net/ipv6/ |
H A D | ip6_offload.c | 40 static int ipv6_gro_pull_exthdrs(struct sk_buff *skb, int off, int proto) in ipv6_gro_pull_exthdrs() 74 static int ipv6_gso_pull_exthdrs(struct sk_buff *skb, int proto) in ipv6_gso_pull_exthdrs() 113 int proto, err; in ipv6_gso_segment() local 204 int len = 0, proto, optlen = sizeof(*iph); in ipv6_exthdrs_len() local 233 int proto; in ipv6_gro_receive() local
|