Home
last modified time | relevance | path

Searched refs:protocol (Results 1 – 25 of 2502) sorted by relevance

12345678910>>...101

/OK3568_Linux_fs/external/xserver/hw/xwayland/
H A DMakefile.am51 drm-client-protocol.h \
52 drm-protocol.c
63 relative-pointer-unstable-v1-client-protocol.h \
64 relative-pointer-unstable-v1-protocol.c \
65 pointer-constraints-unstable-v1-client-protocol.h \
66 pointer-constraints-unstable-v1-protocol.c \
67 tablet-unstable-v2-client-protocol.h \
68 tablet-unstable-v2-protocol.c \
69 xwayland-keyboard-grab-unstable-v1-protocol.c \
70 xwayland-keyboard-grab-unstable-v1-client-protocol.h \
[all …]
H A DMakefile.in112 @XWAYLAND_EGLSTREAM_TRUE@ wayland-eglstream-client-protocol.h \
113 @XWAYLAND_EGLSTREAM_TRUE@ wayland-eglstream-protocol.c \
114 @XWAYLAND_EGLSTREAM_TRUE@ wayland-eglstream-controller-client-protocol.h \
115 @XWAYLAND_EGLSTREAM_TRUE@ wayland-eglstream-controller-protocol.c
160 @GLAMOR_EGL_TRUE@am__objects_4 = Xwayland-drm-protocol.$(OBJEXT)
162 @XWAYLAND_EGLSTREAM_TRUE@am__objects_6 = Xwayland-wayland-eglstream-protocol.$(OBJEXT) \
163 @XWAYLAND_EGLSTREAM_TRUE@ Xwayland-wayland-eglstream-controller-protocol.$(OBJEXT)
165 Xwayland-relative-pointer-unstable-v1-protocol.$(OBJEXT) \
166 Xwayland-pointer-constraints-unstable-v1-protocol.$(OBJEXT) \
167 Xwayland-tablet-unstable-v2-protocol.$(OBJEXT) \
[all …]
/OK3568_Linux_fs/kernel/net/ax25/
H A Dax25_iface.c57 struct ax25_protocol *protocol; in ax25_protocol_release() local
60 protocol = protocol_list; in ax25_protocol_release()
61 if (protocol == NULL) in ax25_protocol_release()
64 if (protocol->pid == pid) { in ax25_protocol_release()
65 protocol_list = protocol->next; in ax25_protocol_release()
69 while (protocol != NULL && protocol->next != NULL) { in ax25_protocol_release()
70 if (protocol->next->pid == pid) { in ax25_protocol_release()
71 protocol->next = protocol->next->next; in ax25_protocol_release()
75 protocol = protocol->next; in ax25_protocol_release()
161 struct ax25_protocol *protocol; in ax25_protocol_function() local
[all …]
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dsmbus.h26 char read_write, u8 command, int protocol,
28 TP_ARGS(adap, addr, flags, read_write, command, protocol, data),
30 protocol == I2C_SMBUS_PROC_CALL ||
31 protocol == I2C_SMBUS_BLOCK_PROC_CALL),
38 __field(__u32, protocol )
45 __entry->protocol = protocol;
47 switch (protocol) {
74 __print_symbolic(__entry->protocol,
94 char read_write, u8 command, int protocol),
95 TP_ARGS(adap, addr, flags, read_write, command, protocol),
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/forwarding/
H A Dtc_flower.sh41 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
43 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
55 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
56 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
67 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
69 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
81 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
82 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
91 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
93 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
[all …]
H A Dtc_actions.sh54 local protocol=$2
60 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
69 tc filter add dev $swp1 ingress protocol $protocol pref 1 handle 101 \
79 tc filter del dev $swp1 ingress protocol $protocol pref 1 handle 101 \
81 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
90 tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \
99 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
111 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower
112 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
125 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
[all …]
H A Dtc_chains.sh38 tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
47 tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
57 tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
59 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
61 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
76 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
77 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
78 tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
128 tc chain add dev $h2 ingress protocol ip \
130 tc chain add dev $h2 ingress chain 1 protocol ip \
[all …]
/OK3568_Linux_fs/kernel/drivers/pnp/
H A Dcore.c46 static void pnp_remove_protocol(struct pnp_protocol *protocol) in pnp_remove_protocol() argument
49 list_del(&protocol->protocol_list); in pnp_remove_protocol()
59 int pnp_register_protocol(struct pnp_protocol *protocol) in pnp_register_protocol() argument
64 INIT_LIST_HEAD(&protocol->devices); in pnp_register_protocol()
65 INIT_LIST_HEAD(&protocol->cards); in pnp_register_protocol()
79 protocol->number = nodenum; in pnp_register_protocol()
80 dev_set_name(&protocol->dev, "pnp%d", nodenum); in pnp_register_protocol()
82 list_add_tail(&protocol->protocol_list, &pnp_protocols); in pnp_register_protocol()
86 ret = device_register(&protocol->dev); in pnp_register_protocol()
88 pnp_remove_protocol(protocol); in pnp_register_protocol()
[all …]
/OK3568_Linux_fs/external/xserver/test/
H A DMakefile.in124 @ENABLE_UNIT_TESTS_TRUE@@HAVE_LD_WRAP_TRUE@@XORG_TRUE@ xi1/protocol-xchangedevicecontrol.c \
125 @ENABLE_UNIT_TESTS_TRUE@@HAVE_LD_WRAP_TRUE@@XORG_TRUE@ xi2/protocol-common.c \
126 @ENABLE_UNIT_TESTS_TRUE@@HAVE_LD_WRAP_TRUE@@XORG_TRUE@ xi2/protocol-xiqueryversion.c \
127 @ENABLE_UNIT_TESTS_TRUE@@HAVE_LD_WRAP_TRUE@@XORG_TRUE@ xi2/protocol-xiquerydevice.c \
128 @ENABLE_UNIT_TESTS_TRUE@@HAVE_LD_WRAP_TRUE@@XORG_TRUE@ xi2/protocol-xiselectevents.c \
129 @ENABLE_UNIT_TESTS_TRUE@@HAVE_LD_WRAP_TRUE@@XORG_TRUE@ xi2/protocol-xigetselectedevents.c \
130 @ENABLE_UNIT_TESTS_TRUE@@HAVE_LD_WRAP_TRUE@@XORG_TRUE@ xi2/protocol-xisetclientpointer.c \
131 @ENABLE_UNIT_TESTS_TRUE@@HAVE_LD_WRAP_TRUE@@XORG_TRUE@ xi2/protocol-xigetclientpointer.c \
132 @ENABLE_UNIT_TESTS_TRUE@@HAVE_LD_WRAP_TRUE@@XORG_TRUE@ xi2/protocol-xiquerypointer.c \
133 @ENABLE_UNIT_TESTS_TRUE@@HAVE_LD_WRAP_TRUE@@XORG_TRUE@ xi2/protocol-xipassivegrabdevice.c \
[all …]
/OK3568_Linux_fs/kernel/net/ipv4/netfilter/
H A Dnf_socket_ipv4.c20 extract_icmp4_fields(const struct sk_buff *skb, u8 *protocol, in extract_icmp4_fields() argument
43 if (inside_iph->protocol != IPPROTO_TCP && in extract_icmp4_fields()
44 inside_iph->protocol != IPPROTO_UDP) in extract_icmp4_fields()
56 *protocol = inside_iph->protocol; in extract_icmp4_fields()
67 const u8 protocol, in nf_socket_get_sock_v4() argument
72 switch (protocol) { in nf_socket_get_sock_v4()
91 u8 protocol; in nf_sk_lookup_slow_v4() local
98 if (iph->protocol == IPPROTO_UDP || iph->protocol == IPPROTO_TCP) { in nf_sk_lookup_slow_v4()
103 iph->protocol == IPPROTO_UDP ? in nf_sk_lookup_slow_v4()
108 protocol = iph->protocol; in nf_sk_lookup_slow_v4()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
H A Dtc_flower.sh100 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
109 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
124 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
132 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
146 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
148 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
157 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
165 tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \
174 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
182 tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower
[all …]
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dutils.c11 unsigned int dataoff, u8 protocol) in nf_ip_checksum() argument
20 if ((protocol != IPPROTO_TCP && protocol != IPPROTO_UDP && in nf_ip_checksum()
23 skb->len - dataoff, protocol, in nf_ip_checksum()
30 if (protocol != IPPROTO_TCP && protocol != IPPROTO_UDP) in nf_ip_checksum()
35 protocol, 0); in nf_ip_checksum()
45 u8 protocol) in nf_ip_checksum_partial() argument
53 return nf_ip_checksum(skb, hook, dataoff, protocol); in nf_ip_checksum_partial()
56 skb->csum = csum_tcpudp_nofold(iph->saddr, iph->daddr, protocol, in nf_ip_checksum_partial()
65 unsigned int dataoff, u8 protocol) in nf_ip6_checksum() argument
75 skb->len - dataoff, protocol, in nf_ip6_checksum()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/mlxsw/
H A Dtc_restrictions.sh44 tc filter add block 22 protocol ip pref 1 handle 101 flower \
56 tc filter del block 22 protocol ip pref 1 handle 101 flower
61 tc filter add block 22 protocol ip pref 1 handle 101 flower \
70 tc filter add block 22 protocol ip pref 1 handle 101 flower \
74 tc filter del block 22 protocol ip pref 1 handle 101 flower
92 tc filter add block 22 protocol ip pref 1 handle 101 flower \
105 tc filter del block 22 protocol ip pref 1 handle 101 flower
110 tc filter add block 22 protocol ip pref 1 handle 101 flower \
120 tc filter add block 22 protocol ip pref 1 handle 101 flower \
127 tc filter add block 22 protocol ip pref 1 handle 101 flower \
[all …]
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dxfrm4_protocol.c26 static inline struct xfrm4_protocol __rcu **proto_handlers(u8 protocol) in proto_handlers() argument
28 switch (protocol) { in proto_handlers()
45 static int xfrm4_rcv_cb(struct sk_buff *skb, u8 protocol, int err) in xfrm4_rcv_cb() argument
49 struct xfrm4_protocol __rcu **head = proto_handlers(protocol); in xfrm4_rcv_cb()
206 static inline const struct net_protocol *netproto(unsigned char protocol) in netproto() argument
208 switch (protocol) { in netproto()
221 unsigned char protocol) in xfrm4_protocol_register() argument
229 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm4_protocol_register()
234 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm4_protocol_register()
238 for (pprev = proto_handlers(protocol); in xfrm4_protocol_register()
[all …]
H A Dprotocol.c32 int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_add_protocol() argument
36 protocol); in inet_add_protocol()
40 return !cmpxchg((const struct net_protocol **)&inet_protos[protocol], in inet_add_protocol()
45 int inet_add_offload(const struct net_offload *prot, unsigned char protocol) in inet_add_offload() argument
47 return !cmpxchg((const struct net_offload **)&inet_offloads[protocol], in inet_add_offload()
52 int inet_del_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_del_protocol() argument
56 ret = (cmpxchg((const struct net_protocol **)&inet_protos[protocol], in inet_del_protocol()
65 int inet_del_offload(const struct net_offload *prot, unsigned char protocol) in inet_del_offload() argument
69 ret = (cmpxchg((const struct net_offload **)&inet_offloads[protocol], in inet_del_offload()
/OK3568_Linux_fs/kernel/include/uapi/linux/usb/
H A Daudio.h273 int protocol) in uac_mixer_unit_wChannelConfig() argument
275 if (protocol == UAC_VERSION_1) in uac_mixer_unit_wChannelConfig()
286 int protocol) in uac_mixer_unit_iChannelNames() argument
288 return (protocol == UAC_VERSION_1) ? in uac_mixer_unit_iChannelNames()
294 int protocol) in uac_mixer_unit_bmControls() argument
296 switch (protocol) { in uac_mixer_unit_bmControls()
370 int protocol) in uac_processing_unit_wChannelConfig() argument
372 if (protocol == UAC_VERSION_1) in uac_processing_unit_wChannelConfig()
383 int protocol) in uac_processing_unit_iChannelNames() argument
385 return (protocol == UAC_VERSION_1) ? in uac_processing_unit_iChannelNames()
[all …]
/OK3568_Linux_fs/buildroot/package/bird/
H A DConfig.in24 comment "protocol support"
29 Enable Babel protocol.
35 Enable BFD protocol.
37 comment "BFD protocol needs a toolchain w/ NPTL"
44 Enable BGP protocol.
49 Enable MRT protocol.
54 Enable OSPFv2 and OSPFv3 protocol.
59 Enable Perf protocol.
64 Enable Pipe protocol.
69 Enable RAdv protocol.
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dvirtio_net.h10 static inline bool virtio_net_hdr_match_proto(__be16 protocol, __u8 gso_type) in virtio_net_hdr_match_proto() argument
14 return protocol == cpu_to_be16(ETH_P_IP); in virtio_net_hdr_match_proto()
16 return protocol == cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_match_proto()
18 return protocol == cpu_to_be16(ETH_P_IP) || in virtio_net_hdr_match_proto()
19 protocol == cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_match_proto()
28 if (skb->protocol) in virtio_net_hdr_set_proto()
34 skb->protocol = cpu_to_be16(ETH_P_IP); in virtio_net_hdr_set_proto()
37 skb->protocol = cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_set_proto()
106 if (!skb->protocol) { in virtio_net_hdr_to_skb()
107 __be16 protocol = dev_parse_header_protocol(skb); in virtio_net_hdr_to_skb() local
[all …]
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dxfrm6_protocol.c27 static inline struct xfrm6_protocol __rcu **proto_handlers(u8 protocol) in proto_handlers() argument
29 switch (protocol) { in proto_handlers()
46 static int xfrm6_rcv_cb(struct sk_buff *skb, u8 protocol, int err) in xfrm6_rcv_cb() argument
50 struct xfrm6_protocol __rcu **head = proto_handlers(protocol); in xfrm6_rcv_cb()
55 for_each_protocol_rcu(*proto_handlers(protocol), handler) in xfrm6_rcv_cb()
219 static inline const struct inet6_protocol *netproto(unsigned char protocol) in netproto() argument
221 switch (protocol) { in netproto()
234 unsigned char protocol) in xfrm6_protocol_register() argument
242 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm6_protocol_register()
247 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm6_protocol_register()
[all …]
/OK3568_Linux_fs/kernel/security/tomoyo/
H A Dnetwork.c26 u8 protocol; member
198 return p1->protocol == p2->protocol && in tomoyo_same_inet_acl()
217 return p1->protocol == p2->protocol && in tomoyo_same_unix_acl()
287 const char *protocol = tomoyo_read_token(param); in tomoyo_write_inet_network() local
290 for (e.protocol = 0; e.protocol < TOMOYO_SOCK_MAX; e.protocol++) in tomoyo_write_inet_network()
291 if (!strcmp(protocol, tomoyo_proto_keyword[e.protocol])) in tomoyo_write_inet_network()
296 if (e.protocol == TOMOYO_SOCK_MAX || !e.perm) in tomoyo_write_inet_network()
332 const char *protocol = tomoyo_read_token(param); in tomoyo_write_unix_network() local
335 for (e.protocol = 0; e.protocol < TOMOYO_SOCK_MAX; e.protocol++) in tomoyo_write_unix_network()
336 if (!strcmp(protocol, tomoyo_proto_keyword[e.protocol])) in tomoyo_write_unix_network()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dreuseport_bpf.c34 int protocol; member
160 fd[i] = socket(p.recv_family, p.protocol, 0); in build_recv_group()
175 if (p.protocol == SOCK_STREAM) { in build_recv_group()
194 const int fd = socket(p.send_family, p.protocol, 0), one = 1; in send_from()
246 if (p.protocol == SOCK_STREAM) { in test_recv_order()
314 fd1 = socket(p.recv_family, p.protocol, 0); in test_extra_filter()
317 fd2 = socket(p.recv_family, p.protocol, 0); in test_extra_filter()
370 fd = socket(p.recv_family, p.protocol, 0); in test_filter_no_reuseport()
469 .protocol = SOCK_DGRAM, in main()
476 .protocol = SOCK_DGRAM, in main()
[all …]
/OK3568_Linux_fs/kernel/drivers/bluetooth/
H A DKconfig45 bool "Broadcom protocol support"
50 The Broadcom protocol support enables firmware and patchram
53 Say Y here to compile support for Broadcom protocol.
56 bool "MediaTek protocol support"
60 The MediaTek protocol support enables firmware download
64 Say Y here to compile support for MediaTek protocol.
67 bool "Realtek protocol support"
72 The Realtek protocol support enables firmware and configuration
75 Say Y here to compile support for Realtek protocol.
109 bool "UART (H4) protocol support"
[all …]
/OK3568_Linux_fs/u-boot/lib/efi_loader/
H A Defi_boottime.c456 efi_guid_t *protocol, int protocol_interface_type, in efi_install_protocol_interface() argument
463 if (!handle || !protocol || in efi_install_protocol_interface()
487 if (!guidcmp(handler->guid, protocol)) { in efi_install_protocol_interface()
499 handler->guid = protocol; in efi_install_protocol_interface()
513 efi_guid_t *protocol, int protocol_interface_type, in efi_install_protocol_interface_ext() argument
516 EFI_ENTRY("%p, %p, %d, %p", handle, protocol, protocol_interface_type, in efi_install_protocol_interface_ext()
519 return EFI_EXIT(efi_install_protocol_interface(handle, protocol, in efi_install_protocol_interface_ext()
525 efi_guid_t *protocol, void *old_interface, in efi_reinstall_protocol_interface() argument
528 EFI_ENTRY("%p, %p, %p, %p", handle, protocol, old_interface, in efi_reinstall_protocol_interface()
534 efi_guid_t *protocol, void *protocol_interface) in efi_uninstall_protocol_interface() argument
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dtest_tc_tunnel.c37 __be16 protocol; member
108 iph_inner.protocol = iph6_inner.nexthdr; in encap_ipv4()
122 if (iph_inner.ihl != 5 || iph_inner.protocol != IPPROTO_TCP) in encap_ipv4()
153 h_outer.l4hdr.gre.protocol = bpf_htons(l2_proto); in encap_ipv4()
194 h_outer.ip.protocol = encap_proto; in encap_ipv4()
261 h_outer.l4hdr.gre.protocol = bpf_htons(l2_proto); in encap_ipv6()
315 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_ipip_none()
324 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_gre_none()
333 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_gre_mpls()
342 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_gre_eth()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/usb/
H A Daudio.h273 int protocol) in uac_mixer_unit_wChannelConfig() argument
275 if (protocol == UAC_VERSION_1) in uac_mixer_unit_wChannelConfig()
286 int protocol) in uac_mixer_unit_iChannelNames() argument
288 return (protocol == UAC_VERSION_1) ? in uac_mixer_unit_iChannelNames()
294 int protocol) in uac_mixer_unit_bmControls() argument
296 switch (protocol) { in uac_mixer_unit_bmControls()
370 int protocol) in uac_processing_unit_wChannelConfig() argument
372 if (protocol == UAC_VERSION_1) in uac_processing_unit_wChannelConfig()
383 int protocol) in uac_processing_unit_iChannelNames() argument
385 return (protocol == UAC_VERSION_1) ? in uac_processing_unit_iChannelNames()
[all …]

12345678910>>...101