Home
last modified time | relevance | path

Searched refs:proto (Results 126 – 150 of 1111) sorted by relevance

12345678910>>...45

/openbmc/linux/drivers/input/mouse/
H A Dpsmouse-base.c933 if (proto) in psmouse_protocol_by_type()
934 return proto; in psmouse_protocol_by_type()
1017 if (!proto) in psmouse_try_protocol()
1020 if (!psmouse_do_detect(proto->detect, psmouse, proto->try_passthru, in psmouse_try_protocol()
1526 if (proto && (proto->detect || proto->init)) { in psmouse_switch_protocol()
1529 if (proto->detect && proto->detect(psmouse, true) < 0) in psmouse_switch_protocol()
1532 if (proto->init && proto->init(psmouse) < 0) in psmouse_switch_protocol()
1760 .proto = SERIO_ANY,
1766 .proto = SERIO_ANY,
1892 if (!proto) in psmouse_attr_set_protocol()
[all …]
/openbmc/linux/net/netfilter/
H A Dxt_CT.c61 return e->ip.proto; in xt_ct_find_proto()
67 return e->ipv6.proto; in xt_ct_find_proto()
78 u8 proto; in xt_ct_set_helper() local
80 proto = xt_ct_find_proto(par); in xt_ct_set_helper()
81 if (!proto) { in xt_ct_set_helper()
87 proto); in xt_ct_set_helper()
109 u8 proto; in xt_ct_set_timeout() local
111 proto = xt_ct_find_proto(par); in xt_ct_set_timeout()
112 if (!proto) { in xt_ct_set_timeout()
117 l4proto = nf_ct_l4proto_find(proto); in xt_ct_set_timeout()
H A Dxt_tcpudp.c263 .proto = IPPROTO_TCP,
272 .proto = IPPROTO_TCP,
281 .proto = IPPROTO_UDP,
290 .proto = IPPROTO_UDP,
299 .proto = IPPROTO_UDPLITE,
308 .proto = IPPROTO_UDPLITE,
316 .proto = IPPROTO_ICMP,
325 .proto = IPPROTO_ICMPV6,
H A Dxt_HMARK.c37 u8 proto; member
100 t->proto = nf_ct_protonum(ct); in hmark_ct_set_htuple()
101 if (t->proto != IPPROTO_ICMP) { in hmark_ct_set_htuple()
126 hash = hash ^ (t->proto & info->proto_mask); in hmark_hash()
137 protoff = proto_ports_offset(t->proto); in hmark_set_tuple_ports()
199 t->proto = nexthdr; in hmark_pkt_set_htuple_ipv6()
200 if (t->proto == IPPROTO_ICMPV6) in hmark_pkt_set_htuple_ipv6()
272 t->proto = ip->protocol; in hmark_pkt_set_htuple_ipv4()
275 if (t->proto == IPPROTO_ICMP) in hmark_pkt_set_htuple_ipv4()
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap_control.sh223 -A 192.0.2.1 -B 224.0.0.1 -t ip proto=2,p=11 -p 100 -q
231 -A 192.0.2.1 -B 244.0.0.1 -t ip proto=2,p=12 -p 100 -q
239 -A 192.0.2.1 -B 244.0.0.1 -t ip proto=2,p=16 -p 100 -q
247 -A 192.0.2.1 -B 244.0.0.1 -t ip proto=2,p=22 -p 100 -q
255 -A 192.0.2.1 -B 224.0.0.2 -t ip proto=2,p=17 -p 100 -q
399 -A 192.0.2.1 -B 224.0.0.5 -t ip proto=89 -p 100 -q
403 -A 192.0.2.1 -B 192.0.2.2 -t ip proto=89 -p 100 -q
437 -A 192.0.2.1 -B 224.0.0.18 -t ip proto=112 -p 100 -q
451 -A 192.0.2.1 -B 224.0.0.13 -t ip proto=103 -p 100 -q
455 -A 192.0.2.1 -B 192.0.2.2 -t ip proto=103 -p 100 -q
[all …]
/openbmc/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_protocol.c276 void ipc_protocol_deinit(struct iosm_protocol *proto) in ipc_protocol_deinit() argument
278 dma_free_coherent(&proto->pcie->pci->dev, sizeof(*proto->p_ap_shm), in ipc_protocol_deinit()
279 proto->p_ap_shm, proto->phy_ap_shm); in ipc_protocol_deinit()
281 ipc_pm_deinit(proto); in ipc_protocol_deinit()
282 kfree(proto); in ipc_protocol_deinit()
/openbmc/linux/include/trace/events/
H A Dfib.h25 __field( u8, proto )
57 __entry->proto = flp->flowi4_proto;
58 if (__entry->proto == IPPROTO_TCP ||
59 __entry->proto == IPPROTO_UDP) {
94 __entry->tb_id, __entry->oif, __entry->iif, __entry->proto,
H A Dnbd.h85 #define NBD_DEFINE_EVENT(template, call, proto, args, size) \ argument
86 DEFINE_EVENT_WRITABLE(template, call, PARAMS(proto), \
90 #define NBD_DEFINE_EVENT(template, call, proto, args, size) \ argument
91 DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args))
/openbmc/linux/drivers/net/ppp/
H A Dppp_deflate.c189 int r, proto, off, olen, oavail; in z_compress() local
195 proto = PPP_PROTOCOL(rptr); in z_compress()
196 if (proto > 0x3fff || proto == 0xfd || proto == 0xfb) in z_compress()
220 off = (proto > 0xff) ? 2 : 3; /* skip 1st proto byte if 0 */ in z_compress()
519 int proto, r; in z_incomp() local
524 proto = PPP_PROTOCOL(ibuf); in z_incomp()
525 if (proto > 0x3fff || proto == 0xfd || proto == 0xfb) in z_incomp()
536 if (proto > 0xff) { in z_incomp()
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dipsec.c30 sam->proto = xs->id.proto; in ixgbevf_ipsec_set_pf_sa()
179 __be32 *daddr, u8 proto, in ixgbevf_ipsec_find_rx_state() argument
192 proto == rsa->xs->id.proto) { in ixgbevf_ipsec_find_rx_state()
274 if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) { in ixgbevf_ipsec_add_sa()
309 if (rsa.xs->id.proto & IPPROTO_ESP) in ixgbevf_ipsec_add_sa()
326 if (rsa.xs->id.proto & IPPROTO_ESP) in ixgbevf_ipsec_add_sa()
363 if (xs->id.proto & IPPROTO_ESP) in ixgbevf_ipsec_add_sa()
506 if (xs->id.proto == IPPROTO_ESP) { in ixgbevf_ipsec_tx()
572 u8 proto; in ixgbevf_ipsec_rx() local
594 proto = IPPROTO_AH; in ixgbevf_ipsec_rx()
[all …]
/openbmc/linux/drivers/firmware/arm_scmi/
H A Ddriver.c193 if (!proto || !try_module_get(proto->owner)) { in scmi_protocol_get()
200 return proto; in scmi_protocol_get()
208 if (proto) in scmi_protocol_put()
216 if (!proto) { in scmi_protocol_register()
228 proto->id, proto->id + 1, GFP_ATOMIC); in scmi_protocol_register()
230 if (ret != proto->id) { in scmi_protocol_register()
232 proto->id, ret); in scmi_protocol_register()
1818 pi->proto = proto; in scmi_alloc_init_protocol_instance()
1831 ret = idr_alloc(&info->protocols, pi, proto->id, proto->id + 1, in scmi_alloc_init_protocol_instance()
1833 if (ret != proto->id) in scmi_alloc_init_protocol_instance()
[all …]
/openbmc/linux/net/tipc/
H A Dudp_media.c74 __be16 proto; member
108 if (ntohs(addr->proto) == ETH_P_IP) in tipc_udp_is_mcast_addr()
134 if (ntohs(ua->proto) == ETH_P_IP) in tipc_udp_addr2str()
179 if (dst->proto == htons(ETH_P_IP)) { in tipc_udp_xmit()
323 if (ntohs(addr->proto) == ETH_P_IP) in tipc_udp_rcast_add()
348 src.proto = htons(ETH_P_IP); in tipc_udp_rcast_disc()
356 src.proto = htons(ETH_P_IPV6); in tipc_udp_rcast_disc()
432 if (ntohs(addr->proto) == ETH_P_IP) { in __tipc_nl_add_udp_addr()
594 addr->proto = htons(ETH_P_IP); in tipc_parse_udp_addr()
603 addr->proto = htons(ETH_P_IPV6); in tipc_parse_udp_addr()
[all …]
/openbmc/linux/include/linux/
H A Dif_vlan.h228 extern int vlan_vid_add(struct net_device *dev, __be16 proto, u16 vid);
229 extern void vlan_vid_del(struct net_device *dev, __be16 proto, u16 vid);
283 static inline int vlan_vid_add(struct net_device *dev, __be16 proto, u16 vid) in vlan_vid_add() argument
288 static inline void vlan_vid_del(struct net_device *dev, __be16 proto, u16 vid) in vlan_vid_del() argument
327 __be16 proto) in vlan_hw_offload_capable() argument
329 if (proto == htons(ETH_P_8021Q) && features & NETIF_F_HW_VLAN_CTAG_TX) in vlan_hw_offload_capable()
331 if (proto == htons(ETH_P_8021AD) && features & NETIF_F_HW_VLAN_STAG_TX) in vlan_hw_offload_capable()
674 __be16 proto; in vlan_set_encap_proto() local
682 proto = vhdr->h_vlan_encapsulated_proto; in vlan_set_encap_proto()
683 if (eth_proto_is_802_3(proto)) { in vlan_set_encap_proto()
[all …]
/openbmc/linux/fs/smb/server/
H A Dsmb_common.c161 __le32 *proto; in ksmbd_smb_request() local
166 proto = (__le32 *)smb2_get_msg(conn->request_buf); in ksmbd_smb_request()
167 if (*proto == SMB2_COMPRESSION_TRANSFORM_ID) { in ksmbd_smb_request()
172 if (*proto != SMB1_PROTO_NUMBER && in ksmbd_smb_request()
173 *proto != SMB2_PROTO_NUMBER && in ksmbd_smb_request()
174 *proto != SMB2_TRANSFORM_PROTO_NUM) in ksmbd_smb_request()
264 if (proto == SMB2_PROTO_NUMBER) { in ksmbd_negotiate_smb_dialect()
282 if (proto == SMB1_PROTO_NUMBER) { in ksmbd_negotiate_smb_dialect()
415 __le32 proto; in ksmbd_init_smb_server() local
419 if (proto == SMB1_PROTO_NUMBER) in ksmbd_init_smb_server()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_adv_rss.c177 const char *proto; in iavf_print_adv_rss_cfg() local
180 proto = "TCP"; in iavf_print_adv_rss_cfg()
182 proto = "UDP"; in iavf_print_adv_rss_cfg()
184 proto = "SCTP"; in iavf_print_adv_rss_cfg()
190 strcat(hash_opt, proto); in iavf_print_adv_rss_cfg()
/openbmc/linux/drivers/staging/media/av7110/
H A Dav7110_ir.c24 enum rc_proto proto; in av7110_ir_handler() local
37 proto = RC_PROTO_RC5; in av7110_ir_handler()
43 proto = RC_PROTO_RCMM32; in av7110_ir_handler()
59 proto = RC_PROTO_RC5; in av7110_ir_handler()
67 rc_keydown(rcdev, proto, scancode, toggle != 0); in av7110_ir_handler()
/openbmc/linux/net/nsh/
H A Dnsh.c83 __be16 outer_proto, proto; in nsh_gso_segment() local
99 proto = tun_p_to_eth_p(nsh_hdr(skb)->np); in nsh_gso_segment()
100 if (!proto) in nsh_gso_segment()
106 skb->mac_len = proto == htons(ETH_P_TEB) ? ETH_HLEN : 0; in nsh_gso_segment()
107 skb->protocol = proto; in nsh_gso_segment()
/openbmc/linux/arch/x86/include/asm/
H A Dirq_stack.h123 #define assert_function_type(func, proto) \ argument
124 static_assert(__builtin_types_compatible_p(typeof(&func), proto))
126 #define assert_arg_type(arg, proto) \ argument
127 static_assert(__builtin_types_compatible_p(typeof(arg), proto))
/openbmc/libmctp/
H A Dastlpc.c130 const struct mctp_astlpc_protocol *proto; member
548 sz = MCTP_BODY_SIZE(astlpc->proto->body_size(sz)); in mctp_astlpc_init_bmc()
734 astlpc->proto = &astlpc_protocol_version[negotiated]; in mctp_astlpc_init_host()
859 astlpc->proto->pktbuf_protect(pkt); in mctp_binding_astlpc_tx()
903 if (!astlpc->proto->version) in mctp_astlpc_negotiate_layout_bmc()
943 if (astlpc->proto->version >= 2) in mctp_astlpc_negotiate_layout_bmc()
1020 packet = astlpc->proto->packet_size(body) - 4; in mctp_astlpc_rx_start()
1055 if (astlpc->proto->pktbuf_validate(pkt)) { in mctp_astlpc_rx_start()
1109 astlpc->proto->body_size(astlpc->layout.tx.size); in mctp_astlpc_finalise_channel()
1143 if (astlpc->proto->version == 0 || in mctp_astlpc_update_channel()
[all …]
/openbmc/linux/net/netfilter/ipvs/
H A Dip_vs_proto.c36 #define IP_VS_PROTO_HASH(proto) ((proto) & (IP_VS_PROTO_TAB_SIZE-1)) argument
140 struct ip_vs_protocol * ip_vs_proto_get(unsigned short proto) in ip_vs_proto_get() argument
143 unsigned int hash = IP_VS_PROTO_HASH(proto); in ip_vs_proto_get()
146 if (pp->protocol == proto) in ip_vs_proto_get()
158 ip_vs_proto_data_get(struct netns_ipvs *ipvs, unsigned short proto) in ip_vs_proto_data_get() argument
161 unsigned int hash = IP_VS_PROTO_HASH(proto); in ip_vs_proto_data_get()
164 if (pd->pp->protocol == proto) in ip_vs_proto_data_get()
/openbmc/linux/include/asm-generic/
H A Dchecksum.h47 __u8 proto, __wsum sum);
53 __u8 proto, __wsum sum) in csum_tcpudp_magic() argument
55 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dskb_pkt_end.c33 __u8 proto = 0; in main_prog() local
38 proto = ip->protocol; in main_prog()
40 if (proto != IPPROTO_TCP) in main_prog()
/openbmc/linux/tools/testing/selftests/net/
H A Dcsum.c177 sum += htons(proto); in checksum()
196 iph->protocol = proto; in build_packet_ipv4()
215 ip6h->nexthdr = proto; in build_packet_ipv6()
297 uint8_t proto; in build_packet() local
317 proto = IPPROTO_UDP; in build_packet()
320 proto = cfg_proto; in build_packet()
324 off = build_packet_ipv4(buf, proto, tlen); in build_packet()
326 off = build_packet_ipv6(buf, proto, tlen); in build_packet()
659 if (len < sizeof(*iph) || iph->protocol != proto) in recv_verify_packet_ipv4()
668 if (proto == IPPROTO_TCP) in recv_verify_packet_ipv4()
[all …]
H A Dipsec.c538 uint8_t proto; member
941 req.info.id.proto = desc->proto; in xfrm_state_add()
980 if (info->id.spi != spi || info->id.proto != desc->proto) in xfrm_usersa_found()
1133 tmpl.id.proto = proto; in xfrm_policy_add()
1240 req.id.proto = proto; in xfrm_state_del()
1297 req.spi.info.id.proto = proto; in xfrm_state_allocspi()
1467 req.expire.state.id.proto = desc->proto; in xfrm_expire_state()
1903 desc->proto)) { in grand_child_serv()
1916 desc->proto)) { in grand_child_serv()
2039 desc.proto = proto; in write_desc()
[all …]
/openbmc/openbmc/poky/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/
H A Dwpa_supplicant.conf445 proto=WPA
457 proto=RSN
533 proto=WPA RSN
610 proto=WPA
641 proto=RSN

12345678910>>...45