Home
last modified time | relevance | path

Searched refs:protocol (Results 1 – 200 of 1331) sorted by relevance

1234567

/linux-4.1.27/net/ax25/
Dax25_iface.c60 struct ax25_protocol *protocol; in ax25_protocol_release() local
63 protocol = protocol_list; in ax25_protocol_release()
64 if (protocol == NULL) in ax25_protocol_release()
67 if (protocol->pid == pid) { in ax25_protocol_release()
68 protocol_list = protocol->next; in ax25_protocol_release()
72 while (protocol != NULL && protocol->next != NULL) { in ax25_protocol_release()
73 if (protocol->next->pid == pid) { in ax25_protocol_release()
74 protocol->next = protocol->next->next; in ax25_protocol_release()
78 protocol = protocol->next; in ax25_protocol_release()
164 struct ax25_protocol *protocol; in ax25_protocol_function() local
[all …]
/linux-4.1.27/drivers/pnp/
Dcore.c45 static void pnp_remove_protocol(struct pnp_protocol *protocol) in pnp_remove_protocol() argument
48 list_del(&protocol->protocol_list); in pnp_remove_protocol()
58 int pnp_register_protocol(struct pnp_protocol *protocol) in pnp_register_protocol() argument
63 INIT_LIST_HEAD(&protocol->devices); in pnp_register_protocol()
64 INIT_LIST_HEAD(&protocol->cards); in pnp_register_protocol()
78 protocol->number = nodenum; in pnp_register_protocol()
79 dev_set_name(&protocol->dev, "pnp%d", nodenum); in pnp_register_protocol()
81 list_add_tail(&protocol->protocol_list, &pnp_protocols); in pnp_register_protocol()
85 ret = device_register(&protocol->dev); in pnp_register_protocol()
87 pnp_remove_protocol(protocol); in pnp_register_protocol()
[all …]
Dcard.c156 struct pnp_card *pnp_alloc_card(struct pnp_protocol *protocol, int id, char *pnpid) in pnp_alloc_card() argument
165 card->protocol = protocol; in pnp_alloc_card()
168 card->dev.parent = &card->protocol->dev; in pnp_alloc_card()
169 dev_set_name(&card->dev, "%02x:%02x", card->protocol->number, card->number); in pnp_alloc_card()
250 list_add_tail(&card->protocol_list, &card->protocol->cards); in pnp_add_card()
300 dev->protocol->number, card->number, dev->number); in pnp_add_card_device()
/linux-4.1.27/net/ipv6/
Dxfrm6_protocol.c30 static inline struct xfrm6_protocol __rcu **proto_handlers(u8 protocol) in proto_handlers() argument
32 switch (protocol) { in proto_handlers()
49 int xfrm6_rcv_cb(struct sk_buff *skb, u8 protocol, int err) in xfrm6_rcv_cb() argument
53 struct xfrm6_protocol __rcu **head = proto_handlers(protocol); in xfrm6_rcv_cb()
58 for_each_protocol_rcu(*proto_handlers(protocol), handler) in xfrm6_rcv_cb()
171 static inline const struct inet6_protocol *netproto(unsigned char protocol) in netproto() argument
173 switch (protocol) { in netproto()
186 unsigned char protocol) in xfrm6_protocol_register() argument
194 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm6_protocol_register()
199 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm6_protocol_register()
[all …]
Dprotocol.c32 int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char protocol) in inet6_add_protocol() argument
34 return !cmpxchg((const struct inet6_protocol **)&inet6_protos[protocol], in inet6_add_protocol()
39 int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char protocol) in inet6_del_protocol() argument
43 ret = (cmpxchg((const struct inet6_protocol **)&inet6_protos[protocol], in inet6_del_protocol()
56 int inet6_add_offload(const struct net_offload *prot, unsigned char protocol) in inet6_add_offload() argument
58 return !cmpxchg((const struct net_offload **)&inet6_offloads[protocol], in inet6_add_offload()
63 int inet6_del_offload(const struct net_offload *prot, unsigned char protocol) in inet6_del_offload() argument
67 ret = (cmpxchg((const struct net_offload **)&inet6_offloads[protocol], in inet6_del_offload()
Daf_inet6.c100 static int inet6_create(struct net *net, struct socket *sock, int protocol, in inet6_create() argument
112 if (protocol < 0 || protocol >= IPPROTO_MAX) in inet6_create()
123 if (protocol == answer->protocol) { in inet6_create()
124 if (protocol != IPPROTO_IP) in inet6_create()
128 if (IPPROTO_IP == protocol) { in inet6_create()
129 protocol = answer->protocol; in inet6_create()
132 if (IPPROTO_IP == answer->protocol) in inet6_create()
147 PF_INET6, protocol, sock->type); in inet6_create()
154 PF_INET6, protocol); in inet6_create()
187 inet->inet_num = protocol; in inet6_create()
[all …]
Dnetfilter.c134 unsigned int dataoff, u_int8_t protocol) in nf_ip6_checksum() argument
144 skb->len - dataoff, protocol, in nf_ip6_checksum()
156 protocol, in nf_ip6_checksum()
168 u_int8_t protocol) in nf_ip6_checksum_partial() argument
177 return nf_ip6_checksum(skb, hook, dataoff, protocol); in nf_ip6_checksum_partial()
184 protocol, in nf_ip6_checksum_partial()
DKconfig7 tristate "The IPv6 protocol"
19 To compile this protocol support as a module, choose M here: the
144 Tunneling means encapsulating data of one protocol type within
145 another protocol and sending it over a channel that understands the
146 encapsulating protocol. This can be used with xfrm mode tunnel to give
147 the notion of a secure tunnel for IPSEC and then use routing protocol
157 Tunneling means encapsulating data of one protocol type within
158 another protocol and sending it over a channel that understands the
159 encapsulating protocol. This driver implements encapsulation of IPv6
201 Tunneling means encapsulating data of one protocol type within
[all …]
Dxfrm6_output.c103 XFRM_MODE_SKB_CB(skb)->protocol = ipv6_hdr(skb)->nexthdr; in xfrm6_extract_output()
117 skb->protocol = htons(ETH_P_IPV6); in xfrm6_prepare_output()
147 if (skb->protocol == htons(ETH_P_IPV6)) in __xfrm6_output()
/linux-4.1.27/include/trace/events/
Di2c.h153 char read_write, u8 command, int protocol,
155 TP_ARGS(adap, addr, flags, read_write, command, protocol, data),
157 protocol == I2C_SMBUS_PROC_CALL ||
158 protocol == I2C_SMBUS_BLOCK_PROC_CALL),
165 __field(__u32, protocol )
172 __entry->protocol = protocol;
174 switch (protocol) {
201 __print_symbolic(__entry->protocol,
221 char read_write, u8 command, int protocol),
222 TP_ARGS(adap, addr, flags, read_write, command, protocol),
[all …]
Dskb.h23 __field( unsigned short, protocol )
29 __entry->protocol = ntohs(skb->protocol);
33 __entry->skbaddr, __entry->protocol, __entry->location)
Dnet.h26 __field( u16, protocol )
46 __entry->protocol = ntohs(skb->protocol);
63 __entry->protocol, __entry->ip_summed, __entry->len,
154 __field( u16, protocol )
180 __entry->protocol = ntohs(skb->protocol);
197 __entry->vlan_tci, __entry->protocol, __entry->ip_summed,
/linux-4.1.27/net/ipv4/
Dprotocol.c35 int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_add_protocol() argument
39 protocol); in inet_add_protocol()
43 return !cmpxchg((const struct net_protocol **)&inet_protos[protocol], in inet_add_protocol()
48 int inet_add_offload(const struct net_offload *prot, unsigned char protocol) in inet_add_offload() argument
50 return !cmpxchg((const struct net_offload **)&inet_offloads[protocol], in inet_add_offload()
55 int inet_del_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_del_protocol() argument
59 ret = (cmpxchg((const struct net_protocol **)&inet_protos[protocol], in inet_del_protocol()
68 int inet_del_offload(const struct net_offload *prot, unsigned char protocol) in inet_del_offload() argument
72 ret = (cmpxchg((const struct net_offload **)&inet_offloads[protocol], in inet_del_offload()
Dxfrm4_protocol.c30 static inline struct xfrm4_protocol __rcu **proto_handlers(u8 protocol) in proto_handlers() argument
32 switch (protocol) { in proto_handlers()
49 int xfrm4_rcv_cb(struct sk_buff *skb, u8 protocol, int err) in xfrm4_rcv_cb() argument
53 struct xfrm4_protocol __rcu **head = proto_handlers(protocol); in xfrm4_rcv_cb()
197 static inline const struct net_protocol *netproto(unsigned char protocol) in netproto() argument
199 switch (protocol) { in netproto()
212 unsigned char protocol) in xfrm4_protocol_register() argument
220 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm4_protocol_register()
225 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm4_protocol_register()
229 for (pprev = proto_handlers(protocol); in xfrm4_protocol_register()
[all …]
Dgre_offload.c27 __be16 protocol = skb->protocol; in gre_gso_segment() local
60 skb->protocol = greh->protocol; in gre_gso_segment()
75 skb_gso_error_unwind(skb, protocol, ghl, mac_offset, mac_len); in gre_gso_segment()
113 skb->protocol = protocol; in gre_gso_segment()
149 type = greh->protocol; in gre_gro_receive()
199 greh2->protocol != greh->protocol) { in gre_gro_receive()
238 type = greh->protocol; in gre_gro_complete()
Dip_input.c156 u8 protocol = ip_hdr(skb)->protocol; in ip_call_ra_chain() local
166 if (sk && inet_sk(sk)->inet_num == protocol && in ip_call_ra_chain()
198 int protocol = ip_hdr(skb)->protocol; in ip_local_deliver_finish() local
203 raw = raw_local_deliver(skb, protocol); in ip_local_deliver_finish()
205 ipprot = rcu_dereference(inet_protos[protocol]); in ip_local_deliver_finish()
218 protocol = -ret; in ip_local_deliver_finish()
320 int protocol = iph->protocol; in ip_rcv_finish() local
322 ipprot = rcu_dereference(inet_protos[protocol]); in ip_rcv_finish()
Dxfrm4_mode_beet.c27 iph->protocol = XFRM_MODE_SKB_CB(skb)->protocol; in xfrm4_beet_make_header()
55 offsetof(struct iphdr, protocol); in xfrm4_beet_output()
70 ph->nexthdr = top_iph->protocol; in xfrm4_beet_output()
74 top_iph->protocol = IPPROTO_BEETPH; in xfrm4_beet_output()
90 if (unlikely(XFRM_MODE_SKB_CB(skb)->protocol == IPPROTO_BEETPH)) { in xfrm4_beet_input()
104 XFRM_MODE_SKB_CB(skb)->protocol = ph->nexthdr; in xfrm4_beet_input()
Dnetfilter.c125 unsigned int dataoff, u_int8_t protocol) in nf_ip_checksum() argument
134 if ((protocol == 0 && !csum_fold(skb->csum)) || in nf_ip_checksum()
136 skb->len - dataoff, protocol, in nf_ip_checksum()
143 if (protocol == 0) in nf_ip_checksum()
148 protocol, 0); in nf_ip_checksum()
157 u_int8_t protocol) in nf_ip_checksum_partial() argument
165 return nf_ip_checksum(skb, hook, dataoff, protocol); in nf_ip_checksum_partial()
168 skb->csum = csum_tcpudp_nofold(iph->saddr, iph->daddr, protocol, in nf_ip_checksum_partial()
Daf_inet.c251 static int inet_create(struct net *net, struct socket *sock, int protocol, in inet_create() argument
262 if (protocol < 0 || protocol >= IPPROTO_MAX) in inet_create()
275 if (protocol == answer->protocol) { in inet_create()
276 if (protocol != IPPROTO_IP) in inet_create()
280 if (IPPROTO_IP == protocol) { in inet_create()
281 protocol = answer->protocol; in inet_create()
284 if (IPPROTO_IP == answer->protocol) in inet_create()
299 PF_INET, protocol, sock->type); in inet_create()
306 PF_INET, protocol); in inet_create()
339 inet->inet_num = protocol; in inet_create()
[all …]
Dxfrm4_input.c44 iph->protocol = XFRM_MODE_SKB_CB(skb)->protocol; in xfrm4_transport_finish()
48 return -iph->protocol; in xfrm4_transport_finish()
156 return xfrm4_rcv_spi(skb, ip_hdr(skb)->protocol, 0); in xfrm4_rcv()
Dudp_offload.c38 __be16 protocol = skb->protocol; in __skb_udp_tunnel_segment() local
57 skb->protocol = new_protocol; in __skb_udp_tunnel_segment()
70 skb_gso_error_unwind(skb, protocol, tnl_hlen, mac_offset, in __skb_udp_tunnel_segment()
95 skb->protocol = protocol; in __skb_udp_tunnel_segment()
144 __be16 protocol = skb->protocol; in skb_udp_tunnel_segment() local
155 protocol = skb->inner_protocol; in skb_udp_tunnel_segment()
170 protocol, is_ipv6); in skb_udp_tunnel_segment()
Dip_vti.c83 return vti_input(skb, ip_hdr(skb)->protocol, 0, 0); in vti_rcv()
224 switch (skb->protocol) { in vti_tunnel_xmit()
256 int protocol = iph->protocol; in vti4_err() local
266 switch (protocol) { in vti4_err()
294 spi, protocol, AF_INET); in vti4_err()
299 ipv4_update_pmtu(skb, net, info, 0, 0, protocol, 0); in vti4_err()
301 ipv4_redirect(skb, net, 0, 0, protocol, 0); in vti4_err()
317 if (p.iph.version != 4 || p.iph.protocol != IPPROTO_IPIP || in vti_tunnel_ioctl()
384 iph->protocol = IPPROTO_IPIP; in vti_fb_tunnel_init()
448 parms->iph.protocol = IPPROTO_IPIP; in vti_netlink_parms()
Dfou.c21 u8 protocol; member
34 u8 protocol; member
73 return -fou->protocol; in fou_udp_recv()
431 fou->protocol = cfg->protocol; in fou_encap_init()
435 fou->udp_offloads.ipproto = cfg->protocol; in fou_encap_init()
587 cfg->protocol = nla_get_u8(info->attrs[FOU_ATTR_IPPROTO]); in parse_nl_config()
628 nla_put_u8(msg, FOU_ATTR_IPPROTO, fou->protocol) || in fou_fill_info()
769 struct flowi4 *fl4, u8 *protocol, __be16 sport) in fou_build_udp() argument
785 *protocol = IPPROTO_UDP; in fou_build_udp()
789 u8 *protocol, struct flowi4 *fl4) in fou_build_header() argument
[all …]
Dxfrm4_output.c52 XFRM_MODE_SKB_CB(skb)->protocol = ip_hdr(skb)->protocol; in xfrm4_extract_output()
66 skb->protocol = htons(ETH_P_IP); in xfrm4_prepare_output()
Dxfrm4_mode_tunnel.c38 offsetof(struct iphdr, protocol); in xfrm4_mode_tunnel_output()
45 top_iph->protocol = xfrm_af2proto(skb_dst(skb)->ops->family); in xfrm4_mode_tunnel_output()
75 if (XFRM_MODE_SKB_CB(skb)->protocol != IPPROTO_IPIP) in xfrm4_mode_tunnel_input()
Dip_tunnel_core.c72 iph->protocol = proto; in iptunnel_xmit()
102 skb->protocol = eh->h_proto; in iptunnel_pull_header()
104 skb->protocol = htons(ETH_P_802_2); in iptunnel_pull_header()
107 skb->protocol = inner_proto; in iptunnel_pull_header()
Dip_tunnel.c371 init_tunnel_flow(&fl4, iph->protocol, iph->daddr, in ip_tunnel_bind_dev()
475 skb->protocol = eth_type_trans(skb, tunnel->dev); in ip_tunnel_rcv()
567 u8 *protocol, struct flowi4 *fl4) in ip_tunnel_encap() argument
581 ret = ops->build_header(skb, &t->encap, protocol, fl4); in ip_tunnel_encap()
605 if (skb->protocol == htons(ETH_P_IP)) { in tnl_update_pmtu()
615 else if (skb->protocol == htons(ETH_P_IPV6)) { in tnl_update_pmtu()
639 const struct iphdr *tnl_params, u8 protocol) in ip_tunnel_xmit() argument
664 if (skb->protocol == htons(ETH_P_IP)) { in ip_tunnel_xmit()
669 else if (skb->protocol == htons(ETH_P_IPV6)) { in ip_tunnel_xmit()
708 if (skb->protocol == htons(ETH_P_IP)) { in ip_tunnel_xmit()
[all …]
DKconfig125 discovered automatically at boot time using the DHCP protocol (a
126 special protocol designed for doing this job), say Y here. In case
142 discovered automatically at boot time using the BOOTP protocol (a
143 special protocol designed for doing this job), say Y here. In case
157 discovered automatically at boot time using the RARP protocol (an
158 older protocol which is being obsoleted by BOOTP and DHCP), say Y
168 Tunneling means encapsulating data of one protocol type within
169 another protocol and sending it over a channel that understands the
170 encapsulating protocol. This particular tunneling driver implements
196 Tunneling means encapsulating data of one protocol type within
[all …]
/linux-4.1.27/security/tomoyo/
Dnetwork.c25 u8 protocol; member
197 return p1->protocol == p2->protocol && in tomoyo_same_inet_acl()
216 return p1->protocol == p2->protocol && in tomoyo_same_unix_acl()
286 const char *protocol = tomoyo_read_token(param); in tomoyo_write_inet_network() local
289 for (e.protocol = 0; e.protocol < TOMOYO_SOCK_MAX; e.protocol++) in tomoyo_write_inet_network()
290 if (!strcmp(protocol, tomoyo_proto_keyword[e.protocol])) in tomoyo_write_inet_network()
295 if (e.protocol == TOMOYO_SOCK_MAX || !e.perm) in tomoyo_write_inet_network()
331 const char *protocol = tomoyo_read_token(param); in tomoyo_write_unix_network() local
334 for (e.protocol = 0; e.protocol < TOMOYO_SOCK_MAX; e.protocol++) in tomoyo_write_unix_network()
335 if (!strcmp(protocol, tomoyo_proto_keyword[e.protocol])) in tomoyo_write_unix_network()
[all …]
/linux-4.1.27/drivers/net/ppp/
Dpppox.c106 static int pppox_create(struct net *net, struct socket *sock, int protocol, in pppox_create() argument
111 if (protocol < 0 || protocol > PX_MAX_PROTO) in pppox_create()
115 if (!pppox_protos[protocol]) in pppox_create()
116 request_module("pppox-proto-%d", protocol); in pppox_create()
117 if (!pppox_protos[protocol] || in pppox_create()
118 !try_module_get(pppox_protos[protocol]->owner)) in pppox_create()
121 rc = pppox_protos[protocol]->create(net, sock); in pppox_create()
123 module_put(pppox_protos[protocol]->owner); in pppox_create()
/linux-4.1.27/security/selinux/
Dnetport.c94 static struct sel_netport *sel_netport_find(u8 protocol, u16 pnum) in sel_netport_find() argument
101 if (port->psec.port == pnum && port->psec.protocol == protocol) in sel_netport_find()
148 static int sel_netport_sid_slow(u8 protocol, u16 pnum, u32 *sid) in sel_netport_sid_slow() argument
155 port = sel_netport_find(protocol, pnum); in sel_netport_sid_slow()
164 ret = security_port_sid(protocol, pnum, sid); in sel_netport_sid_slow()
169 new->psec.protocol = protocol; in sel_netport_sid_slow()
197 int sel_netport_sid(u8 protocol, u16 pnum, u32 *sid) in sel_netport_sid() argument
202 port = sel_netport_find(protocol, pnum); in sel_netport_sid()
210 return sel_netport_sid_slow(protocol, pnum, sid); in sel_netport_sid()
/linux-4.1.27/Documentation/isdn/
DREADME.concap1 Description of the "concap" encapsulation protocol interface
5 drivers that need to process an encapsulation protocol.
6 It is assumed that the protocol interacts with a linux network device by
22 The encapsulation protocol used on top of WAN connections or permanent
28 encapsulation protocols. The encapsulation protocol is configured by a
31 depending on the currently configured encapsulation protocol.
34 protocol which is unique to the hardware type of the interface. The LAN
37 encapsulation protocol directly (usually by just providing a hard_header()
43 The configurability of the encapsulation protocol to be used
64 protocol, complexity could be reduced and maintainability could be
[all …]
DINTERFACE362 protocol. This command is issued by the LL prior to ISDN_CMD_DIAL or
370 logical or'ed with (protocol-Id << 8)
371 protocol-Id is one of the constants ISDN_PROTO_L2...
377 setting of the Layer-2-protocol.
385 current protocol-Id (one of the constants ISDN_L2_PROTO)
390 protocol. This command is issued by the LL prior to ISDN_CMD_DIAL or
398 logical or'ed with (protocol-Id << 8)
399 protocol-Id is one of the constants ISDN_PROTO_L3...
405 setting of the Layer-3-protocol.
413 current protocol-Id (one of the constants ISDN_L3_PROTO)
[all …]
DREADME.icn93 The D-channel protocol is configured by loading different firmware
116 The D-channel protocol is configured by loading different firmware
127 pc_1t_ca.bin - Image of firmware for german 1TR6 protocol.
128 pc_eu_ca.bin - Image if firmware for EDSS1 (Euro-ISDN) protocol.
135 where XX is either "1t" or "eu", depending on the D-Channel protocol
/linux-4.1.27/drivers/media/rc/img-ir/
DKconfig30 bool "NEC protocol support"
37 bool "JVC protocol support"
40 Say Y here to enable support for the JVC protocol in the ImgTec
44 bool "Sony protocol support"
47 Say Y here to enable support for the Sony protocol in the ImgTec
51 bool "Sharp protocol support"
54 Say Y here to enable support for the Sharp protocol in the ImgTec
58 bool "Sanyo protocol support"
61 Say Y here to enable support for the Sanyo protocol (used by Sanyo,
65 bool "Philips RC5 protocol support"
[all …]
Dimg-ir-sony.c28 request->protocol = RC_TYPE_SONY12; in img_ir_sony_scancode()
37 request->protocol = RC_TYPE_SONY15; in img_ir_sony_scancode()
47 request->protocol = RC_TYPE_SONY20; in img_ir_sony_scancode()
/linux-4.1.27/net/netfilter/
Dxt_socket.c40 u8 *protocol, in extract_icmp4_fields() argument
73 if (inside_iph->protocol != IPPROTO_TCP && in extract_icmp4_fields()
74 inside_iph->protocol != IPPROTO_UDP) in extract_icmp4_fields()
86 *protocol = inside_iph->protocol; in extract_icmp4_fields()
115 xt_socket_get_sock_v4(struct net *net, const u8 protocol, in xt_socket_get_sock_v4() argument
120 switch (protocol) { in xt_socket_get_sock_v4()
152 u8 uninitialized_var(protocol); in xt_socket_lookup_slow_v4()
158 if (iph->protocol == IPPROTO_UDP || iph->protocol == IPPROTO_TCP) { in xt_socket_lookup_slow_v4()
166 protocol = iph->protocol; in xt_socket_lookup_slow_v4()
172 } else if (iph->protocol == IPPROTO_ICMP) { in xt_socket_lookup_slow_v4()
[all …]
Dxt_TPROXY.c108 nf_tproxy_get_sock_v4(struct net *net, const u8 protocol, in nf_tproxy_get_sock_v4() argument
116 switch (protocol) { in nf_tproxy_get_sock_v4()
165 protocol, ntohl(saddr), ntohs(sport), ntohl(daddr), ntohs(dport), lookup_type, sk); in nf_tproxy_get_sock_v4()
172 nf_tproxy_get_sock_v6(struct net *net, const u8 protocol, in nf_tproxy_get_sock_v6() argument
180 switch (protocol) { in nf_tproxy_get_sock_v6()
229 protocol, saddr, ntohs(sport), daddr, ntohs(dport), lookup_type, sk); in nf_tproxy_get_sock_v6()
270 sk2 = nf_tproxy_get_sock_v4(dev_net(skb->dev), iph->protocol, in tproxy_handle_time_wait4()
309 sk = nf_tproxy_get_sock_v4(dev_net(skb->dev), iph->protocol, in tproxy_tg4()
325 sk = nf_tproxy_get_sock_v4(dev_net(skb->dev), iph->protocol, in tproxy_tg4()
337 iph->protocol, &iph->daddr, ntohs(hp->dest), in tproxy_tg4()
[all …]
/linux-4.1.27/include/uapi/linux/usb/
Daudio.h263 int protocol) in uac_mixer_unit_wChannelConfig() argument
265 if (protocol == UAC_VERSION_1) in uac_mixer_unit_wChannelConfig()
276 int protocol) in uac_mixer_unit_iChannelNames() argument
278 return (protocol == UAC_VERSION_1) ? in uac_mixer_unit_iChannelNames()
284 int protocol) in uac_mixer_unit_bmControls() argument
286 return (protocol == UAC_VERSION_1) ? in uac_mixer_unit_bmControls()
347 int protocol) in uac_processing_unit_wChannelConfig() argument
349 if (protocol == UAC_VERSION_1) in uac_processing_unit_wChannelConfig()
360 int protocol) in uac_processing_unit_iChannelNames() argument
362 return (protocol == UAC_VERSION_1) ? in uac_processing_unit_iChannelNames()
[all …]
/linux-4.1.27/drivers/media/i2c/
Dir-kbd-i2c.c65 static int get_key_haup_common(struct IR_i2c *ir, enum rc_type *protocol, in get_key_haup_common() argument
101 *protocol = RC_TYPE_RC5; in get_key_haup_common()
107 static int get_key_haup(struct IR_i2c *ir, enum rc_type *protocol, in get_key_haup() argument
110 return get_key_haup_common (ir, protocol, scancode, toggle, 3, 0); in get_key_haup()
113 static int get_key_haup_xvr(struct IR_i2c *ir, enum rc_type *protocol, in get_key_haup_xvr() argument
129 return get_key_haup_common(ir, protocol, scancode, toggle, 6, 3); in get_key_haup_xvr()
132 static int get_key_pixelview(struct IR_i2c *ir, enum rc_type *protocol, in get_key_pixelview() argument
143 *protocol = RC_TYPE_OTHER; in get_key_pixelview()
149 static int get_key_fusionhdtv(struct IR_i2c *ir, enum rc_type *protocol, in get_key_fusionhdtv() argument
168 *protocol = RC_TYPE_UNKNOWN; in get_key_fusionhdtv()
[all …]
/linux-4.1.27/drivers/block/paride/
DKconfig20 must also have at least one parallel port protocol driver in your
34 must also have at least one parallel port protocol driver in your
50 You must also have at least one parallel port protocol driver in
64 You must also have at least one parallel port protocol driver in
82 You must also have at least one parallel port protocol driver in
92 comment "Parallel IDE protocol modules"
96 tristate "ATEN EH-100 protocol"
100 protocol. This protocol is used in some inexpensive low performance
103 protocol driver, otherwise you should answer M to build it as a
109 tristate "MicroSolutions backpack (Series 5) protocol"
[all …]
/linux-4.1.27/net/netfilter/ipset/
Dip_set_getport.c24 get_port(const struct sk_buff *skb, int protocol, unsigned int protooff, in get_port() argument
27 switch (protocol) { in get_port()
91 *proto = protocol; in get_port()
102 int protocol = iph->protocol; in ip_set_get_ip4_port() local
105 if (protocol <= 0) in ip_set_get_ip4_port()
109 switch (protocol) { in ip_set_get_ip4_port()
120 *proto = protocol; in ip_set_get_ip4_port()
124 return get_port(skb, protocol, protooff, src, port, proto); in ip_set_get_ip4_port()
/linux-4.1.27/net/ceph/
Dauth.c23 static int ceph_auth_init_protocol(struct ceph_auth_client *ac, int protocol) in ceph_auth_init_protocol() argument
25 switch (protocol) { in ceph_auth_init_protocol()
156 ceph_encode_32(&p, ac->protocol); in ceph_build_auth_request()
180 int protocol; in ceph_handle_auth_reply() local
192 protocol = ceph_decode_32(&p); in ceph_handle_auth_reply()
217 if (!protocol && result < 0) { in ceph_handle_auth_reply()
222 if (ac->protocol && ac->protocol != protocol) { in ceph_handle_auth_reply()
224 ac->protocol = 0; in ceph_handle_auth_reply()
227 if (ac->protocol != protocol) { in ceph_handle_auth_reply()
228 ret = ceph_auth_init_protocol(ac, protocol); in ceph_handle_auth_reply()
[all …]
/linux-4.1.27/net/phonet/
Daf_phonet.c40 static struct phonet_protocol *phonet_proto_get(unsigned int protocol) in phonet_proto_get() argument
44 if (protocol >= PHONET_NPROTO) in phonet_proto_get()
48 pp = rcu_dereference(proto_tab[protocol]); in phonet_proto_get()
63 static int pn_socket_create(struct net *net, struct socket *sock, int protocol, in pn_socket_create() argument
74 if (protocol == 0) { in pn_socket_create()
78 protocol = PN_PROTO_PHONET; in pn_socket_create()
81 protocol = PN_PROTO_PIPE; in pn_socket_create()
88 pnp = phonet_proto_get(protocol); in pn_socket_create()
90 request_module("net-pf-%d-proto-%d", PF_PHONET, protocol) == 0) in pn_socket_create()
91 pnp = phonet_proto_get(protocol); in pn_socket_create()
[all …]
DKconfig2 # Phonet protocol
8 The Phone Network protocol (PhoNet) is a packet-oriented
9 communication protocol developed by Nokia for use with its modems.
Dpep-gprs.c92 __be16 protocol = gprs_type_trans(skb); in gprs_recv() local
94 if (!protocol) { in gprs_recv()
129 skb->protocol = protocol; in gprs_recv()
192 switch (skb->protocol) { in gprs_xmit()
/linux-4.1.27/include/linux/
Dif_vlan.h363 skb->protocol = vlan_proto; in vlan_insert_tag_set_proto()
527 return __vlan_get_protocol(skb, skb->protocol, NULL); in vlan_get_protocol()
543 skb->protocol = proto; in vlan_set_encap_proto()
556 skb->protocol = htons(ETH_P_802_3); in vlan_set_encap_proto()
561 skb->protocol = htons(ETH_P_802_2); in vlan_set_encap_proto()
574 likely(skb->protocol != htons(ETH_P_8021Q) && in skb_vlan_tagged()
575 skb->protocol != htons(ETH_P_8021AD))) in skb_vlan_tagged()
590 __be16 protocol = skb->protocol; in skb_vlan_tagged_multi() local
595 if (likely(protocol != htons(ETH_P_8021Q) && in skb_vlan_tagged_multi()
596 protocol != htons(ETH_P_8021AD))) in skb_vlan_tagged_multi()
[all …]
Dpnp.h208 struct pnp_protocol *protocol; member
255 struct pnp_protocol *protocol; member
315 #define pnp_can_read(dev) (((dev)->protocol->get) && \
317 #define pnp_can_write(dev) (((dev)->protocol->set) && \
319 #define pnp_can_disable(dev) (((dev)->protocol->disable) && \
325 #define pnp_can_suspend(dev) (((dev)->protocol->suspend) && \
332 #define pnp_device_is_isapnp(dev) ((dev)->protocol == (&isapnp_protocol))
340 #define pnp_device_is_pnpbios(dev) ((dev)->protocol == (&pnpbios_protocol))
350 if (dev->protocol == &pnpacpi_protocol) in pnp_acpi_device()
437 #define protocol_for_each_card(protocol,card) \ argument
[all …]
Dnetfilter.h257 unsigned int dataoff, u_int8_t protocol);
262 u_int8_t protocol);
280 u_int8_t protocol, unsigned short family) in nf_checksum() argument
288 csum = afinfo->checksum(skb, hook, dataoff, protocol); in nf_checksum()
296 u_int8_t protocol, unsigned short family) in nf_checksum_partial() argument
305 protocol); in nf_checksum_partial()
/linux-4.1.27/drivers/bluetooth/
DKconfig25 bool "Broadcom protocol support"
30 The Broadcom protocol support enables firmware and patchram
33 Say Y here to compile support for Broadcom protocol.
60 bool "UART (H4) protocol support"
63 UART (H4) is serial protocol for communication between Bluetooth
64 device and host. This protocol is required for most Bluetooth devices
67 Say Y here to compile support for HCI UART (H4) protocol.
70 bool "BCSP protocol support"
74 BCSP (BlueCore Serial Protocol) is serial protocol for communication
75 between Bluetooth device and host. This protocol is required for non
[all …]
/linux-4.1.27/Documentation/netlabel/
Dintroduction.txt12 is composed of three main components, the protocol engines, the communication
17 The protocol engines are responsible for both applying and retrieving the
19 security attributes and those on the host are required then the protocol
21 refrain from calling the protocol engines directly, instead they should use
24 Detailed information about each NetLabel protocol engine can be found in this
31 protocol built on top of the Generic NETLINK transport mechanism. The exact
38 The purpose of the NetLabel security module API is to provide a protocol
39 independent interface to the underlying NetLabel protocol engines. In addition
40 to protocol independence, the security module API is designed to be completely
Dcipso_ipv4.txt9 The NetLabel CIPSO/IPv4 protocol engine is based on the IETF Commercial IP
17 The CIPSO/IPv4 protocol engine applies the CIPSO IP option to packets by
28 The CIPSO/IPv4 protocol engine validates every CIPSO IP option it finds at the
37 The CIPSO/IPv4 protocol engine contains a mechanism to translate CIPSO security
48 CIPSO/IPv4 protocol engine supports this caching mechanism.
D00-INDEX4 - documentation on the IPv4 CIPSO protocol engine.
6 - IETF draft of the CIPSO protocol, dated 16 July 1992.
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_core.c213 struct sk_buff *skb, int protocol, in ip_vs_conn_fill_param_persist() argument
218 ip_vs_conn_fill_param(svc->net, svc->af, protocol, caddr, cport, vaddr, in ip_vs_conn_fill_param_persist()
278 int protocol = iph->protocol; in ip_vs_sched_persist() local
299 protocol = IPPROTO_IP; in ip_vs_sched_persist()
304 if (ip_vs_conn_fill_param_persist(svc, skb, protocol, &snet, 0, in ip_vs_sched_persist()
363 && iph->protocol == IPPROTO_UDP) ? in ip_vs_sched_persist()
369 ip_vs_conn_fill_param(svc->net, svc->af, iph->protocol, &iph->saddr, in ip_vs_sched_persist()
489 && iph->protocol == IPPROTO_UDP) ? in ip_vs_schedule()
498 ip_vs_conn_fill_param(svc->net, svc->af, iph->protocol, in ip_vs_schedule()
561 iph->protocol == IPPROTO_UDP) ? in ip_vs_leave()
[all …]
Dip_vs_conn.c144 return ip_vs_conn_hashkey(p->net, p->af, p->protocol, addr, port); in ip_vs_conn_hashkey_param()
151 ip_vs_conn_fill_param(ip_vs_conn_net(cp), cp->af, cp->protocol, in ip_vs_conn_hashkey_conn()
281 p->protocol == cp->protocol && in __ip_vs_conn_in_get()
308 ip_vs_proto_name(p->protocol), in ip_vs_conn_in_get()
329 ip_vs_conn_fill_param(net, af, iph->protocol, &iph->saddr, in ip_vs_conn_fill_param_proto()
332 ip_vs_conn_fill_param(net, af, iph->protocol, &iph->daddr, in ip_vs_conn_fill_param_proto()
375 ip_vs_addr_equal(p->protocol == IPPROTO_IP ? AF_UNSPEC : in ip_vs_ct_in_get()
379 p->protocol == cp->protocol && in ip_vs_ct_in_get()
391 ip_vs_proto_name(p->protocol), in ip_vs_ct_in_get()
420 p->protocol == cp->protocol && in ip_vs_conn_out_get()
[all …]
Dip_vs_pe_sip.c76 if (iph.protocol != IPPROTO_UDP) in ip_vs_sip_fill_param()
116 ip_vs_addr_equal(p->protocol == IPPROTO_IP ? AF_UNSPEC : p->af, in ip_vs_sip_ct_match()
120 ct->protocol == p->protocol && in ip_vs_sip_ct_match()
126 ip_vs_proto_name(p->protocol), in ip_vs_sip_ct_match()
Dip_vs_proto_ah_esp.c77 ip_vs_proto_get(iph->protocol)->name, in ah_esp_conn_in_get()
100 ip_vs_proto_get(iph->protocol)->name, in ah_esp_conn_out_get()
124 .protocol = IPPROTO_AH,
147 .protocol = IPPROTO_ESP,
Dip_vs_proto.c51 unsigned int hash = IP_VS_PROTO_HASH(pp->protocol); in register_ip_vs_protocol()
69 unsigned int hash = IP_VS_PROTO_HASH(pp->protocol); in register_ip_vs_proto_netns()
100 unsigned int hash = IP_VS_PROTO_HASH(pp->protocol); in unregister_ip_vs_protocol()
123 unsigned int hash = IP_VS_PROTO_HASH(pd->pp->protocol); in unregister_ip_vs_proto_netns()
148 if (pp->protocol == proto) in ip_vs_proto_get()
166 if (pd->pp->protocol == proto) in __ipvs_proto_data_get()
Dip_vs_sync.c73 __u8 protocol; /* Which protocol (TCP/UDP) */ member
133 __u8 protocol; /* Which protocol (TCP/UDP) */ member
155 __u8 protocol; /* Which protocol (TCP/UDP) */ member
462 else if (likely(cp->protocol == IPPROTO_TCP)) { in ip_vs_sync_conn_needed()
473 } else if (unlikely(cp->protocol == IPPROTO_SCTP)) { in ip_vs_sync_conn_needed()
582 s->protocol = cp->protocol; in ip_vs_sync_conn_v0()
721 s->v4.protocol = cp->protocol; in ip_vs_sync_conn()
791 ip_vs_conn_fill_param(net, af, sc->v6.protocol, in ip_vs_conn_fill_param_sync()
798 ip_vs_conn_fill_param(net, af, sc->v4.protocol, in ip_vs_conn_fill_param_sync()
839 unsigned int protocol, unsigned int type, in ip_vs_proc_conn() argument
[all …]
Dip_vs_proto_udp.c48 svc = ip_vs_service_find(net, af, skb->mark, iph->protocol, in udp_conn_schedule()
190 cp->protocol, skb->csum); in udp_snat_handler()
196 cp->protocol, in udp_snat_handler()
274 cp->protocol, skb->csum); in udp_dnat_handler()
280 cp->protocol, in udp_dnat_handler()
329 ip_hdr(skb)->protocol, in udp_csum_check()
479 .protocol = IPPROTO_UDP,
Dip_vs_ftp.c227 iph->protocol, &from, port, in ip_vs_ftp_out()
390 ip_vs_proto_name(iph->protocol), in ip_vs_ftp_in()
396 iph->protocol, &to, port, &cp->vaddr, in ip_vs_ftp_in()
427 .protocol = IPPROTO_TCP,
457 ret = register_ip_vs_app_inc(net, app, app->protocol, ports[i]); in __ip_vs_ftp_init()
Dip_vs_ctl.c312 hash = ip_vs_svc_hashkey(svc->net, svc->af, svc->protocol, in ip_vs_svc_hash()
360 __ip_vs_service_find(struct net *net, int af, __u16 protocol, in __ip_vs_service_find() argument
367 hash = ip_vs_svc_hashkey(net, af, protocol, vaddr, vport); in __ip_vs_service_find()
373 && (svc->protocol == protocol) in __ip_vs_service_find()
409 ip_vs_service_find(struct net *net, int af, __u32 fwmark, __u16 protocol, in ip_vs_service_find() argument
428 svc = __ip_vs_service_find(net, af, protocol, vaddr, vport); in ip_vs_service_find()
431 && protocol == IPPROTO_TCP in ip_vs_service_find()
438 svc = __ip_vs_service_find(net, af, protocol, vaddr, FTPPORT); in ip_vs_service_find()
446 svc = __ip_vs_service_find(net, af, protocol, vaddr, 0); in ip_vs_service_find()
451 fwmark, ip_vs_proto_name(protocol), in ip_vs_service_find()
[all …]
/linux-4.1.27/drivers/isdn/mISDN/
Dstack.c426 u_int protocol, struct sockaddr_mISDN *adr) in connect_layer1() argument
435 __func__, dev_name(&dev->dev), protocol, adr->dev, in connect_layer1()
437 switch (protocol) { in connect_layer1()
445 rq.protocol = protocol; in connect_layer1()
464 u_int protocol, struct sockaddr_mISDN *adr) in connect_Bstack() argument
472 __func__, dev_name(&dev->dev), protocol, in connect_Bstack()
476 pmask = 1 << (protocol & ISDN_P_B_MASK); in connect_Bstack()
478 rq.protocol = protocol; in connect_Bstack()
492 rq2.protocol = protocol; in connect_Bstack()
501 rq.protocol = rq2.protocol; in connect_Bstack()
[all …]
Dl1oip_core.c999 if (rq->protocol == ISDN_P_NONE) in open_dchannel()
1001 if ((dch->dev.D.protocol != ISDN_P_NONE) && in open_dchannel()
1002 (dch->dev.D.protocol != rq->protocol)) { in open_dchannel()
1005 __func__, dch->dev.D.protocol, rq->protocol); in open_dchannel()
1007 if (dch->dev.D.protocol != rq->protocol) in open_dchannel()
1008 dch->dev.D.protocol = rq->protocol; in open_dchannel()
1028 if (rq->protocol == ISDN_P_NONE) in open_bchannel()
1039 bch->ch.protocol = rq->protocol; in open_bchannel()
1061 switch (rq->protocol) { in l1oip_dctrl()
1225 ch->protocol = ISDN_P_NONE; in l1oip_bctrl()
Dsocket.c393 di.protocol = dev->D.protocol; in data_sock_ioctl()
554 _pms(sk)->ch.protocol = sk->sk_protocol; in data_sock_bind()
604 data_sock_create(struct net *net, struct socket *sock, int protocol) in data_sock_create() argument
621 sk->sk_protocol = protocol; in data_sock_create()
677 di.protocol = dev->D.protocol; in base_sock_ioctl()
759 base_sock_create(struct net *net, struct socket *sock, int protocol) in base_sock_create() argument
774 sk->sk_protocol = protocol; in base_sock_create()
/linux-4.1.27/drivers/infiniband/ulp/srpt/
DKconfig7 SRP protocol is a protocol that allows an initiator to access
9 that supports the RDMA protocol. Currently the RDMA protocol is
11 information about the SRP protocol can be found on the website
/linux-4.1.27/net/bridge/netfilter/
Debt_ip.c51 if (FWINV(info->protocol != ih->protocol, EBT_IP_PROTO)) in ebt_ip_mt()
93 if (info->protocol != IPPROTO_TCP && in ebt_ip_mt_check()
94 info->protocol != IPPROTO_UDP && in ebt_ip_mt_check()
95 info->protocol != IPPROTO_UDPLITE && in ebt_ip_mt_check()
96 info->protocol != IPPROTO_SCTP && in ebt_ip_mt_check()
97 info->protocol != IPPROTO_DCCP) in ebt_ip_mt_check()
Debt_ip6.c66 if (FWINV(info->protocol != nexthdr, EBT_IP6_PROTO)) in ebt_ip6_mt()
112 if (info->protocol != IPPROTO_TCP && in ebt_ip6_mt_check()
113 info->protocol != IPPROTO_UDP && in ebt_ip6_mt_check()
114 info->protocol != IPPROTO_UDPLITE && in ebt_ip6_mt_check()
115 info->protocol != IPPROTO_SCTP && in ebt_ip6_mt_check()
116 info->protocol != IPPROTO_DCCP) in ebt_ip6_mt_check()
125 info->protocol != IPPROTO_ICMPV6) in ebt_ip6_mt_check()
Debt_log.c54 print_ports(const struct sk_buff *skb, uint8_t protocol, int offset) in print_ports() argument
56 if (protocol == IPPROTO_TCP || in print_ports()
57 protocol == IPPROTO_UDP || in print_ports()
58 protocol == IPPROTO_UDPLITE || in print_ports()
59 protocol == IPPROTO_SCTP || in print_ports()
60 protocol == IPPROTO_DCCP) { in print_ports()
109 &ih->saddr, &ih->daddr, ih->tos, ih->protocol); in ebt_log_packet()
110 print_ports(skb, ih->protocol, ih->ihl*4); in ebt_log_packet()
/linux-4.1.27/drivers/media/usb/em28xx/
Dem28xx-input.c57 enum rc_type protocol; member
76 int (*get_key_i2c)(struct i2c_client *ir, enum rc_type *protocol, u32 *scancode);
85 enum rc_type *protocol, u32 *scancode) in em28xx_get_key_terratec() argument
103 *protocol = RC_TYPE_UNKNOWN; in em28xx_get_key_terratec()
109 enum rc_type *protocol, u32 *scancode) in em28xx_get_key_em_haup() argument
133 *protocol = RC_TYPE_RC5; in em28xx_get_key_em_haup()
139 enum rc_type *protocol, u32 *scancode) in em28xx_get_key_pinnacle_usb_grey() argument
151 *protocol = RC_TYPE_UNKNOWN; in em28xx_get_key_pinnacle_usb_grey()
157 enum rc_type *protocol, u32 *scancode) in em28xx_get_key_winfast_usbii_deluxe() argument
177 *protocol = RC_TYPE_UNKNOWN; in em28xx_get_key_winfast_usbii_deluxe()
[all …]
/linux-4.1.27/net/ipv4/netfilter/
Dnf_reject_ipv4.c47 __u8 protocol, int ttl) in nf_reject_iphdr_put() argument
58 niph->protocol = protocol; in nf_reject_iphdr_put()
64 nskb->protocol = htons(ETH_P_IP); in nf_reject_iphdr_put()
154 if (dev_hard_header(nskb, nskb->dev, ntohs(nskb->protocol), in nf_send_reset()
182 if (iph->protocol == IPPROTO_TCP || iph->protocol == IPPROTO_UDP) in nf_send_unreach()
183 proto = iph->protocol; in nf_send_unreach()
Dnf_log_ipv4.c100 switch (ih->protocol) { in dump_ipv4_packet()
102 if (nf_log_dump_tcp_header(m, skb, ih->protocol, in dump_ipv4_packet()
109 if (nf_log_dump_udp_header(m, skb, ih->protocol, in dump_ipv4_packet()
249 nf_log_buf_add(m, "PROTO=%u ", ih->protocol); in dump_ipv4_packet()
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-class-rc27 Writing "+proto" will add a protocol to the list of enabled
29 Writing "-proto" will remove a protocol from the list of enabled
33 Write fails with EINVAL if an invalid protocol combination or
34 unknown protocol name is used.
47 This value may be reset to 0 if the current protocol is altered.
62 This value may be reset to 0 if the current protocol is altered.
72 The enabled wakeup protocol is shown in [] brackets.
73 Writing "+proto" will add a protocol to the list of enabled
75 Writing "-proto" will remove a protocol from the list of enabled
79 Write fails with EINVAL if an invalid protocol combination or
[all …]
Dconfigfs-usb-gadget-hid7 protocol - HID protocol to use
Dsysfs-driver-hid-multitouch5 quirks actually in place to handle the device's protocol.
9 the protocol to handle the device.
/linux-4.1.27/fs/nfsd/
DKconfig13 protocol. To compile the NFS server support as a module,
25 Below you can choose which versions of the NFS protocol are
41 version 3 of the NFS protocol (RFC 1813).
46 bool "NFS server support for the NFSv3 ACL protocol extension"
50 Solaris NFS servers support an auxiliary NFSv3 ACL protocol that
51 never became an official part of the NFS version 3 protocol.
52 This protocol extension allows applications on NFS clients to
55 this protocol is available or not.
58 NFSv3 ACL protocol extension allowing NFS clients to manipulate
60 clients which support the Solaris NFSv3 ACL protocol can then
[all …]
/linux-4.1.27/sound/usb/
Dstream.c233 int protocol) in convert_chmap() argument
291 maps = protocol == UAC_VERSION_2 ? uac2_maps : uac1_maps; in convert_chmap()
390 int protocol, int iface_no) in parse_uac_endpoint_attributes() argument
420 if (protocol == UAC_VERSION_1) { in parse_uac_endpoint_attributes()
480 int num, protocol, clock = 0; in snd_usb_parse_audio_interface() local
501 protocol = altsd->bInterfaceProtocol; in snd_usb_parse_audio_interface()
528 protocol <= 2) in snd_usb_parse_audio_interface()
529 protocol = UAC_VERSION_1; in snd_usb_parse_audio_interface()
533 switch (protocol) { in snd_usb_parse_audio_interface()
536 iface_no, altno, protocol); in snd_usb_parse_audio_interface()
[all …]
Dmixer.c404 return (cval->head.mixer->protocol == UAC_VERSION_1) ? in get_ctl_value()
459 if (cval->head.mixer->protocol == UAC_VERSION_1) { in snd_usb_mixer_set_ctl_value()
714 if (state->mixer->protocol == UAC_VERSION_1) { in check_input_term()
743 term->chconfig = uac_mixer_unit_wChannelConfig(d, state->mixer->protocol); in check_input_term()
766 if (state->mixer->protocol == UAC_VERSION_2 && in check_input_term()
780 term->chconfig = uac_processing_unit_wChannelConfig(d, state->mixer->protocol); in check_input_term()
781 term->name = uac_processing_unit_iProcessing(d, state->mixer->protocol); in check_input_term()
1250 if (state->mixer->protocol == UAC_VERSION_1) in build_feature_ctl()
1390 if (state->mixer->protocol == UAC_VERSION_1) { in parse_audio_feature_unit()
1450 if (state->mixer->protocol == UAC_VERSION_1) { in parse_audio_feature_unit()
[all …]
/linux-4.1.27/net/irda/irlan/
DKconfig2 tristate "IrLAN protocol"
5 Say Y here if you want to build support for the IrLAN protocol.
10 The IrLAN protocol can be used to talk with infrared access points
12 to another Linux machine running the IrLAN protocol for ad-hoc
/linux-4.1.27/drivers/media/rc/
Dir-rc6-decoder.c91 enum rc_type protocol; in ir_rc6_decode() local
237 protocol = RC_TYPE_RC6_0; in ir_rc6_decode()
252 protocol = RC_TYPE_RC6_6A_20; in ir_rc6_decode()
256 protocol = RC_BIT_RC6_6A_24; in ir_rc6_decode()
261 protocol = RC_TYPE_RC6_MCE; in ir_rc6_decode()
265 protocol = RC_BIT_RC6_6A_32; in ir_rc6_decode()
275 protocol, scancode, toggle); in ir_rc6_decode()
282 rc_keydown(dev, protocol, scancode, toggle); in ir_rc6_decode()
Dir-rc5-decoder.c54 enum rc_type protocol; in ir_rc5_decode() local
140 protocol = RC_TYPE_RC5X; in ir_rc5_decode()
154 protocol = RC_TYPE_RC5; in ir_rc5_decode()
167 protocol = RC_TYPE_RC5_SZ; in ir_rc5_decode()
173 scancode, protocol, toggle); in ir_rc5_decode()
175 rc_keydown(dev, protocol, scancode, toggle); in ir_rc5_decode()
Dir-sony-decoder.c45 enum rc_type protocol; in ir_sony_decode() local
135 protocol = RC_TYPE_SONY12; in ir_sony_decode()
145 protocol = RC_TYPE_SONY15; in ir_sony_decode()
155 protocol = RC_TYPE_SONY20; in ir_sony_decode()
164 rc_keydown(dev, protocol, scancode, 0); in ir_sony_decode()
DKconfig23 LIRC daemon handles protocol decoding for IR reception and
38 tristate "Enable IR raw decoder for the NEC protocol"
44 Enable this option if you have IR with NEC protocol, and
48 tristate "Enable IR raw decoder for the RC-5 protocol"
54 Enable this option if you have IR with RC-5 protocol, and
58 tristate "Enable IR raw decoder for the RC6 protocol"
65 uses the RC6 protocol, and you need software decoding support.
68 tristate "Enable IR raw decoder for the JVC protocol"
75 uses the JVC protocol, and you need software decoding support.
78 tristate "Enable IR raw decoder for the Sony protocol"
[all …]
/linux-4.1.27/drivers/isdn/hisax/
DKconfig21 comment "D-channel protocol features"
26 Say Y or N according to the D-channel protocol which your local
29 The call control protocol E-DSS1 is used in most European countries.
58 bool "Disable keypad protocol option"
62 using the keypad protocol, select this option.
67 Say Y or N according to the D-channel protocol which your local
70 1TR6 is an old call control protocol which was used in Germany
97 using the different cards, a different D-channel protocol, or
107 using the different cards, a different D-channel protocol, or
131 using the different cards, a different D-channel protocol, or
[all …]
Dsedlbauer_cs.c62 static int protocol = 2; /* EURO-ISDN Default */ variable
63 module_param(protocol, int, 0);
133 icard.protocol = protocol; in sedlbauer_config()
Delsa_cs.c62 static int protocol = 2; /* EURO-ISDN Default */ variable
63 module_param(protocol, int, 0);
151 icard.protocol = protocol; in elsa_cs_config()
Dteles_cs.c43 static int protocol = 2; /* EURO-ISDN Default */ variable
44 module_param(protocol, int, 0);
131 icard.protocol = protocol; in teles_cs_config()
Disdnl3.c296 if (p->st->protocol != ISDN_PTYPE_NI1) in release_l3_process()
348 if (st->protocol == ISDN_PTYPE_EURO) { in setstack_l3dc()
353 if (st->protocol == ISDN_PTYPE_NI1) { in setstack_l3dc()
358 if (st->protocol == ISDN_PTYPE_1TR6) { in setstack_l3dc()
362 if (st->protocol == ISDN_PTYPE_LEASED) { in setstack_l3dc()
372 (st->protocol == ISDN_PTYPE_1TR6) ? "1tr6" : in setstack_l3dc()
373 (st->protocol == ISDN_PTYPE_EURO) ? "euro" : in setstack_l3dc()
374 (st->protocol == ISDN_PTYPE_NI1) ? "ni1" : in setstack_l3dc()
377 st->protocol = -1; in setstack_l3dc()
486 if (st->protocol != ISDN_PTYPE_NI1) in lc_start_delay_check()
Dconfig.c330 static int protocol[HISAX_MAX_CARDS] = { 0, }; variable
352 module_param_array(protocol, int, NULL, 0);
416 cards[i].protocol = DEFAULT_PROTO; in HiSax_setup()
423 cards[i].protocol = ints[j]; in HiSax_setup()
1050 if (card->protocol == ISDN_PTYPE_NI1) in hisax_cs_new()
1055 cs->protocol = card->protocol; in hisax_cs_new()
1156 init_tei(cs, cs->protocol); in hisax_cs_setup()
1187 (card->protocol == ISDN_PTYPE_1TR6) ? "1TR6" : in checkcard()
1188 (card->protocol == ISDN_PTYPE_EURO) ? "EDSS1" : in checkcard()
1189 (card->protocol == ISDN_PTYPE_LEASED) ? "LEASED" : in checkcard()
[all …]
Dst5481_init.c37 static int protocol = 2; /* EURO-ISDN Default */ variable
38 module_param(protocol, int, 0);
108 protocol) != 0) in probe_st5481()
/linux-4.1.27/drivers/usb/common/
Dusb-otg-fsm.c34 static int otg_set_protocol(struct otg_fsm *fsm, int protocol) in otg_set_protocol() argument
38 if (fsm->protocol != protocol) { in otg_set_protocol()
40 fsm->protocol, protocol); in otg_set_protocol()
42 if (fsm->protocol == PROTO_HOST) in otg_set_protocol()
44 else if (fsm->protocol == PROTO_GADGET) in otg_set_protocol()
50 if (protocol == PROTO_HOST) in otg_set_protocol()
52 else if (protocol == PROTO_GADGET) in otg_set_protocol()
57 fsm->protocol = protocol; in otg_set_protocol()
/linux-4.1.27/drivers/usb/class/
Dusblp.c155 } protocol[USBLP_MAX_PROTOCOLS]; member
185 usblp->protocol[p].alt_setting); in usblp_dump()
187 usblp->protocol[p].epwrite); in usblp_dump()
189 usblp->protocol[p].epread); in usblp_dump()
243 static int usblp_set_protocol(struct usblp *usblp, int protocol);
263 index = (usblp->ifnum<<8)|usblp->protocol[usblp->current_protocol].alt_setting; in usblp_ctrl_msg()
549 if (usblp->protocol[i].alt_setting >= 0) in usblp_ioctl()
705 usblp->protocol[usblp->current_protocol].epwrite->bEndpointAddress), in usblp_new_writeurb()
988 usblp->protocol[usblp->current_protocol].epread->bEndpointAddress), in usblp_submit_read()
1087 int protocol; in usblp_probe() local
[all …]
/linux-4.1.27/net/nfc/nci/
DKconfig3 tristate "NCI protocol support"
6 NCI (NFC Controller Interface) is a communication protocol between
15 bool "NCI over SPI protocol support"
18 NCI (NFC Controller Interface) is a communication protocol between
Dntf.c202 __u32 protocol; in nci_add_new_protocol() local
205 protocol = NFC_PROTO_JEWEL_MASK; in nci_add_new_protocol()
207 protocol = NFC_PROTO_MIFARE_MASK; in nci_add_new_protocol()
210 protocol = NFC_PROTO_ISO14443_MASK; in nci_add_new_protocol()
212 protocol = NFC_PROTO_ISO14443_B_MASK; in nci_add_new_protocol()
214 protocol = NFC_PROTO_FELICA_MASK; in nci_add_new_protocol()
216 protocol = NFC_PROTO_NFC_DEP_MASK; in nci_add_new_protocol()
218 protocol = NFC_PROTO_ISO15693_MASK; in nci_add_new_protocol()
220 protocol = nci_get_prop_rf_protocol(ndev, rf_protocol); in nci_add_new_protocol()
222 if (!(protocol & ndev->poll_prots)) { in nci_add_new_protocol()
[all …]
/linux-4.1.27/drivers/acpi/
Dsbshc.c126 static int acpi_smbus_transaction(struct acpi_smb_hc *hc, u8 protocol, in acpi_smbus_transaction() argument
147 if (!(protocol & 0x01)) { in acpi_smbus_transaction()
153 smb_hc_write(hc, ACPI_SMB_PROTOCOL, protocol); in acpi_smbus_transaction()
159 if (ret || !(protocol & 0x01)) in acpi_smbus_transaction()
161 switch (protocol) { in acpi_smbus_transaction()
184 int acpi_smbus_read(struct acpi_smb_hc *hc, u8 protocol, u8 address, in acpi_smbus_read() argument
187 return acpi_smbus_transaction(hc, protocol, address, command, data, 0); in acpi_smbus_read()
192 int acpi_smbus_write(struct acpi_smb_hc *hc, u8 protocol, u8 address, in acpi_smbus_write() argument
195 return acpi_smbus_transaction(hc, protocol, address, command, data, length); in acpi_smbus_write()
Dsbshc.h27 extern int acpi_smbus_read(struct acpi_smb_hc *hc, u8 protocol, u8 address,
29 extern int acpi_smbus_write(struct acpi_smb_hc *hc, u8 protocol, u8 slave_address,
/linux-4.1.27/fs/nfs/
DKconfig9 computers using Sun's Network File System protocol. To compile
20 Below you can choose which versions of the NFS protocol are
37 This option enables support for version 2 of the NFS protocol
47 This option enables support for version 3 of the NFS protocol
53 bool "NFS client support for the NFSv3 ACL protocol extension"
56 Some NFS servers support an auxiliary NFSv3 ACL protocol that
58 NFS version 3 protocol. This protocol extension allows
61 ACLs on local files whether this protocol is available or not.
64 protocol extension and you want your NFS client to allow
67 Most NFS servers don't support the Solaris NFSv3 ACL protocol
[all …]
/linux-4.1.27/tools/testing/selftests/net/
Dsocket.c12 int protocol; member
47 fd = socket(s->domain, s->type, s->protocol); in run_tests()
62 s->domain, s->type, s->protocol, in run_tests()
75 s->domain, s->type, s->protocol, in run_tests()
/linux-4.1.27/drivers/media/pci/saa7134/
Dsaa7134-input.c111 static int get_key_flydvb_trio(struct IR_i2c *ir, enum rc_type *protocol, in get_key_flydvb_trio() argument
158 *protocol = RC_TYPE_UNKNOWN; in get_key_flydvb_trio()
164 static int get_key_msi_tvanywhere_plus(struct IR_i2c *ir, enum rc_type *protocol, in get_key_msi_tvanywhere_plus() argument
206 *protocol = RC_TYPE_UNKNOWN; in get_key_msi_tvanywhere_plus()
213 static int get_key_kworld_pc150u(struct IR_i2c *ir, enum rc_type *protocol, in get_key_kworld_pc150u() argument
255 *protocol = RC_TYPE_UNKNOWN; in get_key_kworld_pc150u()
261 static int get_key_purpletv(struct IR_i2c *ir, enum rc_type *protocol, in get_key_purpletv() argument
280 *protocol = RC_TYPE_UNKNOWN; in get_key_purpletv()
286 static int get_key_hvr1110(struct IR_i2c *ir, enum rc_type *protocol, in get_key_hvr1110() argument
310 *protocol = RC_TYPE_RC5; in get_key_hvr1110()
[all …]
/linux-4.1.27/drivers/i2c/busses/
Di2c-amd8111.c197 unsigned char protocol, len, pec, temp[2]; in amd8111_access() local
200 protocol = (read_write == I2C_SMBUS_READ) ? AMD_SMB_PRTCL_READ in amd8111_access()
206 protocol |= AMD_SMB_PRTCL_QUICK; in amd8111_access()
217 protocol |= AMD_SMB_PRTCL_BYTE; in amd8111_access()
230 protocol |= AMD_SMB_PRTCL_BYTE_DATA; in amd8111_access()
247 protocol |= AMD_SMB_PRTCL_WORD_DATA | pec; in amd8111_access()
268 protocol |= AMD_SMB_PRTCL_BLOCK_DATA | pec; in amd8111_access()
288 protocol |= AMD_SMB_PRTCL_I2C_BLOCK_DATA; in amd8111_access()
303 protocol = AMD_SMB_PRTCL_PROC_CALL | pec; in amd8111_access()
322 protocol = AMD_SMB_PRTCL_BLOCK_PROC_CALL | pec; in amd8111_access()
[all …]
Di2c-nforce2.c191 unsigned char protocol, pec; in nforce2_access() local
195 protocol = (read_write == I2C_SMBUS_READ) ? NVIDIA_SMB_PRTCL_READ : in nforce2_access()
201 protocol |= NVIDIA_SMB_PRTCL_QUICK; in nforce2_access()
208 protocol |= NVIDIA_SMB_PRTCL_BYTE; in nforce2_access()
215 protocol |= NVIDIA_SMB_PRTCL_BYTE_DATA; in nforce2_access()
224 protocol |= NVIDIA_SMB_PRTCL_WORD_DATA | pec; in nforce2_access()
242 protocol |= NVIDIA_SMB_PRTCL_BLOCK_DATA | pec; in nforce2_access()
251 outb_p(protocol, NVIDIA_SMB_PRTCL); in nforce2_access()
Di2c-scmi.c86 unsigned char protocol; in acpi_smbus_cmi_access() local
100 protocol = ACPI_SMBUS_PRTCL_QUICK; in acpi_smbus_cmi_access()
111 protocol = ACPI_SMBUS_PRTCL_BYTE; in acpi_smbus_cmi_access()
123 protocol = ACPI_SMBUS_PRTCL_BYTE_DATA; in acpi_smbus_cmi_access()
133 protocol = ACPI_SMBUS_PRTCL_WORD_DATA; in acpi_smbus_cmi_access()
143 protocol = ACPI_SMBUS_PRTCL_BLOCK_DATA; in acpi_smbus_cmi_access()
161 protocol |= ACPI_SMBUS_PRTCL_READ; in acpi_smbus_cmi_access()
165 protocol |= ACPI_SMBUS_PRTCL_WRITE; in acpi_smbus_cmi_access()
172 mt_params[0].integer.value = protocol; in acpi_smbus_cmi_access()
/linux-4.1.27/net/can/
DKconfig10 communications protocol which was developed by Bosch in
13 More information on the CAN network protocol family PF_CAN
25 The raw CAN protocol option offers access to the CAN bus via
27 most cases where no higher level protocol is being used. The raw
29 To receive/send raw CAN messages, use AF_CAN with protocol CAN_RAW.
41 To use the Broadcast Manager, use AF_CAN with protocol CAN_BCM.
Daf_can.c118 static const struct can_proto *can_get_proto(int protocol) in can_get_proto() argument
123 cp = rcu_dereference(proto_tab[protocol]); in can_get_proto()
136 static int can_create(struct net *net, struct socket *sock, int protocol, in can_create() argument
145 if (protocol < 0 || protocol >= CAN_NPROTO) in can_create()
151 cp = can_get_proto(protocol); in can_create()
157 err = request_module("can-proto-%d", protocol); in can_create()
166 "(can-proto-%d) failed.\n", protocol); in can_create()
168 cp = can_get_proto(protocol); in can_create()
234 skb->protocol = htons(ETH_P_CAN); in can_send()
238 skb->protocol = htons(ETH_P_CANFD); in can_send()
[all …]
/linux-4.1.27/drivers/hsi/clients/
DKconfig20 If you say Y here, you will enable the CMT speech protocol used
21 by Nokia modems. If you say M the protocol will be available as
27 tristate "SSI protocol"
30 If you say Y here, you will enable the SSI protocol aka McSAAB.
/linux-4.1.27/arch/x86/xen/
Dplatform-pci-unplug.c41 char protocol; in check_platform_magic() local
49 protocol = inb(XEN_IOPORT_PROTOVER); in check_platform_magic()
52 protocol); in check_platform_magic()
54 switch (protocol) { in check_platform_magic()
/linux-4.1.27/net/bridge/
Dbr_netfilter.c64 (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_IP))
67 (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_IPV6))
70 (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_ARP))
75 return skb->protocol; in vlan_proto()
76 else if (skb->protocol == htons(ETH_P_8021Q)) in vlan_proto()
101 (skb->protocol == htons(ETH_P_PPP_SES) && \
106 (skb->protocol == htons(ETH_P_PPP_SES) && \
172 switch (skb->protocol) { in nf_bridge_encap_header_len()
263 skb->protocol = htons(ETH_P_8021Q); in nf_bridge_update_protocol()
266 skb->protocol = htons(ETH_P_PPP_SES); in nf_bridge_update_protocol()
[all …]
/linux-4.1.27/net/sched/
Dcls_rsvp.h81 u8 protocol; member
103 static inline unsigned int hash_dst(__be32 *dst, u8 protocol, u8 tunnelid) in hash_dst() argument
109 return (h ^ protocol ^ tunnelid) & 0xFF; in hash_dst()
139 u8 protocol; in rsvp_classify() local
161 protocol = nhptr->nexthdr; in rsvp_classify()
166 protocol = nhptr->protocol; in rsvp_classify()
172 h1 = hash_dst(dst, protocol, tunnelid); in rsvp_classify()
178 protocol == s->protocol && in rsvp_classify()
538 h1 = hash_dst(dst, pinfo ? pinfo->protocol : 0, pinfo ? pinfo->tunnelid : 0); in rsvp_change()
559 pinfo && pinfo->protocol == s->protocol && in rsvp_change()
[all …]
Dcls_api.c126 u32 protocol; in tc_ctl_tfilter() local
152 protocol = TC_H_MIN(t->tcm_info); in tc_ctl_tfilter()
211 (tp->protocol != protocol && protocol)) in tc_ctl_tfilter()
222 if (tca[TCA_KIND] == NULL || !protocol) in tc_ctl_tfilter()
266 tp->protocol = protocol; in tc_ctl_tfilter()
370 tcm->tcm_info = TC_H_MAKE(tp->prio, tp->protocol); in tcf_fill_node()
474 TC_H_MIN(tcm->tcm_info) != tp->protocol) in tc_dump_tfilter()
/linux-4.1.27/drivers/misc/ti-st/
DKconfig2 # TI's shared transport line discipline and the protocol
12 BT / FM and GPS combo chips. This enables protocol drivers
14 are returned to relevant protocol drivers based on their
/linux-4.1.27/include/net/
Dinet_ecn.h148 switch (skb->protocol) { in INET_ECN_set_ce()
215 if (skb->protocol == htons(ETH_P_IP)) in IP_ECN_decapsulate()
217 else if (skb->protocol == htons(ETH_P_IPV6)) in IP_ECN_decapsulate()
230 if (skb->protocol == htons(ETH_P_IP)) in IP6_ECN_decapsulate()
232 else if (skb->protocol == htons(ETH_P_IPV6)) in IP6_ECN_decapsulate()
Drtnetlink.h11 int __rtnl_register(int protocol, int msgtype,
13 void rtnl_register(int protocol, int msgtype,
15 int rtnl_unregister(int protocol, int msgtype);
16 void rtnl_unregister_all(int protocol);
Dip_tunnels.h126 u8 *protocol, struct flowi4 *fl4);
152 const struct iphdr *tnl_params, const u8 protocol);
155 u8 *protocol, struct flowi4 *fl4);
180 if (skb->protocol == htons(ETH_P_IP)) in ip_tunnel_get_dsfield()
182 else if (skb->protocol == htons(ETH_P_IPV6)) in ip_tunnel_get_dsfield()
Dfou.h15 u8 *protocol, struct flowi4 *fl4);
17 u8 *protocol, struct flowi4 *fl4);
Droute.h183 u32 mark, u8 protocol, int flow_flags);
186 u8 protocol, int flow_flags);
244 u32 tos, int oif, u8 protocol, in ip_route_connect_init() argument
254 protocol, flow_flags, dst, src, dport, sport); in ip_route_connect_init()
259 int oif, u8 protocol, in ip_route_connect() argument
266 ip_route_connect_init(fl4, dst, src, tos, oif, protocol, in ip_route_connect()
Dip_vs.h110 __s16 protocol; member
130 iphdr->protocol = iph->protocol; in ip_vs_fill_ip4hdr()
151 iphdr->protocol = ipv6_find_hdr(skb, &iphdr->len, -1, in ip_vs_fill_iph_skb()
161 iphdr->protocol = iph->protocol; in ip_vs_fill_iph_skb()
432 u16 protocol; member
509 __u16 protocol; member
529 __u16 protocol; /* Which protocol (TCP/UDP) */ member
617 u16 protocol; member
659 __u16 protocol; /* which protocol (TCP/UDP) */ member
722 __u16 protocol; /* which protocol (TCP/UDP) */ member
[all …]
/linux-4.1.27/drivers/isdn/hardware/mISDN/
Dhfcsusb.c61 static int hfcsusb_setup_bch(struct bchannel *bch, int protocol);
235 ret = hfcsusb_setup_bch(bch, ch->protocol); in hfcusb_l2l1B()
267 phi->dch.ch.protocol = hw->protocol; in hfcsusb_ph_info()
272 phi->bch[i].protocol = hw->bch[i].ch.protocol; in hfcsusb_ph_info()
313 (hw->protocol == ISDN_P_NT_S0) ? "NT" : "TE"); in hfcusb_l2l1D()
315 if (hw->protocol == ISDN_P_NT_S0) { in hfcusb_l2l1D()
339 if (hw->protocol == ISDN_P_NT_S0) { in hfcusb_l2l1D()
433 if (rq->protocol == ISDN_P_NONE) in open_dchannel()
452 hw->protocol = rq->protocol; in open_dchannel()
453 if (rq->protocol == ISDN_P_TE_S0) { in open_dchannel()
[all …]
Dhfcpci.c110 unsigned char protocol; member
185 if (hc->hw.protocol == ISDN_P_NT_S0) { in hfcpci_setmode()
1050 if (hc->hw.protocol == ISDN_P_NT_S0) { in ph_state()
1194 if (hc->hw.protocol == ISDN_P_NT_S0) { in hfcpci_int()
1252 mode_hfcpci(struct bchannel *bch, int bc, int protocol) in mode_hfcpci() argument
1261 bch->state, protocol, bch->nr, bc); in mode_hfcpci()
1273 } else if (test_bit(HFC_CFG_PCM, &hc->cfg) && (protocol > ISDN_P_NONE)) in mode_hfcpci()
1281 if (protocol != ISDN_P_NONE) { in mode_hfcpci()
1294 switch (protocol) { in mode_hfcpci()
1329 bch->state = protocol; in mode_hfcpci()
[all …]
Dhfcmulti.c863 if (hc->chan[ch].protocol != ISDN_P_B_RAW) in vpm_echocan_on()
896 if (hc->chan[ch].protocol != ISDN_P_B_RAW) in vpm_echocan_off()
1685 if (dch->dev.D.protocol == ISDN_P_NT_S0) in hfcmulti_leds()
1749 if (dch->dev.D.protocol == ISDN_P_NT_S0) in hfcmulti_leds()
1796 if (dch->dev.D.protocol == ISDN_P_NT_S0) in hfcmulti_leds()
1983 (hc->chan[ch].protocol == ISDN_P_B_RAW) && in hfcmulti_tx()
2218 (hc->chan[ch].protocol == ISDN_P_B_RAW) && in hfcmulti_rx()
2607 dch->dev.D.protocol == ISDN_P_TE_S0) { in ph_state_irq()
2616 if (dch->dev.D.protocol == ISDN_P_NT_S0) in ph_state_irq()
2874 mode_hfcmulti(struct hfc_multi *hc, int ch, int protocol, int slot_tx, in mode_hfcmulti() argument
[all …]
Davmfritz.c349 modehdlc(struct bchannel *bch, int protocol) in modehdlc() argument
357 '@' + bch->nr, bch->state, protocol, bch->nr); in modehdlc()
361 switch (protocol) { in modehdlc()
375 bch->state = protocol; in modehdlc()
385 bch->state = protocol; in modehdlc()
395 pr_info("%s: protocol not known %x\n", fc->name, protocol); in modehdlc()
714 ret = modehdlc(bch, ch->protocol); in avm_l2l1B()
865 ch->protocol = ISDN_P_NONE; in avm_bctrl()
914 if (rq->protocol == ISDN_P_NONE) in open_bchannel()
919 bch->ch.protocol = rq->protocol; in open_bchannel()
[all …]
/linux-4.1.27/net/mpls/
Dmpls_gso.c38 mpls_protocol = skb->protocol; in mpls_gso_segment()
39 skb->protocol = skb->inner_protocol; in mpls_gso_segment()
52 skb->protocol = mpls_protocol; in mpls_gso_segment()
/linux-4.1.27/tools/usb/usbip/
DREADME148 : (Defined at Interface level) / unknown subclass / unknown protocol (00/00/00)
153 : (Defined at Interface level) / unknown subclass / unknown protocol (00/00/00)
158 : (Defined at Interface level) / unknown subclass / unknown protocol (00/00/00)
159 : 0 - Vendor Specific Class / unknown subclass / unknown protocol (ff/00/00)
163 : (Defined at Interface level) / unknown subclass / unknown protocol (00/00/00)
164 : 0 - Data / unknown subclass / unknown protocol (0a/ff/00)
165 : 1 - Audio / Control Device / unknown protocol (01/01/00)
166 : 2 - Audio / Streaming / unknown protocol (01/02/00)
/linux-4.1.27/net/vmw_vsock/
DKconfig2 # Vsock protocol
6 tristate "Virtual Socket protocol"
8 Virtual Socket Protocol is a socket protocol similar to TCP/IP
/linux-4.1.27/Documentation/networking/
Dsctp.txt7 reliable transport protocol, with congestion control, support for
9 RFC2960 defines the core protocol. The IETF SIGTRAN working group originally
10 developed the SCTP protocol and later handed the protocol over to the
Dphonet.txt1 Linux Phonet protocol family
7 Phonet is a packet protocol used by Nokia cellular modems for both IPC
43 protocol (much like port numbers in IP world).
89 Low-level datagram protocol
93 protocol from the PF_PHONET family. Each socket is bound to one of the
110 This protocol follows the SOCK_DGRAM connection-less semantics.
131 Phonet Pipe protocol
134 The Phonet Pipe protocol is a simple sequenced packets protocol
188 The pipe protocol provides two socket options at the SOL_PNPIPE level:
Dxfrm_proc.txt23 i.e. Either inbound SPI, address, or IPsec protocol at SA is wrong
25 Transformation protocol specific error
61 Transformation protocol specific error
Dvxlan.txt4 The VXLAN protocol is a tunnelling protocol that is designed to
9 Vmware and Brocade. The protocol runs over UDP using a single
Dx25-iface.txt73 The X.25 packet layer protocol depends on a reliable datalink service.
74 The LAPB protocol provides such reliable service. But this reliability
84 The X.25 packet layer protocol will detect this and reset the virtual
101 driver's LAPB protocol must not confirm reception of the frame
103 This will reliably suppress packet loss. The LAPB protocol will
123 of the LAPB protocol's flow-control service.
D00-INDEX6 - info on the 6pack protocol, an alternative to KISS for AX.25
36 - B.A.T.M.A.N routing protocol on top of layer 2 Ethernet Frames.
44 - documentation on CAN protocol family.
132 - User guide to the L2TP tunnel protocol.
166 - The Phonet packet protocol used in Nokia cellular modems.
186 - Guide to the RxRPC protocol.
192 - Notes on the Linux kernel implementation of the SCTP protocol.
220 - UDP-Lite protocol (RFC 3828) introduction.
/linux-4.1.27/Documentation/x86/
Dboot.txt11 Currently, the following versions of the Linux/x86 boot protocol exist.
24 Protocol 2.02: (Kernel 2.4.0-test3-pre3) New command line protocol.
42 Protocol 2.07: (Kernel 2.6.24) Added paravirtualised boot protocol.
53 Protocol 2.10: (Kernel 2.6.31) Added a protocol for relaxed alignment
58 protocol entry point.
97 the 2.02 protocol resolves that problem.
114 For a modern bzImage kernel with boot protocol version >= 2.02, a
170 0206/2 2.00+ version Boot protocol version supported
175 0211/1 2.00+ loadflags Boot protocol option flags
189 0236/2 2.12+ xloadflags Boot protocol option flags
[all …]
/linux-4.1.27/drivers/tty/ipwireless/
Dhardware.c135 unsigned char protocol:3; member
143 unsigned char protocol:3; member
298 unsigned char protocol; member
338 unsigned int protocol; member
350 switch (hdr->protocol) { in data_type()
477 pkt.hdr_first.protocol = packet->protocol; in do_send_packet()
619 unsigned int protocol, in queue_received_packet() argument
638 if (protocol == TL_PROTOCOLID_COM_DATA) { in queue_received_packet()
652 (*assem)->protocol = protocol; in queue_received_packet()
676 packet->protocol = protocol; in queue_received_packet()
[all …]
/linux-4.1.27/drivers/isdn/sc/
Dcommand.c238 int protocol, channel; in setl2() local
244 protocol = arg >> 8; in setl2()
246 sc_adapter[card]->channel[channel].l2_proto = protocol; in setl2()
258 (unsigned int *)protocol); in setl2()
269 int protocol = channel >> 8; in setl3() local
276 sc_adapter[card]->channel[channel].l3_proto = protocol; in setl3()
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd_modparams.c139 static int protocol = 3; variable
140 module_param(protocol, int, 0644);
141 MODULE_PARM_DESC(protocol, "protocol version");
181 ksocknal_tunables.ksnd_protocol = &protocol; in ksocknal_tunables_init()
/linux-4.1.27/net/caif/
Dchnl_net.c104 skb->protocol = htons(ETH_P_IP); in chnl_recv_cb()
107 skb->protocol = htons(ETH_P_IPV6); in chnl_recv_cb()
116 if (priv->conn_req.protocol == CAIFPROTO_DATAGRAM_LOOP) in chnl_recv_cb()
240 if (priv->conn_req.protocol == CAIFPROTO_DATAGRAM_LOOP) in chnl_net_start_xmit()
414 priv->conn_req.protocol = CAIFPROTO_DATAGRAM; in ipcaif_net_setup()
435 loop = priv->conn_req.protocol == CAIFPROTO_DATAGRAM_LOOP; in ipcaif_fill_info()
459 conn_req->protocol = CAIFPROTO_DATAGRAM_LOOP; in caif_netlink_parms()
461 conn_req->protocol = CAIFPROTO_DATAGRAM; in caif_netlink_parms()
483 caifdev->conn_req.protocol = CAIFPROTO_DATAGRAM_LOOP; in ipcaif_newlink()
/linux-4.1.27/fs/lockd/
Dhost.c56 const unsigned short protocol; /* transport to search for*/ member
143 host->h_proto = ni->protocol; in nlm_alloc_host()
211 const unsigned short protocol, in nlmclnt_lookup_host() argument
221 .protocol = protocol, in nlmclnt_lookup_host()
235 (protocol == IPPROTO_UDP ? "udp" : "tcp")); in nlmclnt_lookup_host()
250 if (host->h_proto != protocol) in nlmclnt_lookup_host()
334 .protocol = rqstp->rq_prot, in nlmsvc_lookup_host()
362 if (host->h_proto != ni.protocol) in nlmsvc_lookup_host()
448 .protocol = host->h_proto, in nlm_bind_host()
/linux-4.1.27/drivers/usb/usbip/
DREADME2 - more discussion about the protocol
5 - document the protocol
/linux-4.1.27/Documentation/i2c/
Dsmbus-protocol4 The following is a summary of the SMBus protocol. It applies to
5 all revisions of the protocol (1.0, 1.1, and 2.0).
6 Certain protocol features which are not supported by
9 Some adapters understand only the SMBus (System Management Bus) protocol,
10 which is a subset from the I2C protocol. Fortunately, many devices use
15 I2C protocol). This makes it possible to use the device driver on both
20 Below is a list of SMBus protocol operations, and the functions executing
21 them. Note that the names used in the SMBus protocol specifications usually
23 single data byte, the functions using SMBus protocol operation names execute
24 a different protocol operation entirely.
[all …]
Dsummary4 I2C (pronounce: I squared C) is a protocol developed by Philips. It is a
5 slow two-wire protocol (variable speed, up to 400 kHz), with a high speed
11 SMBus (System Management Bus) is based on the I2C protocol, and is mostly
21 implement all the common SMBus protocol semantics or messages.
/linux-4.1.27/net/tipc/
DKconfig9 The Transparent Inter Process Communication (TIPC) protocol is
10 specially designed for intra cluster communication. This protocol
16 This protocol support is also available as a module ( = code which
/linux-4.1.27/net/ipv6/netfilter/
Dnf_reject_ipv6.c69 __u8 protocol, int hoplimit) in nf_reject_ip6hdr_put() argument
81 ip6h->nexthdr = protocol; in nf_reject_ip6hdr_put()
85 nskb->protocol = htons(ETH_P_IPV6); in nf_reject_ip6hdr_put()
201 nskb->protocol = htons(ETH_P_IPV6); in nf_send_reset6()
203 if (dev_hard_header(nskb, nskb->dev, ntohs(nskb->protocol), in nf_send_reset6()
/linux-4.1.27/tools/usb/usbip/libsrc/
Dusbip_common.c263 uint8_t subclass, uint8_t protocol) in usbip_names_get_class() argument
267 if (class == 0 && subclass == 0 && protocol == 0) { in usbip_names_get_class()
268 snprintf(buff, size, "(Defined at Interface level) (%02x/%02x/%02x)", class, subclass, protocol); in usbip_names_get_class()
272 p = names_protocol(class, subclass, protocol); in usbip_names_get_class()
284 snprintf(buff, size, "%s / %s / %s (%02x/%02x/%02x)", c, s, p, class, subclass, protocol); in usbip_names_get_class()
Dnames.c67 struct protocol { struct
68 struct protocol *next; argument
99 static struct protocol *protocols[HASHSZ] = { NULL, };
148 struct protocol *p; in names_protocol()
288 struct protocol *p; in new_protocol()
297 p = my_malloc(sizeof(struct protocol) + strlen(name)); in new_protocol()
/linux-4.1.27/Documentation/
Dmailbox.txt8 proprietary and implement non-standard protocol. So even if two
15 ever deal at client's protocol level.
27 or it can never know (the client knows by way of the protocol).
50 * dependent upon the protocol. This is just an example.
92 dc_async->cl.knows_txdone = false; /* depending upon protocol */
102 dc_sync->cl.knows_txdone = false; /* depending upon protocol */
Dpnp.txt98 forwards commands to the proper protocol. This makes writing PnP drivers
110 - use this to register a new PnP protocol
113 - use this function to remove a PnP protocol from the Plug and Play Layer
129 This section contains information for PnP protocol developers.
140 Requirements for a Linux PnP protocol:
141 1.) the protocol must use EISA IDs
142 2.) the protocol must inform the PnP Layer of a device's current configuration
145 The following are PnP protocol related functions:
163 For more information consult the source of a protocol such as
Dhsi.txt6 High Speed Syncronous Interface (HSI) is a fullduplex, low latency protocol,
14 The serial protocol uses two signals, DATA and FLAG as combined data and clock
45 implement a protocol used on the HSI interface. These client drivers can
Dparport.txt158 EPP Hardware acceleration for EPP protocol
160 ECP Hardware acceleration for ECP protocol
236 o interrupt-driven, protocol in software
237 o interrupt-driven, protocol in hardware using PIO
238 o interrupt-driven, protocol in hardware using DMA
243 For normal printer protocol, having IEEE 1284 modes enabled or not
246 To turn off the 'protocol in hardware' code paths, disable
256 hardware), to make it use interrupt-driven in-software protocol.
/linux-4.1.27/include/media/
Dir-kbd-i2c.h23 int (*get_key)(struct IR_i2c *ir, enum rc_type *protocol,
48 int (*get_key)(struct IR_i2c *ir, enum rc_type *protocol,
/linux-4.1.27/Documentation/networking/caif/
DLinux-CAIF.txt10 CAIF is a MUX protocol used by ST-Ericsson cellular modems for
56 CAIF Core layer implements the CAIF protocol as defined by ST-Ericsson.
57 It implements the CAIF protocol stack in a layered approach, where
77 The CAIF protocol can be divided into two parts: Support functions and Protocol
82 and for adding/extracting header and trailers to protocol packets.
160 CAIF Core protocol. The IP Interface and CAIF socket have an instance of
161 'struct cflayer', just like the CAIF Core protocol stack.
/linux-4.1.27/Documentation/blockdev/
Dparide.txt19 and the communication protocol provides operations for reading and writing
67 The third component of PARIDE is a set of low-level protocol drivers
102 You can actually select all the protocol modules, and allow the PARIDE
105 For the "brand-name" products listed above, here are the protocol
138 can find, and all protocol types that have been installed, until it finds
142 protocol identification number and, for some devices, the drive's
148 paride: bpck registered as protocol 0
149 paride: epat registered as protocol 1
152 different protocol selections. You should note these numbers as you
169 is the parallel port base address, the 0 is the protocol registration
[all …]
/linux-4.1.27/drivers/net/wan/
Dhdlc_cisco.c38 __be16 protocol; member
90 data->protocol = htons(type); in cisco_hard_header()
141 switch (data->protocol) { in cisco_type_trans()
146 return data->protocol; in cisco_type_trans()
171 switch (ntohs(data->protocol)) { in cisco_rx()
248 netdev_info(dev, "Unsupported protocol %x\n", ntohs(data->protocol)); in cisco_rx()
Dhdlc_ppp.c55 __be16 protocol; member
152 switch (data->protocol) { in ppp_type_trans()
183 data->protocol = htons(PID_IP); in ppp_hard_header()
186 data->protocol = htons(PID_IPV6); in ppp_hard_header()
191 data->protocol = htons(type); in ppp_hard_header()
194 data->protocol = 0; in ppp_hard_header()
456 pid = ntohs(hdr->protocol); in ppp_rx()
461 ++ppp->seq, skb->len + 2, &hdr->protocol); in ppp_rx()
Dlapbether.c145 skb->protocol = x25_type_trans(skb, dev); in lapbeth_data_indication()
199 skb->protocol = htons(ETH_P_X25); in lapbeth_data_transmit()
229 skb->protocol = x25_type_trans(skb, dev); in lapbeth_connected()
246 skb->protocol = x25_type_trans(skb, dev); in lapbeth_disconnected()
/linux-4.1.27/drivers/ata/
Dsata_dwc_460ex.c218 static const char *get_prot_descript(u8 protocol) in get_prot_descript() argument
220 switch ((enum ata_tf_protocols)protocol) { in get_prot_descript()
258 tf->command, get_prot_descript(tf->protocol), tf->flags, in sata_dwc_tf_dump()
541 __func__, get_prot_descript(qc->tf.protocol)); in sata_dwc_isr()
543 if (ata_is_dma(qc->tf.protocol)) { in sata_dwc_isr()
561 } else if (ata_is_pio(qc->tf.protocol)) { in sata_dwc_isr()
631 get_prot_descript(qc->tf.protocol)); in sata_dwc_isr()
632 if (ata_is_dma(qc->tf.protocol)) { in sata_dwc_isr()
718 get_prot_descript(qc->tf.protocol), in sata_dwc_dma_xfer_complete()
723 if (ata_is_dma(qc->tf.protocol)) { in sata_dwc_dma_xfer_complete()
[all …]
Dsata_sx4.c377 if ((tf->protocol == ATA_PROT_DMA) && (!(tf->flags & ATA_TFLAG_WRITE))) in pdc20621_ata_pkt()
379 else if (tf->protocol == ATA_PROT_NODATA) in pdc20621_ata_pkt()
389 if (tf->protocol == ATA_PROT_NODATA) in pdc20621_ata_pkt()
433 if ((tf->protocol == ATA_PROT_DMA) && (!(tf->flags & ATA_TFLAG_WRITE))) in pdc20621_host_pkt()
551 switch (qc->tf.protocol) { in pdc20621_qc_prep()
657 if (rw && qc->tf.protocol == ATA_PROT_DMA) { in pdc20621_packet_start()
682 switch (qc->tf.protocol) { in pdc20621_qc_issue()
715 if ((qc->tf.protocol == ATA_PROT_DMA) && /* read */ in pdc20621_host_intr()
741 } else if (qc->tf.protocol == ATA_PROT_DMA) { /* write */ in pdc20621_host_intr()
769 } else if (qc->tf.protocol == ATA_PROT_NODATA) { in pdc20621_host_intr()
[all …]
/linux-4.1.27/net/irda/ircomm/
DKconfig2 tristate "IrCOMM protocol"
5 Say Y here if you want to build support for the IrCOMM protocol.
/linux-4.1.27/arch/um/include/shared/
Dnet_kern.h33 unsigned short (*protocol)(struct sk_buff *); member
47 unsigned short (*protocol)(struct sk_buff *); member
/linux-4.1.27/net/packet/
DKconfig8 The Packet protocol is used by applications which communicate
10 protocol implemented in the kernel, e.g. tcpdump. If you want them
/linux-4.1.27/net/irda/irnet/
DKconfig2 tristate "IrNET protocol"
5 Say Y here if you want to build support for the IrNET protocol.
/linux-4.1.27/net/bluetooth/bnep/
DKconfig2 tristate "BNEP protocol support"
23 This option enables the protocol filter support for BNEP.
/linux-4.1.27/include/linux/netfilter/
Dnf_conntrack_proto_gre.h52 __be16 protocol; member
59 __be16 protocol; /* should be GRE_PROTOCOL_PPTP */ member
/linux-4.1.27/net/x25/
Dx25_dev.c174 skb->protocol = htons(ETH_P_X25); in x25_establish_link()
201 skb->protocol = htons(ETH_P_X25); in x25_terminate_link()
228 skb->protocol = htons(ETH_P_X25); in x25_send_frame()
/linux-4.1.27/drivers/staging/ozwpan/
DREADME5 The USB requests are converted into a layer 2 network protocol and transmitted
22 The protocol used over the network does not directly mimic the USB bus
25 ozprotocol.h for data structures used in the protocol).
/linux-4.1.27/net/xfrm/
Dxfrm_input.c81 static int xfrm_rcv_cb(struct sk_buff *skb, unsigned int family, u8 protocol, in xfrm_rcv_cb() argument
90 ret = afinfo->callback(skb, protocol, err); in xfrm_rcv_cb()
172 inner_mode = xfrm_ip2inner_mode(x, XFRM_MODE_SKB_CB(skb)->protocol); in xfrm_prepare_input()
177 skb->protocol = inner_mode->afinfo->eth_proto; in xfrm_prepare_input()
327 XFRM_MODE_SKB_CB(skb)->protocol = nexthdr; in xfrm_input()
332 inner_mode = xfrm_ip2inner_mode(x, XFRM_MODE_SKB_CB(skb)->protocol); in xfrm_input()
/linux-4.1.27/drivers/media/pci/ttpci/
Dav7110_ir.c113 switch (ir->protocol) { in av7110_emit_key()
136 printk("%s invalid protocol %x\n", __func__, ir->protocol); in av7110_emit_key()
232 if ((av7110->ir.protocol & 1) != ir_protocol[i] || in av7110_check_ir_config()
240 av7110->ir.protocol = IR_RCMM; in av7110_check_ir_config()
243 av7110->ir.protocol = IR_RC5_EXT; in av7110_check_ir_config()
246 av7110->ir.protocol = IR_RC5; in av7110_check_ir_config()
/linux-4.1.27/net/l2tp/
DKconfig21 connections. L2TP is also used as a VPN protocol, popular
29 userland daemon handles L2TP the control protocol (tunnel
76 The L2TPv3 protocol defines two possible encapsulations for
81 in IP packets, it used IP protocol number 115, so this port
96 used as a control protocol and for data encapsulation to set
/linux-4.1.27/net/9p/
DKconfig2 # 9P protocol configuration
10 Plan 9 resource sharing via the 9P2000 protocol.
/linux-4.1.27/drivers/ide/
Dide-taskfile.c69 cmd.protocol = ATA_PROT_PIO; in taskfile_lib_get_identify()
87 if (orig_cmd->protocol == ATA_PROT_PIO && in do_rw_taskfile()
122 switch (cmd->protocol) { in do_rw_taskfile()
311 if (cmd->protocol == ATA_PROT_PIO && in ide_error_cmd()
462 cmd->protocol = ATA_PROT_NODATA; in ide_no_data_taskfile()
576 cmd.protocol = ATA_PROT_DMA; in ide_taskfile_ioctl()
590 cmd.protocol = ATA_PROT_PIO; in ide_taskfile_ioctl()
609 cmd.protocol = ATA_PROT_PIO; in ide_taskfile_ioctl()
617 cmd.protocol = ATA_PROT_NODATA; in ide_taskfile_ioctl()
/linux-4.1.27/drivers/media/usb/tm6000/
Dtm6000-input.c170 enum rc_type protocol; in tm6000_ir_keydown() local
179 protocol = RC_TYPE_RC5; in tm6000_ir_keydown()
183 protocol = RC_TYPE_NEC; in tm6000_ir_keydown()
187 protocol = RC_TYPE_OTHER; in tm6000_ir_keydown()
193 __func__, protocol, scancode); in tm6000_ir_keydown()
194 rc_keydown(ir->rc, protocol, scancode, 0); in tm6000_ir_keydown()
/linux-4.1.27/drivers/net/wimax/i2400m/
Dnetdev.c439 void *_eth_hdr, __be16 protocol) in i2400m_rx_fake_eth_header() argument
447 eth_hdr->h_proto = protocol; in i2400m_rx_fake_eth_header()
517 skb->protocol = htons(ETH_P_IP); in i2400m_net_rx()
557 int protocol; in i2400m_net_erx() local
564 protocol = ETH_P_IP; in i2400m_net_erx()
570 skb->protocol = htons(ETH_P_IP); in i2400m_net_erx()
/linux-4.1.27/Documentation/misc-devices/mei/
Dmei.txt18 each client has its own protocol. The protocol is message-based with a
36 - Selective network isolation of Ethernet and IP protocol flows based
41 starting with Release 6.0) over HTTP/S or WS-Management protocol over
153 using a protocol called Intel AMT Port Forwarding Protocol (Intel APF protocol).
154 The protocol is used to maintain multiple sessions with Intel AMT from a
157 See the protocol specification in the Intel AMT Software Development Kit (SDK)
/linux-4.1.27/drivers/staging/octeon/
Dethernet-tx.c414 if (USE_HW_TCPUDP_CHECKSUM && (skb->protocol == htons(ETH_P_IP)) && in cvm_oct_xmit()
417 && ((ip_hdr(skb)->protocol == IPPROTO_TCP) in cvm_oct_xmit()
418 || (ip_hdr(skb)->protocol == IPPROTO_UDP))) { in cvm_oct_xmit()
624 if (skb->protocol == htons(ETH_P_IP)) { in cvm_oct_xmit_pow()
633 (ip_hdr(skb)->protocol == IPPROTO_TCP) in cvm_oct_xmit_pow()
634 || (ip_hdr(skb)->protocol == IPPROTO_UDP); in cvm_oct_xmit_pow()
677 work->word2.snoip.is_rarp = skb->protocol == htons(ETH_P_RARP); in cvm_oct_xmit_pow()
678 work->word2.snoip.is_arp = skb->protocol == htons(ETH_P_ARP); in cvm_oct_xmit_pow()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c369 ip->protocol = 0; in i40e_add_del_fdir_ipv4()
1441 skb->transport_header += (skb->protocol == htons(ETH_P_8021Q) || in i40e_rx_checksum()
1442 skb->protocol == htons(ETH_P_8021AD)) in i40e_rx_checksum()
1445 if ((ip_hdr(skb)->protocol == IPPROTO_UDP) && in i40e_rx_checksum()
1675 skb->protocol = eth_type_trans(skb, rx_ring->netdev); in i40e_clean_rx_irq_ps()
1809 skb->protocol = eth_type_trans(skb, rx_ring->netdev); in i40e_clean_rx_irq_1buf()
1932 u32 flags, __be16 protocol) in i40e_atr() argument
1961 if (protocol == htons(ETH_P_IP)) { in i40e_atr()
1962 if (hdr.ipv4->protocol != IPPROTO_TCP) in i40e_atr()
1967 } else if (protocol == htons(ETH_P_IPV6)) { in i40e_atr()
[all …]
/linux-4.1.27/sound/soc/jz4740/
DKconfig13 tristate "SoC Audio (I2S protocol) for Ingenic JZ4740 SoC"
16 Say Y if you want to use I2S protocol and I2S codec on Ingenic JZ4740
/linux-4.1.27/drivers/s390/net/
Dctcm_main.h143 __u16 protocol; /* protocol of this channel (4 = MPC) */ member
213 __u16 protocol; member
295 #define IS_MPC(p) ((p)->protocol == CTCM_PROTO_MPC)
Dctcm_main.c90 if ((ch->protocol == CTCM_PROTO_S390) && in ctcm_unpack_skb()
109 pskb->protocol = ntohs(header->type); in ctcm_unpack_skb()
159 skb->protocol = pskb->protocol; in ctcm_unpack_skb()
488 header.type = skb->protocol; in ctcm_transmit_skb()
506 header.type = skb->protocol; in ctcm_transmit_skb()
693 if (skb->protocol == ntohs(ETH_P_SNAP)) { in ctcmpc_transmit_skb()
748 if (skb->protocol == ntohs(ETH_P_SNAP)) { in ctcmpc_transmit_skb()
961 newskb->protocol = skb->protocol; in ctcmpc_tx()
1360 __func__, dev_name(&cdev->dev), type, priv->protocol); in add_channel()
1366 ch->protocol = priv->protocol; in add_channel()
[all …]
Dctcm_sysfs.c143 return sprintf(buf, "%d\n", priv->protocol); in ctcm_proto_show()
161 priv->protocol = value; in ctcm_proto_store()
190 static DEVICE_ATTR(protocol, 0644, ctcm_proto_show, ctcm_proto_store);
/linux-4.1.27/drivers/net/wireless/mwifiex/
Duap_cmd.c33 bss_config->protocol = PROTOCOL_NO_SECURITY; in mwifiex_set_secure_params()
65 bss_config->protocol = PROTOCOL_WPA; in mwifiex_set_secure_params()
70 bss_config->protocol |= PROTOCOL_WPA2; in mwifiex_set_secure_params()
77 bss_config->protocol = PROTOCOL_WPA; in mwifiex_set_secure_params()
82 bss_config->protocol |= PROTOCOL_WPA2; in mwifiex_set_secure_params()
119 bss_config->protocol = PROTOCOL_STATIC_WEP; in mwifiex_set_secure_params()
578 if ((bss_cfg->protocol & PROTOCOL_WPA) || in mwifiex_uap_bss_param_prepare()
579 (bss_cfg->protocol & PROTOCOL_WPA2) || in mwifiex_uap_bss_param_prepare()
580 (bss_cfg->protocol & PROTOCOL_EAP)) in mwifiex_uap_bss_param_prepare()
596 if (bss_cfg->protocol) { in mwifiex_uap_bss_param_prepare()
[all …]
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c924 skb->transport_header += (skb->protocol == htons(ETH_P_8021Q) || in i40e_rx_checksum()
925 skb->protocol == htons(ETH_P_8021AD)) in i40e_rx_checksum()
928 if ((ip_hdr(skb)->protocol == IPPROTO_UDP) && in i40e_rx_checksum()
1143 skb->protocol = eth_type_trans(skb, rx_ring->netdev); in i40e_clean_rx_irq_ps()
1265 skb->protocol = eth_type_trans(skb, rx_ring->netdev); in i40e_clean_rx_irq_1buf()
1370 __be16 protocol = skb->protocol; in i40e_tx_prepare_vlan_flags() local
1373 if (protocol == htons(ETH_P_8021Q) && in i40e_tx_prepare_vlan_flags()
1382 skb->protocol = vlan_get_protocol(skb); in i40e_tx_prepare_vlan_flags()
1391 } else if (protocol == htons(ETH_P_8021Q)) { in i40e_tx_prepare_vlan_flags()
1397 protocol = vhdr->h_vlan_encapsulated_proto; in i40e_tx_prepare_vlan_flags()
[all …]
/linux-4.1.27/drivers/net/ethernet/sfc/
Dtx.c837 __be16 protocol; member
853 __be16 protocol = skb->protocol; in efx_tso_check_protocol() local
856 protocol); in efx_tso_check_protocol()
857 if (protocol == htons(ETH_P_8021Q)) { in efx_tso_check_protocol()
859 protocol = veh->h_vlan_encapsulated_proto; in efx_tso_check_protocol()
862 if (protocol == htons(ETH_P_IP)) { in efx_tso_check_protocol()
863 EFX_BUG_ON_PARANOID(ip_hdr(skb)->protocol != IPPROTO_TCP); in efx_tso_check_protocol()
865 EFX_BUG_ON_PARANOID(protocol != htons(ETH_P_IPV6)); in efx_tso_check_protocol()
872 return protocol; in efx_tso_check_protocol()
1025 if (st->protocol == htons(ETH_P_IP)) { in tso_start()
[all …]
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c309 u16 protocol = ntohs(skb->protocol); in qlcnic_send_filter() local
321 if (protocol == ETH_P_8021Q) { in qlcnic_send_filter()
431 if (inner_ip_hdr(skb)->protocol == IPPROTO_UDP) in qlcnic_tx_encap_pkt()
468 u16 protocol = ntohs(skb->protocol); in qlcnic_tx_pkt() local
471 if (protocol == ETH_P_8021Q) { in qlcnic_tx_pkt()
475 protocol = ntohs(vh->h_vlan_encapsulated_proto); in qlcnic_tx_pkt()
502 opcode = (protocol == ETH_P_IPV6) ? QLCNIC_TX_TCP_LSO6 : in qlcnic_tx_pkt()
556 if (protocol == ETH_P_IP) { in qlcnic_tx_pkt()
557 l4proto = ip_hdr(skb)->protocol; in qlcnic_tx_pkt()
563 } else if (protocol == ETH_P_IPV6) { in qlcnic_tx_pkt()
[all …]
/linux-4.1.27/drivers/staging/nvec/
DREADME3 This is an implementation of the NVEC protocol used to communicate with an
8 There is no written documentation of the protocol available to the public,
/linux-4.1.27/include/uapi/linux/
Dip_vs.h132 __u16 protocol; member
194 __u16 protocol; member
234 __u16 protocol; member
/linux-4.1.27/Documentation/devicetree/bindings/media/
Dst-rc.txt11 protocol used for receiving remote control signals. rx-mode should
14 protocol used for transmitting remote control signals. tx-mode should
/linux-4.1.27/drivers/media/usb/cx231xx/
Dcx231xx-input.c27 static int get_key_isdbt(struct IR_i2c *ir, enum rc_type *protocol, in get_key_isdbt() argument
54 *protocol = RC_TYPE_OTHER; in get_key_isdbt()
/linux-4.1.27/include/net/phonet/
Dphonet.h111 int phonet_proto_register(unsigned int protocol, struct phonet_protocol *pp);
112 void phonet_proto_unregister(unsigned int protocol, struct phonet_protocol *pp);
/linux-4.1.27/net/irda/
DKconfig2 # IrDA protocol configuration
37 bool "Ultra (connectionless) protocol"
40 Say Y here to support the connectionless Ultra IRDA protocol.
42 (watch, beacon) without the overhead of the IrDA protocol (no handshaking,
/linux-4.1.27/Documentation/input/
Dmulti-touch-protocol.txt12 document describes the multi-touch (MT) protocol which allows kernel
15 The protocol is divided into two types, depending on the capabilities of the
16 hardware. For devices handling anonymous contacts (type A), the protocol
18 devices capable of tracking identifiable contacts (type B), the protocol
28 applications, the MT protocol can be implemented on top of the ST protocol
46 The main difference between the stateless type A protocol and the stateful
47 type B slot protocol lies in the usage of identifiable contacts to reduce
48 the amount of data sent to userspace. The slot protocol requires the use of
217 In the type B protocol, ABS_MT_TOOL_TYPE and ABS_MT_TRACKING_ID are
315 event should be omitted. The protocol currently supports MT_TOOL_FINGER,
[all …]
/linux-4.1.27/net/atm/
Dbr2684.c228 unsigned short prot = ntohs(skb->protocol); in br2684_xmit_vcc()
458 skb->protocol = htons(ETH_P_IPV6); in br2684_push()
461 skb->protocol = htons(ETH_P_IP); in br2684_push()
475 skb->protocol = eth_type_trans(skb, net_dev); in br2684_push()
486 skb->protocol = htons(ETH_P_IP); in br2684_push()
488 skb->protocol = htons(ETH_P_IPV6); in br2684_push()
497 skb->protocol = eth_type_trans(skb, net_dev); in br2684_push()
502 if (unlikely(packet_fails_filter(skb->protocol, brvcc, skb))) in br2684_push()
507 pr_debug("received packet's protocol: %x\n", ntohs(skb->protocol)); in br2684_push()
/linux-4.1.27/Documentation/nfc/
Dnfc-pn544.txt20 In the normal (HCI) mode the protocol used is derived from the ETSI
21 HCI specification. The firmware is updated using a specific protocol,
/linux-4.1.27/drivers/input/mouse/
DKconfig42 bool "ALPS PS/2 mouse protocol extension" if EXPERT
52 bool "Logitech PS/2++ mouse protocol extension" if EXPERT
62 bool "Synaptics PS/2 mouse protocol extension" if EXPERT
72 bool "Cypress PS/2 mouse protocol extension" if EXPERT
82 bool "Fujitsu Lifebook PS/2 mouse protocol extension" if EXPERT
92 bool "IBM Trackpoint PS/2 mouse protocol extension" if EXPERT
102 bool "Elantech PS/2 protocol extension"
115 bool "Sentelic Finger Sensing Pad PS/2 protocol extension"
124 bool "eGalax TouchKit PS/2 protocol extension"
133 bool "OLPC PS/2 mouse protocol extension"
[all …]
/linux-4.1.27/drivers/usb/storage/
Dscsiglue.c108 if (us->protocol == USB_PR_BULK && us->max_lun > 0) in slave_alloc()
252 us->protocol == USB_PR_BULK) in slave_configure()
281 if ((us->protocol == USB_PR_CB || us->protocol == USB_PR_CBI) && in slave_configure()
/linux-4.1.27/Documentation/infiniband/
Dcore_locking.txt27 The corresponding functions exported to upper level protocol
59 Because low-level drivers are reentrant, upper level protocol
95 Upper level protocol consumers may not sleep in a callback.
109 An upper level protocol consumer may begin using an IB device as
/linux-4.1.27/drivers/isdn/i4l/
DKconfig15 "synchronous PPP". Saying Y here will include this protocol. This
16 protocol is used by Cisco and Sun for example. So you want to say Y
34 by bundling several ISDN-connections, using this protocol. See
85 This feature provides the X.25 protocol over ISDN connections.
115 countries. The keypad protocol is still not implemented. CD should
/linux-4.1.27/sound/soc/ux500/
Dux500_msp_i2s.c185 if (config->protocol >= MSP_INVALID_PROTOCOL) { in configure_protocol()
191 (struct msp_protdesc *)&prot_descs[config->protocol]; in configure_protocol()
233 (struct msp_protdesc *)&prot_descs[config->protocol]; in setup_bitclk()
237 switch (config->protocol) { in setup_bitclk()
254 config->protocol); in setup_bitclk()
282 if (config->protocol >= MSP_INVALID_PROTOCOL) { in configure_multichannel()
285 __func__, config->protocol); in configure_multichannel()
289 &prot_descs[config->protocol]; in configure_multichannel()
/linux-4.1.27/drivers/net/ethernet/sun/
Dsunvnet.c322 if (skb->protocol != htons(ETH_P_IP)) in vnet_fullcsum()
324 if (iph->protocol != IPPROTO_TCP && in vnet_fullcsum()
325 iph->protocol != IPPROTO_UDP) in vnet_fullcsum()
330 if (iph->protocol == IPPROTO_TCP) { in vnet_fullcsum()
338 } else if (iph->protocol == IPPROTO_UDP) { in vnet_fullcsum()
387 skb->protocol = eth_type_trans(skb, dev); in vnet_rx_one()
393 if (skb->protocol == ETH_P_IP) { in vnet_rx_one()
1080 nskb->protocol = skb->protocol; in vnet_skb_shape()
1107 if (iph->protocol == IPPROTO_TCP || in vnet_skb_shape()
1108 iph->protocol == IPPROTO_UDP) { in vnet_skb_shape()
[all …]
/linux-4.1.27/net/core/
Drtnetlink.c122 static rtnl_doit_func rtnl_get_doit(int protocol, int msgindex) in rtnl_get_doit() argument
126 if (protocol <= RTNL_FAMILY_MAX) in rtnl_get_doit()
127 tab = rtnl_msg_handlers[protocol]; in rtnl_get_doit()
137 static rtnl_dumpit_func rtnl_get_dumpit(int protocol, int msgindex) in rtnl_get_dumpit() argument
141 if (protocol <= RTNL_FAMILY_MAX) in rtnl_get_dumpit()
142 tab = rtnl_msg_handlers[protocol]; in rtnl_get_dumpit()
152 static rtnl_calcit_func rtnl_get_calcit(int protocol, int msgindex) in rtnl_get_calcit() argument
156 if (protocol <= RTNL_FAMILY_MAX) in rtnl_get_calcit()
157 tab = rtnl_msg_handlers[protocol]; in rtnl_get_calcit()
185 int __rtnl_register(int protocol, int msgtype, in __rtnl_register() argument
[all …]
/linux-4.1.27/include/net/netfilter/
Dnf_queue.h51 (__force u32)iph->daddr, iph->protocol, jhash_initval); in hash_v4()
54 (__force u32)iph->saddr, iph->protocol, jhash_initval); in hash_v4()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dintf.c99 "SRIOV, disabling HA mode for intf proto %d\n", intf->protocol); in mlx4_register_interface()
172 dev_ctx->intf->protocol, enable ? in mlx4_do_bond()
239 if (dev_ctx->intf->protocol == proto && dev_ctx->intf->get_dev) { in mlx4_get_protocol_dev()
/linux-4.1.27/net/netlink/
Ddiag.c103 int protocol, int s_num) in __netlink_diag_dump() argument
105 struct netlink_table *tbl = &nl_table[protocol]; in __netlink_diag_dump()
164 cb->args[1] = protocol; in __netlink_diag_dump()
/linux-4.1.27/drivers/net/arcnet/
Dcapmode.c89 skb->protocol = cpu_to_be16(ETH_P_ARCNET); in rx()
194 lp->outgoing.skb->protocol, acked); in ack_tx()
220 ackskb->protocol = cpu_to_be16(ETH_P_ARCNET); in ack_tx()

1234567