/linux-6.3-rc2/net/ax25/ |
A D | ax25_iface.c | 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() 69 while (protocol != NULL && protocol->next != NULL) { in ax25_protocol_release() 71 protocol->next = protocol->next->next; in ax25_protocol_release() 75 protocol = protocol->next; in ax25_protocol_release() 164 for (protocol = protocol_list; protocol != NULL; protocol = protocol->next) in ax25_protocol_function() 165 if (protocol->pid == pid) { in ax25_protocol_function() 166 res = protocol->func; in ax25_protocol_function() 206 for (protocol = protocol_list; protocol != NULL; protocol = protocol->next) in ax25_protocol_is_registered() [all …]
|
/linux-6.3-rc2/include/trace/events/ |
A D | smbus.h | 30 protocol == I2C_SMBUS_PROC_CALL || 38 __field(__u32, protocol ) 45 __entry->protocol = protocol; 47 switch (protocol) { 104 __field(__u32, protocol ) 111 __entry->protocol = protocol; 146 __field(__u32, protocol ) 153 __entry->protocol = protocol; 155 switch (protocol) { 212 __field(__u32, protocol ) [all …]
|
/linux-6.3-rc2/tools/testing/selftests/net/forwarding/ |
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 110 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower 118 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower [all …]
|
A D | tc_actions.sh | 57 local protocol=$2 63 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ 72 tc filter add dev $swp1 ingress protocol $protocol pref 1 handle 101 \ 82 tc filter del dev $swp1 ingress protocol $protocol pref 1 handle 101 \ 84 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower 114 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower 115 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower 152 tc filter del dev $swp1 ingress protocol ip pref 3 handle 103 flower 153 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower 154 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower [all …]
|
A D | tc_chains.sh | 38 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 128 tc chain add dev $h2 ingress protocol ip \ 130 tc chain add dev $h2 ingress chain 1 protocol ip \ 133 tc filter add dev $h2 ingress protocol ip pref 1 handle 1101 \ 137 tc filter add dev $h2 ingress protocol ip pref 1 handle 1102 \ 154 tc filter del dev $h2 ingress protocol ip pref 1 handle 1102 \ [all …]
|
A D | router_multicast.sh | 266 tc filter del dev $h3 ingress protocol ip pref 1 handle 133 flower 267 tc filter del dev $h2 ingress protocol ip pref 1 handle 122 flower 323 tc filter add dev $h1 ingress protocol ip pref 1 handle 1 flower \ 325 tc filter add dev $h2 ingress protocol ip pref 1 handle 1 flower \ 327 tc filter add dev $h3 ingress protocol ip pref 1 handle 1 flower \ 356 tc filter del dev $rp3 ingress protocol ip pref 1 handle 1 flower 357 tc filter del dev $h3 ingress protocol ip pref 1 handle 1 flower 358 tc filter del dev $h2 ingress protocol ip pref 1 handle 1 flower 359 tc filter del dev $h1 ingress protocol ip pref 1 handle 1 flower 448 tc filter del dev $h3 ingress protocol ip pref 1 handle 1 flower [all …]
|
A D | tc_police.sh | 132 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ 152 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower 164 tc filter del dev $rp1 ingress protocol ip pref 1 handle 101 flower 176 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower 227 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower 228 tc filter del dev $rp1 ingress protocol ip pref 1 handle 101 flower 229 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower 283 tc filter del dev $h3 ingress protocol ip pref 1 handle 101 flower 284 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower 324 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower [all …]
|
/linux-6.3-rc2/drivers/pnp/ |
A D | core.c | 37 list_del(&protocol->protocol_list); in pnp_remove_protocol() 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() 74 ret = device_register(&protocol->dev); in pnp_register_protocol() 76 pnp_remove_protocol(protocol); in pnp_register_protocol() 87 pnp_remove_protocol(protocol); in pnp_unregister_protocol() 88 device_unregister(&protocol->dev); in pnp_unregister_protocol() 141 dev->protocol = protocol; in pnp_alloc_dev() 187 else if (dev->protocol->can_wakeup) in __pnp_add_device() [all …]
|
/linux-6.3-rc2/net/ipv4/netfilter/ |
A D | nf_socket_ipv4.c | 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() 114 doff = iph->protocol == IPPROTO_TCP ? in nf_sk_lookup_slow_v4() 133 ((iph->protocol != IPPROTO_ICMP && in nf_sk_lookup_slow_v4() [all …]
|
/linux-6.3-rc2/net/netfilter/ |
A D | utils.c | 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 65 unsigned int dataoff, u8 protocol) in nf_ip6_checksum() argument 87 protocol, in nf_ip6_checksum() 99 u8 protocol) in nf_ip6_checksum_partial() argument 115 protocol, in nf_ip6_checksum_partial() 151 protocol); in nf_checksum_partial() [all …]
|
/linux-6.3-rc2/drivers/ata/pata_parport/ |
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 44 protocol from DataStor. 51 protocol from DataStor 54 tristate "FIT TD-2000 protocol" 62 tristate "FIT TD-3000 protocol" 66 protocol from Fidelity International Technology. This protocol is 88 tristate "Shuttle EPIA protocol" 108 protocol. [all …]
|
/linux-6.3-rc2/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
A D | tc_flower.sh | 124 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower 285 tc filter del dev $h2 ingress protocol ip pref $index \ 881 tc chain add dev $h2 ingress chain 1 protocol ip flower \ 884 tc chain add dev $h2 ingress chain 2 protocol ip flower \ 888 tc chain add dev $h2 ingress chain 3 protocol ip flower \ 900 tc filter add dev $h2 ingress chain $i protocol ip \ 907 tc filter add dev $h2 ingress protocol ip \ 910 tc filter add dev $h2 ingress chain 1 protocol ip \ 913 tc filter add dev $h2 ingress chain 2 protocol ip \ 916 tc filter add dev $h2 ingress chain 3 protocol ip \ [all …]
|
/linux-6.3-rc2/tools/testing/selftests/drivers/net/mlxsw/ |
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 …]
|
A D | tc_sample.sh | 250 tc filter del dev $rp1 ingress protocol all pref 1 handle 101 matchall 267 tc filter del dev $rp1 ingress protocol all pref 1 handle 101 matchall 295 tc filter del dev $rp1 ingress protocol all pref 1 handle 101 matchall 303 tc filter del dev $rp1 ingress protocol all pref 2 handle 102 matchall 570 tc filter del dev $rp1 ingress protocol ip pref 2 handle 102 flower 571 tc filter del dev $rp1 ingress protocol ip pref 1 handle 101 flower 585 tc filter add dev $port $bind protocol ip pref 1 handle 101 flower \ 603 tc filter del dev $port $bind protocol ip pref 1 handle 101 flower 605 tc filter add dev $port $bind protocol ip pref 1 handle 101 flower \ 621 tc filter del dev $port $bind protocol ip pref 1 handle 101 flower [all …]
|
/linux-6.3-rc2/tools/testing/selftests/drivers/net/dsa/ |
A D | tc_actions.sh | 57 local protocol=$2 63 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ 72 tc filter add dev $swp1 ingress protocol $protocol pref 1 handle 101 \ 82 tc filter del dev $swp1 ingress protocol $protocol pref 1 handle 101 \ 84 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower 114 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower 115 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower 152 tc filter del dev $swp1 ingress protocol ip pref 3 handle 103 flower 153 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower 154 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower [all …]
|
/linux-6.3-rc2/net/ipv4/ |
A D | xfrm4_protocol.c | 28 switch (protocol) { in proto_handlers() 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() 231 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm4_protocol_register() 235 for (pprev = proto_handlers(protocol); in xfrm4_protocol_register() 254 if (inet_add_protocol(netproto(protocol), protocol)) { in xfrm4_protocol_register() 265 unsigned char protocol) in xfrm4_protocol_deregister() argument 271 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm4_protocol_deregister() 276 for (pprev = proto_handlers(protocol); in xfrm4_protocol_deregister() [all …]
|
A D | protocol.c | 32 int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_add_protocol() argument 34 return !cmpxchg((const struct net_protocol **)&inet_protos[protocol], in inet_add_protocol() 39 int inet_add_offload(const struct net_offload *prot, unsigned char protocol) in inet_add_offload() argument 41 return !cmpxchg((const struct net_offload **)&inet_offloads[protocol], in inet_add_offload() 46 int inet_del_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_del_protocol() argument 50 ret = (cmpxchg((const struct net_protocol **)&inet_protos[protocol], in inet_del_protocol() 59 int inet_del_offload(const struct net_offload *prot, unsigned char protocol) in inet_del_offload() argument 63 ret = (cmpxchg((const struct net_offload **)&inet_offloads[protocol], in inet_del_offload()
|
/linux-6.3-rc2/include/uapi/linux/usb/ |
A D | audio.h | 273 int protocol) in uac_mixer_unit_wChannelConfig() argument 286 int protocol) in uac_mixer_unit_iChannelNames() argument 296 switch (protocol) { in uac_mixer_unit_bmControls() 393 switch (protocol) { in uac_processing_unit_bControlSize() 408 switch (protocol) { in uac_processing_unit_bmControls() 425 switch (protocol) { in uac_processing_unit_iProcessing() 437 int protocol) in uac_processing_unit_specific() argument 441 switch (protocol) { in uac_processing_unit_specific() 462 switch (protocol) { in uac_extension_unit_bControlSize() 475 int protocol) in uac_extension_unit_iExtension() argument [all …]
|
/linux-6.3-rc2/net/ipv6/ |
A D | xfrm6_protocol.c | 29 switch (protocol) { in proto_handlers() 55 for_each_protocol_rcu(*proto_handlers(protocol), handler) in xfrm6_rcv_cb() 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() 251 for (pprev = proto_handlers(protocol); in xfrm6_protocol_register() 270 if (inet6_add_protocol(netproto(protocol), protocol)) { in xfrm6_protocol_register() 281 unsigned char protocol) in xfrm6_protocol_deregister() argument 287 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm6_protocol_deregister() 292 for (pprev = proto_handlers(protocol); in xfrm6_protocol_deregister() [all …]
|
A D | protocol.c | 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 63 ret = (cmpxchg((const struct net_offload **)&inet6_offloads[protocol], in inet6_del_offload()
|
/linux-6.3-rc2/include/linux/ |
A D | virtio_net.h | 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() 19 return protocol == cpu_to_be16(ETH_P_IP) || in virtio_net_hdr_match_proto() 20 protocol == cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_match_proto() 29 if (skb->protocol) in virtio_net_hdr_set_proto() 36 skb->protocol = cpu_to_be16(ETH_P_IP); in virtio_net_hdr_set_proto() 39 skb->protocol = cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_set_proto() 113 if (!skb->protocol) { in virtio_net_hdr_to_skb() 116 if (!protocol) in virtio_net_hdr_to_skb() 121 skb->protocol = protocol; in virtio_net_hdr_to_skb() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/net/ |
A D | reuseport_bpf.c | 32 int protocol; member 467 .protocol = SOCK_DGRAM, in main() 474 .protocol = SOCK_DGRAM, in main() 481 .protocol = SOCK_DGRAM, in main() 488 .protocol = SOCK_DGRAM, in main() 494 .protocol = SOCK_DGRAM, in main() 498 .protocol = SOCK_DGRAM, in main() 505 .protocol = SOCK_DGRAM, in main() 512 .protocol = SOCK_DGRAM, in main() 519 .protocol = SOCK_DGRAM, in main() [all …]
|
/linux-6.3-rc2/security/tomoyo/ |
A D | network.c | 26 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() 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() 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() 477 r.param.inet_network.protocol = address->protocol; in tomoyo_inet_entry() 569 r.param.unix_network.protocol = address->protocol; in tomoyo_unix_entry() 668 address.protocol = type; in tomoyo_socket_listen_permission() [all …]
|
/linux-6.3-rc2/security/selinux/ |
A D | netport.c | 83 static struct sel_netport *sel_netport_find(u8 protocol, u16 pnum) in sel_netport_find() argument 90 if (port->psec.port == pnum && port->psec.protocol == protocol) in sel_netport_find() 137 static int sel_netport_sid_slow(u8 protocol, u16 pnum, u32 *sid) in sel_netport_sid_slow() argument 144 port = sel_netport_find(protocol, pnum); in sel_netport_sid_slow() 151 ret = security_port_sid(&selinux_state, protocol, pnum, sid); in sel_netport_sid_slow() 157 new->psec.protocol = protocol; in sel_netport_sid_slow() 183 int sel_netport_sid(u8 protocol, u16 pnum, u32 *sid) in sel_netport_sid() argument 188 port = sel_netport_find(protocol, pnum); in sel_netport_sid() 196 return sel_netport_sid_slow(protocol, pnum, sid); in sel_netport_sid()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/firmware/ |
A D | arm,scmi.yaml | 102 protocol@11: 103 $ref: '#/$defs/protocol-node' 116 protocol@13: 117 $ref: '#/$defs/protocol-node' 130 protocol@14: 131 $ref: '#/$defs/protocol-node' 144 protocol@15: 158 protocol@16: 172 protocol@17: 207 protocol@18: [all …]
|