/openbmc/openbmc/poky/meta/recipes-graphics/xorg-proto/xcb-proto/ |
H A D | 0001-xcb-proto.pc.in-reinstate-libdir.patch | 4 Subject: [PATCH] xcb-proto.pc.in: reinstate libdir 7 | checking for xcb-proto >= 1.14... no 8 | configure: error: Package requirements (xcb-proto >= 1.14) were not met: 10 …64-alt/tmp/work/core2-64-poky-linux/libxcb/1.15-r0/recipe-sysroot/usr/share/pkgconfig/xcb-proto.pc' 12 Upstream-Status: Submitted [https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/merge_requests/31] 15 xcb-proto.pc.in | 1 + 18 diff --git a/xcb-proto.pc.in b/xcb-proto.pc.in 20 --- a/xcb-proto.pc.in 21 +++ b/xcb-proto.pc.in
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | bcdc.c | 103 struct brcmf_bcdc *bcdc = drvr->proto->pd; in drvr_to_fws() 112 struct brcmf_bcdc *bcdc = (struct brcmf_bcdc *)drvr->proto->pd; in brcmf_proto_bcdc_msg() 143 struct brcmf_bcdc *bcdc = (struct brcmf_bcdc *)drvr->proto->pd; in brcmf_proto_bcdc_cmplt() 161 struct brcmf_bcdc *bcdc = (struct brcmf_bcdc *)drvr->proto->pd; in brcmf_proto_bcdc_query_dcmd() 219 struct brcmf_bcdc *bcdc = (struct brcmf_bcdc *)drvr->proto->pd; in brcmf_proto_bcdc_set_dcmd() 337 struct brcmf_bcdc *bcdc = drvr->proto->pd; in brcmf_proto_bcdc_tx_queue_data() 368 struct brcmf_bcdc *bcdc = bus_if->drvr->proto->pd; in brcmf_proto_bcdc_txcomplete() 427 struct brcmf_bcdc *bcdc = drvr->proto->pd; in brcmf_proto_bcdc_init_done() 457 drvr->proto->hdrpull = brcmf_proto_bcdc_hdrpull; in brcmf_proto_bcdc_attach() 458 drvr->proto->query_dcmd = brcmf_proto_bcdc_query_dcmd; in brcmf_proto_bcdc_attach() [all …]
|
/openbmc/linux/sound/usb/ |
H A D | clock.c | 40 #define DESC_LENGTH_CHECK(p, proto) \ argument 41 ((proto) == UAC_VERSION_3 ? \ 45 #define GET_VAL(p, proto, field) \ argument 46 ((proto) == UAC_VERSION_3 ? (p)->v3.field : (p)->v2.field) 50 u8 type, int proto) in find_uac_clock_desc() argument 56 if (validator(cs, id, proto)) in find_uac_clock_desc() 63 static bool validate_clock_source(void *p, int id, int proto) in validate_clock_source() argument 67 if (!DESC_LENGTH_CHECK(cs, proto)) in validate_clock_source() 69 return GET_VAL(cs, proto, bClockID) == id; in validate_clock_source() 72 static bool validate_clock_selector(void *p, int id, int proto) in validate_clock_selector() argument [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | reuseport_bpf_cpu.c | 34 static void build_rcv_group(int *rcv_fd, size_t len, int family, int proto) in build_rcv_group() argument 60 rcv_fd[i] = socket(family, proto, 0); in build_rcv_group() 72 if (proto == SOCK_STREAM && listen(rcv_fd[i], len * 10)) in build_rcv_group() 94 static void send_from_cpu(int cpu_id, int family, int proto) in send_from_cpu() argument 134 fd = socket(family, proto, 0); in send_from_cpu() 151 void receive_on_cpu(int *rcv_fd, int len, int epfd, int cpu_id, int proto) in receive_on_cpu() argument 161 if (proto == SOCK_STREAM) { in receive_on_cpu() 184 static void test(int *rcv_fd, int len, int family, int proto) in test() argument 189 build_rcv_group(rcv_fd, len, family, proto); in test() 204 send_from_cpu(cpu, family, proto); in test() [all …]
|
H A D | gro.sh | 10 proto="ipv4" 44 for proto in "${PROTOS[@]}"; do 46 echo "running test ${proto} ${test}" >&2 47 exit_code=$(run_test $proto $test) 49 failed_tests+=("${proto}_${test}") 79 proto="${OPTARG}" 98 run_test "${proto}" "${test}"
|
H A D | reuseport_bpf_numa.c | 30 static void build_rcv_group(int *rcv_fd, size_t len, int family, int proto) in build_rcv_group() argument 56 rcv_fd[i] = socket(family, proto, 0); in build_rcv_group() 68 if (proto == SOCK_STREAM && listen(rcv_fd[i], len * 10)) in build_rcv_group() 107 static void send_from_node(int node_id, int family, int proto) in send_from_node() argument 144 fd = socket(family, proto, 0); in send_from_node() 161 void receive_on_node(int *rcv_fd, int len, int epfd, int node_id, int proto) in receive_on_node() argument 171 if (proto == SOCK_STREAM) { in receive_on_node() 194 static void test(int *rcv_fd, int len, int family, int proto) in test() argument 199 build_rcv_group(rcv_fd, len, family, proto); in test() 216 send_from_node(node, family, proto); in test() [all …]
|
H A D | reuseport_dualstack.c | 31 static void build_rcv_fd(int family, int proto, int *rcv_fds, int count) in build_rcv_fd() argument 56 rcv_fds[i] = socket(family, proto, 0); in build_rcv_fd() 68 if (proto == SOCK_STREAM && listen(rcv_fds[i], 10)) in build_rcv_fd() 73 static void send_from_v4(int proto) in send_from_v4() argument 86 fd = socket(AF_INET, proto, 0); in send_from_v4() 102 static int receive_once(int epfd, int proto) in receive_once() argument 112 if (proto == SOCK_STREAM) { in receive_once() 128 static void test(int *rcv_fds, int count, int proto) in test() argument 146 send_from_v4(proto); in test() 148 test_fd = receive_once(epfd, proto); in test()
|
/openbmc/linux/net/ipv6/ |
H A D | ip6_offload.c | 40 static int ipv6_gro_pull_exthdrs(struct sk_buff *skb, int off, int proto) in ipv6_gro_pull_exthdrs() argument 48 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gro_pull_exthdrs() 65 proto = opth->nexthdr; in ipv6_gro_pull_exthdrs() 71 return proto; in ipv6_gro_pull_exthdrs() 74 static int ipv6_gso_pull_exthdrs(struct sk_buff *skb, int proto) in ipv6_gso_pull_exthdrs() argument 82 if (proto != NEXTHDR_HOP) { in ipv6_gso_pull_exthdrs() 83 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gso_pull_exthdrs() 102 proto = opth->nexthdr; in ipv6_gso_pull_exthdrs() 106 return proto; in ipv6_gso_pull_exthdrs() 115 int proto, err; in ipv6_gso_segment() local [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | fs_ttc.c | 63 u8 proto; member 69 .proto = IPPROTO_TCP, 73 .proto = IPPROTO_TCP, 77 .proto = IPPROTO_UDP, 81 .proto = IPPROTO_UDP, 85 .proto = IPPROTO_AH, 89 .proto = IPPROTO_AH, 93 .proto = IPPROTO_ESP, 97 .proto = IPPROTO_ESP, 101 .proto = 0, [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | nf_conntrack_ovs.c | 13 enum ip_conntrack_info ctinfo, u16 proto) in nf_ct_helper() argument 32 helper->tuple.src.l3num != proto) in nf_ct_helper() 35 switch (proto) { in nf_ct_helper() 38 proto = ip_hdr(skb)->protocol; in nf_ct_helper() 52 proto = nexthdr; in nf_ct_helper() 60 if (helper->tuple.dst.protonum != proto) in nf_ct_helper() 79 u8 proto, bool nat, struct nf_conntrack_helper **hp) in nf_ct_add_helper() argument 85 helper = nf_conntrack_helper_try_module_get(name, family, proto); in nf_ct_add_helper() 96 ret = nf_nat_helper_try_module_get(name, family, proto); in nf_ct_add_helper() 145 u16 zone, u8 family, u8 *proto, u16 *mru) in nf_ct_handle_fragments() argument [all …]
|
H A D | xt_multiport.c | 109 check(u_int16_t proto, in check() argument 115 return (proto == IPPROTO_TCP || proto == IPPROTO_UDP in check() 116 || proto == IPPROTO_UDPLITE in check() 117 || proto == IPPROTO_SCTP || proto == IPPROTO_DCCP) in check() 130 return check(ip->proto, ip->invflags, multiinfo->flags, in multiport_mt_check() 139 return check(ip->proto, ip->invflags, multiinfo->flags, in multiport_mt6_check()
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | tc_flower_port_range.sh | 77 local proto=$1; shift 94 tc filter add dev $swp1 ingress protocol $proto handle 101 pref 1 \ 99 tc filter add dev $swp2 egress protocol $proto handle 101 pref 1 \ 143 tc filter del dev $swp2 egress protocol $proto pref 1 handle 101 flower 144 tc filter del dev $swp1 ingress protocol $proto pref 1 handle 101 flower 151 local proto=ipv4 158 __test_port_range $proto $ip_proto $sip $dip $mode "$name" 163 local proto=ipv4 170 __test_port_range $proto $ip_proto $sip $dip $mode "$name" 175 local proto=ipv6 [all …]
|
H A D | tc_flower_l2_miss.sh | 127 local proto=$1; shift 137 tc filter add dev $swp2 egress protocol $proto handle 101 pref 1 \ 141 tc filter add dev $swp2 egress protocol $proto handle 102 pref 1 \ 176 tc filter del dev $swp2 egress protocol $proto pref 1 handle 102 flower 177 tc filter del dev $swp2 egress protocol $proto pref 1 handle 101 flower 184 local proto="ipv4" 191 test_l2_miss_multicast_common $proto $sip $dip $dmac $mode $name 196 local proto="ipv6" 203 test_l2_miss_multicast_common $proto $sip $dip $dmac $mode $name 245 local proto=$1; shift [all …]
|
/openbmc/linux/drivers/s390/net/ |
H A D | qeth_l3_sys.c | 20 enum qeth_prot_versions proto, u8 *addr) in qeth_l3_string_to_ipaddr() argument 24 if ((proto == QETH_PROT_IPV4 && !in4_pton(buf, -1, addr, -1, &end)) || in qeth_l3_string_to_ipaddr() 25 (proto == QETH_PROT_IPV6 && !in6_pton(buf, -1, addr, -1, &end))) in qeth_l3_string_to_ipaddr() 367 enum qeth_prot_versions proto) in qeth_l3_dev_ipato_add_show() argument 375 if (ipatoe->proto != proto) in qeth_l3_dev_ipato_add_show() 378 qeth_l3_ipaddr_to_string(proto, ipatoe->addr, addr_str); in qeth_l3_dev_ipato_add_show() 395 static int qeth_l3_parse_ipatoe(const char *buf, enum qeth_prot_versions proto, in qeth_l3_parse_ipatoe() argument 408 rc = qeth_l3_string_to_ipaddr(buf, proto, addr); in qeth_l3_parse_ipatoe() 416 if (*mask_bits > ((proto == QETH_PROT_IPV4) ? 32 : 128)) in qeth_l3_parse_ipatoe() 423 struct qeth_card *card, enum qeth_prot_versions proto) in qeth_l3_dev_ipato_add_store() argument [all …]
|
/openbmc/linux/drivers/bluetooth/ |
H A D | hci_serdev.c | 50 skb = hu->proto->dequeue(hu); in hci_uart_dequeue() 108 hu->proto->flush(hu); in hci_uart_flush() 171 hu->proto->enqueue(hu, skb); in hci_uart_send_frame() 189 else if (hu->proto->init_speed) in hci_uart_setup() 190 speed = hu->proto->init_speed; in hci_uart_setup() 200 else if (hu->proto->oper_speed) in hci_uart_setup() 201 speed = hu->proto->oper_speed; in hci_uart_setup() 205 if (hu->proto->set_baudrate && speed) { in hci_uart_setup() 206 err = hu->proto->set_baudrate(hu, speed); in hci_uart_setup() 213 if (hu->proto->setup) in hci_uart_setup() [all …]
|
/openbmc/linux/net/bluetooth/ |
H A D | af_bluetooth.c | 71 void bt_sock_reclassify_lock(struct sock *sk, int proto) in bt_sock_reclassify_lock() argument 77 bt_slock_key_strings[proto], &bt_slock_key[proto], in bt_sock_reclassify_lock() 78 bt_key_strings[proto], &bt_lock_key[proto]); in bt_sock_reclassify_lock() 82 int bt_sock_register(int proto, const struct net_proto_family *ops) in bt_sock_register() argument 86 if (proto < 0 || proto >= BT_MAX_PROTO) in bt_sock_register() 91 if (bt_proto[proto]) in bt_sock_register() 94 bt_proto[proto] = ops; in bt_sock_register() 102 void bt_sock_unregister(int proto) in bt_sock_unregister() argument 104 if (proto < 0 || proto >= BT_MAX_PROTO) in bt_sock_unregister() 108 bt_proto[proto] = NULL; in bt_sock_unregister() [all …]
|
/openbmc/linux/drivers/net/arcnet/ |
H A D | arcnet.c | 260 void arcnet_unregister_proto(struct ArcProto *proto) in arcnet_unregister_proto() argument 264 if (arc_proto_default == proto) in arcnet_unregister_proto() 266 if (arc_bcast_proto == proto) in arcnet_unregister_proto() 268 if (arc_raw_proto == proto) in arcnet_unregister_proto() 272 if (arc_proto_map[count] == proto) in arcnet_unregister_proto() 647 struct ArcProto *proto; in arcnet_header() local 661 proto = arc_raw_proto; in arcnet_header() 663 proto->suffix); in arcnet_header() 681 proto = arc_proto_map[proto_num]; in arcnet_header() 683 proto_num, proto->suffix); in arcnet_header() [all …]
|
/openbmc/linux/include/linux/netfilter/ipset/ |
H A D | ip_set_getport.h | 10 __be16 *port, u8 *proto); 14 __be16 *port, u8 *proto); 17 __be16 *port, u8 *proto) in ip_set_get_ip6_port() argument 23 static inline bool ip_set_proto_with_ports(u8 proto) in ip_set_proto_with_ports() argument 25 switch (proto) { in ip_set_proto_with_ports()
|
/openbmc/linux/net/unix/ |
H A D | unix_bpf.c | 97 static struct proto *unix_dgram_prot_saved __read_mostly; 99 static struct proto unix_dgram_bpf_prot; 101 static struct proto *unix_stream_prot_saved __read_mostly; 103 static struct proto unix_stream_bpf_prot; 105 static void unix_dgram_bpf_rebuild_protos(struct proto *prot, const struct proto *base) in unix_dgram_bpf_rebuild_protos() 113 static void unix_stream_bpf_rebuild_protos(struct proto *prot, in unix_stream_bpf_rebuild_protos() 114 const struct proto *base) in unix_stream_bpf_rebuild_protos() 123 static void unix_dgram_bpf_check_needs_rebuild(struct proto *ops) in unix_dgram_bpf_check_needs_rebuild() 135 static void unix_stream_bpf_check_needs_rebuild(struct proto *ops) in unix_stream_bpf_check_needs_rebuild()
|
/openbmc/linux/drivers/tty/hvc/ |
H A D | hvc_vio.c | 58 hv_protocol_t proto; /* Raw data or HVSI packets */ member 239 switch(hvterm_privs[0]->proto) { in udbg_hvc_putc() 263 switch(hvterm_privs[0]->proto) { in udbg_hvc_getc_poll() 302 hv_protocol_t proto; in hvc_vio_probe() local 310 proto = HV_PROTOCOL_RAW; in hvc_vio_probe() 313 proto = HV_PROTOCOL_HVSI; in hvc_vio_probe() 322 proto == HV_PROTOCOL_RAW ? "raw" : "hvsi"); in hvc_vio_probe() 343 pv->proto = proto; in hvc_vio_probe() 403 hvterm_priv0.proto = HV_PROTOCOL_RAW; in hvc_vio_init_early() 407 hvterm_priv0.proto = HV_PROTOCOL_HVSI; in hvc_vio_init_early() [all …]
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | checksum_32.h | 116 __u32 len, __u8 proto, in csum_tcpudp_nofold() argument 120 unsigned long len_proto = (proto + len) << 8; in csum_tcpudp_nofold() 122 unsigned long len_proto = proto + len; in csum_tcpudp_nofold() 142 __u32 len, __u8 proto, in csum_tcpudp_magic() argument 145 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic() 160 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic() argument 186 "r" (htonl(len)), "r" (htonl(proto)), "0" (sum) in csum_ipv6_magic()
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | checksum.h | 101 __u8 proto, __wsum sum) in csum_tcpudp_nofold() argument 103 u32 lenprot = len + proto; in csum_tcpudp_nofold() 138 __u8 proto, __wsum sum) in csum_tcpudp_magic() argument 140 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic() 157 __be32 proto, __wsum sum); 161 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic() argument 164 htonl(proto), sum)); in csum_ipv6_magic()
|
/openbmc/linux/net/netfilter/ipset/ |
H A D | ip_set_hash_ipportip.c | 46 u8 proto; member 58 ip1->proto == ip2->proto; in hash_ipportip4_data_equal() 68 nla_put_u8(skb, IPSET_ATTR_PROTO, data->proto)) in hash_ipportip4_data_list() 99 &e.port, &e.proto)) in hash_ipportip4_kadt() 142 e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]); in hash_ipportip4_uadt() 143 with_ports = ip_set_proto_with_ports(e.proto); in hash_ipportip4_uadt() 145 if (e.proto == 0) in hash_ipportip4_uadt() 151 if (!(with_ports || e.proto == IPPROTO_ICMP)) in hash_ipportip4_uadt() 212 u8 proto; member 226 ip1->proto == ip2->proto; in hash_ipportip6_data_equal() [all …]
|
H A D | ip_set_hash_ipport.c | 48 u8 proto; member 61 ip1->proto == ip2->proto; in hash_ipport4_data_equal() 70 nla_put_u8(skb, IPSET_ATTR_PROTO, data->proto)) in hash_ipport4_data_list() 101 &e.port, &e.proto)) in hash_ipport4_kadt() 146 e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]); in hash_ipport4_uadt() 147 with_ports = ip_set_proto_with_ports(e.proto); in hash_ipport4_uadt() 149 if (e.proto == 0) in hash_ipport4_uadt() 155 if (!(with_ports || e.proto == IPPROTO_ICMP)) in hash_ipport4_uadt() 215 u8 proto; member 228 ip1->proto == ip2->proto; in hash_ipport6_data_equal() [all …]
|
/openbmc/linux/arch/xtensa/include/asm/ |
H A D | checksum.h | 124 __u32 len, __u8 proto, in csum_tcpudp_nofold() argument 129 unsigned long len_proto = (len + proto) << 8; in csum_tcpudp_nofold() 131 unsigned long len_proto = len + proto; in csum_tcpudp_nofold() 157 __u32 len, __u8 proto, in csum_tcpudp_magic() argument 160 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic() 176 __u32 len, __u8 proto, in csum_ipv6_magic() argument 230 "r" (htonl(len)), "r" (htonl(proto)), "0" (sum) in csum_ipv6_magic()
|