Home
last modified time | relevance | path

Searched full:protocol (Results 1 – 25 of 2704) sorted by relevance

12345678910>>...109

/linux/tools/testing/selftests/tc-testing/tc-tests/filters/
H A Dmatchall.json4 "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 Dflow.json15 …"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 Dbpf.json15 …"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 Du32.json15 …"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 Dfw.json17 "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 DKconfig3 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/tools/testing/selftests/net/forwarding/
H A Dtc_flower.sh44 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 Dtc_actions.sh60 local protocol=$2
66 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 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 …]
/linux/tools/testing/selftests/tc-testing/tc-tests/infra/
H A Dactions.json16 …"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/drivers/net/mlxsw/
H A Dtc_restrictions.sh47 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 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 …]
/linux/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 …]
/linux/include/uapi/linux/
H A Dlirc.h147 * struct lirc_scancode - decoded scancode with protocol for use with
154 * 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 Dppp_defs.h37 * 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 Dtc_flower.sh101 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 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 …]
/linux/net/ipv6/
H A Dxfrm6_protocol.c2 /* 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 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 …]
/linux/drivers/firmware/arm_scmi/
H A Dprotocols.h3 * System Control and Management Interface (SCMI) Message Protocol
75 * @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 …]
H A Dbus.c3 * System Control and Management Interface (SCMI) Message Protocol bus layer
42 * @id_table: A protocol/name pair descriptor for the device to be created.
47 * The requested device name MUST NOT be already existent for this protocol;
60 pr_debug("Requesting SCMI device (%s) for protocol %x\n", in scmi_protocol_device_request()
71 * Find the matching protocol rdev list and then search of any in scmi_protocol_device_request()
102 * related protocol list, eventually creating such head if not already in scmi_protocol_device_request()
153 * @id_table: A protocol/name pair descriptor for the device to be unrequested.
164 pr_debug("Unrequesting SCMI device (%s) for protocol %x\n", in scmi_protocol_device_unrequest()
378 pr_debug("(%s) Destroying SCMI device '%s' for protocol 0x%x (%s)\n", in __scmi_device_destroy()
392 int protocol, const char *name) in __scmi_device_create() argument
[all …]
/linux/drivers/media/rc/img-ir/
H A DKconfig31 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/Documentation/userspace-api/media/rc/
H A Drc-protos.rst9 IR is encoded as a series of pulses and spaces, using a protocol. These
12 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/Documentation/devicetree/bindings/firmware/
H A Darm,scmi.yaml8 title: System Control and Management Interface (SCMI) Message Protocol
159 protocol@11:
160 $ref: '#/$defs/protocol-node'
173 protocol@12:
174 $ref: '#/$defs/protocol-node'
181 protocol@13:
182 $ref: '#/$defs/protocol-node'
202 protocol@14:
203 $ref: '#/$defs/protocol-node'
216 protocol@15:
[all …]
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_adv_rss.c9 * iavf_fill_adv_rss_ip4_hdr - fill the IPv4 RSS protocol header
10 * @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 …]

12345678910>>...109