Home
last modified time | relevance | path

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

12345678910>>...116

/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 Dbasic.json15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm…
17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic",
18 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1 flowid 1:1.*cmp\\(u8 at…
37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm…
39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic",
40 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1 flowid 1:1.*cmp\\(u8 at…
59 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm…
61 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic",
62 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1.*cmp\\(u16 at 0 layer 0…
81 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm…
[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 Dcgroup.json15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 cgroup match 'c…
18 …"matchPattern": "^filter protocol ip pref [0-9]+ cgroup chain [0-9]+.*handle 0x1.*cmp\\(u8 at 0 la…
37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 cgroup match 'c…
40 …"matchPattern": "^filter protocol ip pref [0-9]+ cgroup chain [0-9]+.*handle 0x1.*cmp\\(u8 at 0 la…
59 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 cgroup match 'c…
62 …"matchPattern": "^filter protocol ip pref [0-9]+ cgroup chain [0-9]+.*handle 0x1.*cmp\\(u16 at 0 l…
81 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 cgroup match 'c…
84 …"matchPattern": "^filter protocol ip pref [0-9]+ cgroup chain [0-9]+.*handle 0x1.*cmp\\(u32 at 4 l…
103 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 0xab protocol ip prio 11 cgroup matc…
106 …"matchPattern": "^filter protocol ip pref 11 cgroup.*handle 0xab.*cmp\\(u8 at 0 layer 1 mask 0xff …
[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/drivers/bluetooth/
H A DKconfig60 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/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 …]
/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/drivers/pnp/
H A Dcore.c3 * core.c - contains all core device and protocol registration functions
34 static void pnp_remove_protocol(struct pnp_protocol *protocol) in pnp_remove_protocol() argument
37 list_del(&protocol->protocol_list); in pnp_remove_protocol()
42 * pnp_register_protocol - adds a pnp protocol to the pnp layer
43 * @protocol: pointer to the corresponding pnp_protocol structure
47 int pnp_register_protocol(struct pnp_protocol *protocol) in pnp_register_protocol() argument
52 INIT_LIST_HEAD(&protocol->devices); in pnp_register_protocol()
53 INIT_LIST_HEAD(&protocol->cards); in pnp_register_protocol()
67 protocol->number = nodenum; in pnp_register_protocol()
68 dev_set_name(&protocol->dev, "pnp%d", nodenum); in pnp_register_protocol()
[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 …]
/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/ipv4/
H A Dxfrm4_protocol.c2 /* xfrm4_protocol.c - Generic xfrm protocol multiplexer.
18 #include <net/protocol.h>
26 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()
203 static inline const struct net_protocol *netproto(unsigned char protocol) in netproto() argument
205 switch (protocol) { in netproto()
218 unsigned char protocol) in xfrm4_protocol_register() argument
226 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm4_protocol_register()
[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/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/drivers/firmware/arm_scmi/
H A Dprotocols.h3 * System Control and Management Interface (SCMI) Message Protocol
73 * @protocol_id: The identifier of the protocol used to send @id message
98 * message. If request-ACK protocol is used, we can reuse the same
157 * struct scmi_protocol_handle - Reference to an initialized protocol instance
161 * can be used by the protocol implementation to generate SCMI messages.
162 * @set_priv: A method to set protocol private data for this instance.
163 * @get_priv: A method to get protocol private data previously set.
165 * This structure represents a protocol initialized against specific SCMI
167 * - as a parameter fed from the core to the protocol initialization code so
169 * messages exclusively for the specific underlying protocol instance.
[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 …]

12345678910>>...116