| /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/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=$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 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() 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 D | lirc.h | 147 * 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 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/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 …]
|
| H A D | protocol.c | 3 * INET An implementation of the TCP/IP protocol suite for the LINUX 7 * PF_INET6 protocol dispatch tables. 22 #include <net/protocol.h> 28 int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char protocol) in inet6_add_protocol() argument 30 return !cmpxchg((const struct inet6_protocol **)&inet6_protos[protocol], in inet6_add_protocol() 35 int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char protocol) in inet6_del_protocol() argument 39 ret = (cmpxchg((const struct inet6_protocol **)&inet6_protos[protocol], in inet6_del_protocol() 52 int inet6_add_offload(const struct net_offload *prot, unsigned char protocol) in inet6_add_offload() argument 54 return !cmpxchg((const struct net_offload **)&inet6_offloads[protocol], in inet6_add_offload() 59 int inet6_del_offload(const struct net_offload *prot, unsigned char protocol) in inet6_del_offload() argument [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/net/netfilter/ |
| H A D | utils.c | 11 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 D | protocols.h | 3 * 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 …]
|
| /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. 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/arch/x86/ |
| H A D | boot.rst | 4 The Linux/x86 Boot Protocol 14 Currently, the following versions of the Linux/x86 boot protocol exist. 20 Protocol 2.00 (Kernel 1.3.73) Added bzImage and initrd support, as 26 Protocol 2.01 (Kernel 1.3.76) Added a heap overrun warning. 28 Protocol 2.02 (Kernel 2.4.0-test3-pre3) New command line protocol. 35 Protocol 2.03 (Kernel 2.4.18-pre1) Explicitly makes the highest possible 38 Protocol 2.04 (Kernel 2.6.14) Extend the syssize field to four bytes. 40 Protocol 2.05 (Kernel 2.6.20) Make protected mode kernel relocatable. 43 Protocol 2.06 (Kernel 2.6.22) Added a field that contains the size of 46 Protocol 2.07 (Kernel 2.6.24) Added paravirtualised boot protocol. [all …]
|
| /linux/net/ceph/ |
| H A D | auth.c | 17 * get protocol handler 34 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 …]
|
| /linux/net/can/ |
| H A D | Kconfig | 10 communications protocol. Development of the CAN bus started in 11 1983 at Robert Bosch GmbH, and the protocol was officially 14 applications. More information on the CAN network protocol family 24 tristate "Raw CAN Protocol (raw access with CAN-ID filtering)" 27 The raw CAN protocol option offers access to the CAN bus via 29 most cases where no higher level protocol is being used. The raw 31 To receive/send raw CAN messages, use AF_CAN with protocol CAN_RAW. 34 tristate "Broadcast Manager CAN Protocol (with content filtering)" 43 To use the Broadcast Manager, use AF_CAN with protocol CAN_BCM. 59 tristate "ISO 15765-2 CAN transport protocol" [all …]
|