Home
last modified time | relevance | path

Searched refs:protocol (Results 1 – 25 of 1832) sorted by relevance

12345678910>>...74

/linux/net/ax25/
A Dax25_iface.c60 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/tools/testing/selftests/net/forwarding/
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
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 Dtc_actions.sh56 local protocol=$2
62 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
71 tc filter add dev $swp1 ingress protocol $protocol pref 1 handle 101 \
81 tc filter del dev $swp1 ingress protocol $protocol pref 1 handle 101 \
83 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
113 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower
114 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
151 tc filter del dev $swp1 ingress protocol ip pref 3 handle 103 flower
152 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower
153 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
[all …]
A Dtc_chains.sh38 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 Dtc_police.sh130 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
150 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
162 tc filter del dev $rp1 ingress protocol ip pref 1 handle 101 flower
174 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower
225 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower
226 tc filter del dev $rp1 ingress protocol ip pref 1 handle 101 flower
227 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
281 tc filter del dev $h3 ingress protocol ip pref 1 handle 101 flower
282 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
322 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
[all …]
/linux/include/trace/events/
A Dsmbus.h30 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/drivers/pnp/
A Dcore.c37 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 Dnf_socket_ipv4.c44 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/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
A Dtc_flower.sh124 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/net/netfilter/
A Dutils.c20 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/tools/testing/selftests/drivers/net/mlxsw/
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 …]
A Dtc_sample.sh250 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/net/ipv4/
A Dxfrm4_protocol.c28 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 Dprotocol.c32 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 Daudio.h273 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/include/linux/
A Dvirtio_net.h14 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()
18 return protocol == cpu_to_be16(ETH_P_IP) || in virtio_net_hdr_match_proto()
19 protocol == cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_match_proto()
28 if (skb->protocol) in virtio_net_hdr_set_proto()
34 skb->protocol = cpu_to_be16(ETH_P_IP); in virtio_net_hdr_set_proto()
37 skb->protocol = cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_set_proto()
106 if (!skb->protocol) { in virtio_net_hdr_to_skb()
109 if (!protocol) in virtio_net_hdr_to_skb()
114 skb->protocol = protocol; in virtio_net_hdr_to_skb()
[all …]
/linux/net/ipv6/
A Dxfrm6_protocol.c29 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 Dprotocol.c28 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/security/tomoyo/
A Dnetwork.c26 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 Dreuseport_bpf.c34 int protocol; member
469 .protocol = SOCK_DGRAM, in main()
476 .protocol = SOCK_DGRAM, in main()
483 .protocol = SOCK_DGRAM, in main()
490 .protocol = SOCK_DGRAM, in main()
496 .protocol = SOCK_DGRAM, in main()
500 .protocol = SOCK_DGRAM, in main()
507 .protocol = SOCK_DGRAM, in main()
514 .protocol = SOCK_DGRAM, in main()
521 .protocol = SOCK_DGRAM, in main()
[all …]
/linux/drivers/bluetooth/
A DKconfig45 bool "Broadcom protocol support"
56 bool "MediaTek protocol support"
67 bool "Realtek protocol support"
109 bool "UART (H4) protocol support"
134 bool "BCSP protocol support"
159 bool "HCILL protocol support"
184 bool "Intel protocol support"
196 bool "Broadcom protocol support"
210 bool "Realtek protocol support"
238 bool "Intel AG6XX protocol support"
[all …]
/linux/tools/testing/selftests/bpf/progs/
A Dtest_tc_tunnel.c52 __be16 protocol; member
124 iph_inner.protocol = iph6_inner.nexthdr; in __encap_ipv4()
173 h_outer.l4hdr.gre.protocol = bpf_htons(l2_proto); in __encap_ipv4()
226 h_outer.ip.protocol = encap_proto; in __encap_ipv4()
304 h_outer.l4hdr.gre.protocol = bpf_htons(l2_proto); in __encap_ipv6()
375 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_ipip_none()
384 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_gre_none()
393 if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) in __encap_gre_mpls()
543 switch (bpf_ntohs(greh.protocol)) { in decap_internal()
591 iph_outer.protocol); in decap_ipv4()
[all …]
/linux/Documentation/userspace-api/media/rc/
A Drc-protos.rst12 across different devices for a given protocol.
27 how scancodes are encoded for each protocol.
36 protocol, or the manchester BPF decoder.
332 The sanyo protocol is like the nec protocol, but with 13 bits address
365 as in the protocol. There is also a toggle bit.
373 as in the protocol. There is also a toggle bit.
415 This is not an IR protocol, this is a protocol over CEC. The CEC
424 The protocol
431 The rc-mm protocol is described here
438 The rc-mm protocol is described here
[all …]
/linux/security/selinux/
A Dnetport.c83 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/drivers/block/paride/
A DKconfig98 tristate "ATEN EH-100 protocol"
102 protocol. This protocol is used in some inexpensive low performance
159 tristate "DataStor EP-2000 protocol"
170 tristate "FIT TD-2000 protocol"
183 tristate "FIT TD-3000 protocol"
187 protocol from Fidelity International Technology. This protocol is
218 tristate "Shuttle EPIA protocol"
242 tristate "FreeCom power protocol"
266 tristate "KT PHd protocol"
279 tristate "OnSpec 90c20 protocol"
[all …]

Completed in 720 milliseconds

12345678910>>...74