| /linux/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/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/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 | 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 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 198 tc filter del dev $h1 egress protocol ip pref 100 handle 100 flower 252 action vlan push id 100 protocol 0x8100 action goto chain 5 273 action vlan push id 10 protocol 0x8100 \ [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 …]
|
| A D | tc_flower_cfm.sh | 60 tc filter add dev $h2 ingress protocol cfm pref 1 handle 101 \ 62 tc filter add dev $h2 ingress protocol cfm pref 1 handle 102 \ 85 tc filter del dev $h2 ingress protocol cfm pref 1 handle 101 flower 86 tc filter del dev $h2 ingress protocol cfm pref 1 handle 102 flower 96 tc filter add dev $h2 ingress protocol cfm pref 1 handle 101 \ 98 tc filter add dev $h2 ingress protocol cfm pref 1 handle 102 \ 100 tc filter add dev $h2 ingress protocol cfm pref 1 handle 103 \ 131 tc filter del dev $h2 ingress protocol cfm pref 1 handle 101 flower 132 tc filter del dev $h2 ingress protocol cfm pref 1 handle 102 flower 143 tc filter add dev $h2 ingress protocol cfm pref 1 handle 101 \ [all …]
|
| /linux/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/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/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/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/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/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
| A D | tc_flower.sh | 286 tc filter del dev $h2 ingress protocol ip pref $index \ 882 tc chain add dev $h2 ingress chain 1 protocol ip flower \ 885 tc chain add dev $h2 ingress chain 2 protocol ip flower \ 901 tc filter add dev $h2 ingress chain $i protocol ip \ 908 tc filter add dev $h2 ingress protocol ip \ 911 tc filter add dev $h2 ingress chain 1 protocol ip \ 914 tc filter add dev $h2 ingress chain 2 protocol ip \ 917 tc filter add dev $h2 ingress chain 3 protocol ip \ 920 tc filter add dev $h2 ingress chain 4 protocol ip \ 1007 tc filter add dev $h2 ingress chain $i protocol ip \ [all …]
|
| /linux/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/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/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/include/linux/ |
| A D | virtio_net.h | 16 return protocol == cpu_to_be16(ETH_P_IP); in virtio_net_hdr_match_proto() 18 return protocol == cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_match_proto() 21 return protocol == cpu_to_be16(ETH_P_IP) || in virtio_net_hdr_match_proto() 22 protocol == cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_match_proto() 31 if (skb->protocol) in virtio_net_hdr_set_proto() 38 skb->protocol = cpu_to_be16(ETH_P_IP); in virtio_net_hdr_set_proto() 41 skb->protocol = cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_set_proto() 120 if (!skb->protocol) { in virtio_net_hdr_to_skb() 123 if (!protocol) in virtio_net_hdr_to_skb() 128 skb->protocol = protocol; in virtio_net_hdr_to_skb() [all …]
|
| /linux/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/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/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(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/drivers/bluetooth/ |
| A D | Kconfig | 60 bool "Broadcom protocol support" 71 bool "MediaTek protocol support" 83 bool "Realtek protocol support" 126 bool "UART (H4) protocol support" 151 bool "BCSP protocol support" 176 bool "HCILL protocol support" 201 bool "Intel protocol support" 213 bool "Broadcom protocol support" 227 bool "Realtek protocol support" 266 bool "Marvell protocol support" [all …]
|