| /linux/tools/testing/selftests/tc-testing/tc-tests/filters/ | 
| H A D | matchall.json | 4         "name": "Add ingress matchall filter for protocol ipv4 and action PASS",15 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
 17         "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
 18 …"matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*r…
 26         "name": "Add egress matchall filter for protocol ipv4 and action PASS",
 37 …"cmdUnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ip matchall action…
 39         "verifyCmd": "$TC filter get dev $DUMMY parent 1: handle 1 prio 1 protocol ip matchall",
 40 …"matchPattern": "^filter parent 1: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*ref …
 48         "name": "Add ingress matchall filter for protocol ipv6 and action DROP",
 59 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ipv6 matchall a…
 [all …]
 
 | 
| H A D | flow.json | 15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds…17         "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow",
 18 …"matchPattern": "filter parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys dst …
 37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds…
 39         "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow",
 40 …"matchPattern": "filter parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys dst.…
 59 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds…
 61         "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow",
 62 …"matchPattern": "filter parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys dst …
 81 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds…
 [all …]
 
 | 
| H A D | bpf.json | 15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf bytecode …17         "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf",
 18 …"matchPattern": "filter parent ffff: protocol ip pref 100 bpf chain [0-9]+ handle 0x1.*bytecode '4…
 37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf bytecode …
 39         "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf",
 40 …"matchPattern": "filter parent ffff: protocol ip pref 100 bpf chain [0-9]+ handle 0x1.*bytecode '4…
 61 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf object-fi…
 63         "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf",
 64 …"matchPattern": "filter parent ffff: protocol ip pref 100 bpf chain [0-9]+ handle 0x1 action-ebpf:…
 85 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf object-fi…
 [all …]
 
 | 
| H A D | u32.json | 15 …"cmdUnderTest": "$TC filter add dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.1/32…18 …"matchPattern": "filter protocol ip pref 1 u32 chain (0[ ]+$|0 fh 800: ht divisor 1|0 fh 800::800 …
 37 …"cmdUnderTest": "$TC filter replace dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.…
 40         "matchPattern": "filter protocol ip pref 1 u32 chain 0",
 58 …"$TC filter add dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.3/32 flowid 1:3 acti…
 60 …"cmdUnderTest": "$TC filter replace dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.…
 63 …"matchPattern": "filter protocol ip pref 1 u32 chain (0[ ]+$|0 fh 800: ht divisor 1|0 fh 800::800 …
 150 …"cmdUnderTest": "$TC filter add dev $DEV1 ingress protocol ip prio 98 u32 link 43: hashkey mask 0x…
 153 …"matchPattern": "filter protocol ip pref 98 u32 chain (0[ ]+$|0 fh 801: ht divisor 1|0 fh 801::800…
 172 …"cmdUnderTest": "$TC filter replace dev $DEV1 ingress protocol ip prio 20 u32 ht 47:47 action drop…
 [all …]
 
 | 
| H A D | fw.json | 17         "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65535 protocol all fw",39         "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65536 protocol all fw",
 61         "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw",
 84         "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw",
 106         "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw",
 129         "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw",
 151         "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw",
 174         "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw",
 196         "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol all prio 1 fw",
 219         "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw",
 [all …]
 
 | 
| /linux/drivers/ata/pata_parport/ | 
| H A D | Kconfig | 3 comment "Parallel IDE protocol modules"7 	tristate "ATEN EH-100 protocol"
 11 	  protocol. This protocol is used in some inexpensive low performance
 15 	tristate "MicroSolutions backpack (Series 5) protocol"
 19 	  parallel port Series 5 IDE protocol.  (Most BACKPACK drives made
 27 	tristate "MicroSolutions backpack (Series 6) protocol"
 31 	  parallel port Series 6 IDE protocol.  (Most BACKPACK drives made
 40 	tristate "DataStor Commuter protocol"
 44 	  protocol from DataStor.
 47 	tristate "DataStor EP-2000 protocol"
 [all …]
 
 | 
| /linux/drivers/bluetooth/ | 
| H A D | Kconfig | 60 	bool "Broadcom protocol support"65 	  The Broadcom protocol support enables firmware and patchram
 68 	  Say Y here to compile support for Broadcom protocol.
 71 	bool "MediaTek protocol support"
 76 	  The MediaTek protocol support enables firmware download
 80 	  Say Y here to compile support for MediaTek protocol.
 83 	bool "Realtek protocol support"
 88 	  The Realtek protocol support enables firmware and configuration
 91 	  Say Y here to compile support for Realtek protocol.
 126 	bool "UART (H4) protocol support"
 [all …]
 
 | 
| /linux/tools/testing/selftests/tc-testing/tc-tests/infra/ | 
| H A D | actions.json | 16 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…18         "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
 19         "matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*",
 37             "$TC action add action mpls pop protocol ipv4 index 1"
 39 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
 41         "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
 42         "matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*",
 62 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
 64         "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
 65         "matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*",
 [all …]
 
 | 
| /linux/tools/testing/selftests/net/forwarding/ | 
| H A D | tc_flower.sh | 44 	tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \46 	tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
 58 	tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
 59 	tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
 70 	tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
 72 	tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
 84 	tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
 85 	tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
 94 	tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
 96 	tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
 [all …]
 
 | 
| H A D | tc_actions.sh | 60 	local protocol=$266 	tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
 75 	tc filter add dev $swp1 ingress protocol $protocol pref 1 handle 101 \
 85 	tc filter del dev $swp1 ingress protocol $protocol pref 1 handle 101 \
 87 	tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
 96 	tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \
 105 	tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
 117 	tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower
 118 	tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
 131 	tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
 [all …]
 
 | 
| H A D | tc_chains.sh | 38 	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 …]
 
 | 
| /linux/tools/testing/selftests/drivers/net/mlxsw/ | 
| H A D | tc_restrictions.sh | 47 	tc filter add block 22 protocol ip pref 1 handle 101 flower \59 	tc filter del block 22 protocol ip pref 1 handle 101 flower
 64 	tc filter add block 22 protocol ip pref 1 handle 101 flower \
 73 	tc filter add block 22 protocol ip pref 1 handle 101 flower \
 77 	tc filter del block 22 protocol ip pref 1 handle 101 flower
 95 	tc filter add block 22 protocol ip pref 1 handle 101 flower \
 108 	tc filter del block 22 protocol ip pref 1 handle 101 flower
 113 	tc filter add block 22 protocol ip pref 1 handle 101 flower \
 123 	tc filter add block 22 protocol ip pref 1 handle 101 flower \
 130 	tc filter add block 22 protocol ip pref 1 handle 101 flower \
 [all …]
 
 | 
| /linux/include/trace/events/ | 
| H A D | smbus.h | 26 		 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 …]
 
 | 
| /linux/net/ax25/ | 
| H A D | ax25_iface.c | 57 	struct ax25_protocol *protocol;  in ax25_protocol_release()  local60 	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 …]
 
 | 
| /linux/include/uapi/linux/ | 
| H A D | lirc.h | 147  * struct lirc_scancode - decoded scancode with protocol for use with154  *	depending on the protocol
 173  * enum rc_proto - the Remote Controller protocol
 175  * @RC_PROTO_UNKNOWN: Protocol not known
 176  * @RC_PROTO_OTHER: Protocol known but proprietary
 177  * @RC_PROTO_RC5: Philips RC5 protocol
 178  * @RC_PROTO_RC5X_20: Philips RC5x 20 bit protocol
 180  * @RC_PROTO_JVC: JVC protocol
 181  * @RC_PROTO_SONY12: Sony 12 bit protocol
 182  * @RC_PROTO_SONY15: Sony 15 bit protocol
 [all …]
 
 | 
| H A D | ppp_defs.h | 37  * Protocol field values.39 #define PPP_IP		0x21	/* Internet Protocol */
 40 #define PPP_AT		0x29	/* AppleTalk Protocol */
 41 #define PPP_IPX		0x2b	/* IPX protocol */
 44 #define PPP_MP		0x3d	/* Multilink protocol */
 45 #define PPP_IPV6	0x57	/* Internet Protocol Version 6 */
 48 #define PPP_MPLS_UC	0x0281	/* Multi Protocol Label Switching - Unicast */
 49 #define PPP_MPLS_MC	0x0283	/* Multi Protocol Label Switching - Multicast */
 50 #define PPP_IPCP	0x8021	/* IP Control Protocol */
 51 #define PPP_ATCP	0x8029	/* AppleTalk Control Protocol */
 [all …]
 
 | 
| /linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ | 
| H A D | tc_flower.sh | 101 	tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \110 	tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
 125 	tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
 133 	tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
 147 	tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
 149 	tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
 158 	tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
 166 	tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \
 175 	tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
 183 	tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower
 [all …]
 
 | 
| /linux/net/ipv4/netfilter/ | 
| H A D | nf_socket_ipv4.c | 20 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()
 90 	u8 protocol; in nf_sk_lookup_slow_v4()
 97 	if (iph->protocol == IPPROTO_UDP || iph->protocol  in nf_sk_lookup_slow_v4()
 91 u8 protocol; nf_sk_lookup_slow_v4()  local
 [all...]
 | 
| /linux/net/ipv6/ | 
| H A D | xfrm6_protocol.c | 2 /* xfrm6_protocol.c - Generic xfrm protocol multiplexer for ipv6.19 #include <net/protocol.h>
 27 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
 [all …]
 
 | 
| /linux/net/netfilter/ | 
| H A D | utils.c | 11 		       unsigned int dataoff, u8 protocol)  in nf_ip_checksum()  argument20 		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 …]
 
 | 
| /linux/drivers/media/rc/img-ir/ | 
| H A D | Kconfig | 31 	bool "NEC protocol support"39 	bool "JVC protocol support"
 42 	   Say Y here to enable support for the JVC protocol in the ImgTec
 46 	bool "Sony protocol support"
 49 	   Say Y here to enable support for the Sony protocol in the ImgTec
 53 	bool "Sharp protocol support"
 56 	   Say Y here to enable support for the Sharp protocol in the ImgTec
 60 	bool "Sanyo protocol support"
 63 	   Say Y here to enable support for the Sanyo protocol (used by Sanyo,
 67 	bool "Philips RC5 protocol support"
 [all …]
 
 | 
| /linux/drivers/firmware/arm_scmi/ | 
| H A D | protocols.h | 3  * System Control and Management Interface (SCMI) Message Protocol75  * @protocol_id: The identifier of the protocol used to send @id message
 100  *	message. If request-ACK protocol is used, we can reuse the same
 159  * struct scmi_protocol_handle  - Reference to an initialized protocol instance
 163  *	  can be used by the protocol implementation to generate SCMI messages.
 164  * @set_priv: A method to set protocol private data for this instance.
 165  * @get_priv: A method to get protocol private data previously set.
 167  * This structure represents a protocol initialized against specific SCMI
 169  * - as a parameter fed from the core to the protocol initialization code so
 171  *   messages exclusively for the specific underlying protocol instance.
 [all …]
 
 | 
| /linux/Documentation/userspace-api/media/rc/ | 
| H A D | rc-protos.rst | 9 IR is encoded as a series of pulses and spaces, using a protocol. These12 across different devices for a given protocol.
 27 how scancodes are encoded for each protocol.
 32 This IR protocol uses manchester encoding to encode 14 bits. There is a
 36 protocol, or the manchester BPF decoder.
 182 The jvc protocol is much like nec, without the inverted values. It is
 191 The sony protocol is a pulse-width encoding. There are three variants,
 218 The sony protocol is a pulse-width encoding. There are three variants,
 245 The sony protocol is a pulse-width encoding. There are three variants,
 278 The nec protocol encodes an 8 bit address and an 8 bit command. It is
 [all …]
 
 | 
| /linux/drivers/net/ethernet/intel/iavf/ | 
| H A D | iavf_adv_rss.c | 9  * iavf_fill_adv_rss_ip4_hdr - fill the IPv4 RSS protocol header10  * @hdr: the virtchnl message protocol header data structure
 11  * @hash_flds: the RSS configuration protocol hash fields
 26  * iavf_fill_adv_rss_ip6_hdr - fill the IPv6 RSS protocol header
 27  * @hdr: the virtchnl message protocol header data structure
 28  * @hash_flds: the RSS configuration protocol hash fields
 43  * iavf_fill_adv_rss_tcp_hdr - fill the TCP RSS protocol header
 44  * @hdr: the virtchnl message protocol header data structure
 45  * @hash_flds: the RSS configuration protocol hash fields
 60  * iavf_fill_adv_rss_udp_hdr - fill the UDP RSS protocol header
 [all …]
 
 | 
| /linux/net/ceph/ | 
| H A D | auth.c | 17  * get protocol handler34 		pr_err("bad auth protocol %d\n", proto);  in init_protocol()
 118  * Initiate protocol negotiation with monitor.  Include entity name
 134 	ceph_encode_32(&p, CEPH_AUTH_UNKNOWN);  /* no protocol, yet */  in ceph_auth_build_hello()
 173 		/* struct ceph_mon_request_header + protocol */  in build_request()
 177 		ceph_encode_32_safe(&p, end, ac->protocol, e_range);  in build_request()
 183 		pr_err("auth protocol '%s' building request failed: %d\n",  in build_request()
 184 		       ceph_auth_proto_name(ac->protocol), ret);  in build_request()
 204 	int protocol;  in ceph_handle_auth_reply()  local
 216 	protocol = ceph_decode_32(&p);  in ceph_handle_auth_reply()
 [all …]
 
 |