/kernel/linux/linux-6.6/net/bridge/ |
H A D | br_vlan.c | 936 int __br_vlan_set_proto(struct net_bridge *br, __be16 proto, in __br_vlan_set_proto() argument 943 .u.vlan_protocol = ntohs(proto), in __br_vlan_set_proto() 951 if (br->vlan_proto == proto) in __br_vlan_set_proto() 958 /* Add VLANs for the new proto to the device filter. */ in __br_vlan_set_proto() 964 err = vlan_vid_add(p->dev, proto, vlan->vid); in __br_vlan_set_proto() 970 br->vlan_proto = proto; in __br_vlan_set_proto() 975 /* Delete VLANs for the old proto from the device filter. */ in __br_vlan_set_proto() 994 vlan_vid_del(p->dev, proto, vlan->vid); in __br_vlan_set_proto() 1002 vlan_vid_del(p->dev, proto, vlan->vid); in __br_vlan_set_proto() 1459 ctx->vlan[idx].proto in br_vlan_fill_forward_path_pvid() [all...] |
/third_party/backends/backend/ |
H A D | net.c | 759 AvahiProtocol proto; local 784 proto = AVAHI_PROTO_UNSPEC; 786 proto = AVAHI_PROTO_INET; 788 if (!(avahi_service_resolver_new (avahi_client, interface, protocol, name, type, domain, proto, 0, net_avahi_resolve_callback, NULL))) 807 AvahiProtocol proto; local 828 proto = AVAHI_PROTO_UNSPEC; 830 proto = AVAHI_PROTO_INET; 833 avahi_browser = avahi_service_browser_new (c, AVAHI_IF_UNSPEC, proto, SANED_SERVICE_DNS, NULL, 0, net_avahi_browse_callback, NULL);
|
/third_party/lwip/src/apps/mdns/ |
H A D | mdns.c | 175 u16_t proto; member 640 * <name>.<type>.<proto>.local. will be written, otherwise <type>.<proto>.local. 655 res = mdns_domain_add_label(domain, dnssd_protos[service->proto], (u8_t)strlen(dnssd_protos[service->proto])); in mdns_build_service_domain() 2182 * @param proto The service protocol, DNSSD_PROTO_TCP for TCP ("_tcp") and DNSSD_PROTO_UDP 2192 mdns_resp_add_service(struct netif *netif, const char *name, const char *service, enum mdns_sd_proto proto, u16_t port, u32_t dns_ttl, service_get_txt_fn_t txt_fn, void *txt_data) in mdns_resp_add_service() argument 2206 LWIP_ERROR("mdns_resp_add_service: Bad proto (need TCP or UDP)", (proto == DNSSD_PROTO_TCP || proto in mdns_resp_add_service() [all...] |
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | parser.cc | 548 bool Parser::ValidateEnum(const EnumDescriptorProto* proto) { in ValidateEnum() argument 552 for (int i = 0; i < proto->options().uninterpreted_option_size(); i++) { in ValidateEnum() 553 const UninterpretedOption option = proto->options().uninterpreted_option(i); in ValidateEnum() 569 "\"" + proto->name() + in ValidateEnum() 579 for (int i = 0; i < proto->value_size(); ++i) { in ValidateEnum() 580 const EnumValueDescriptorProto& enum_value = proto->value(i); in ValidateEnum() 590 "\"" + proto->name() + in ValidateEnum() 603 for (const auto& enum_value : proto->value()) { in ValidateEnum() 648 GOOGLE_LOG(WARNING) << "No syntax specified for the proto file: " << file->name() in Parse() 1459 << "No field named \"uninterpreted_option\" in the Options proto in ParseOption() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_filter.c | 268 unsupported(fconf, PROTOCOL_F, fs->val.proto, fs->mask.proto) || in validate_filter() 897 fwr->ptcl = f->fs.val.proto; in set_filter_wr() 898 fwr->ptclm = f->fs.mask.proto; in set_filter_wr() 1080 if (fs->val.proto && !fs->mask.proto) in fill_default_mask() 1081 fs->mask.proto |= ~0; in fill_default_mask() 1216 ntuple_mask |= (u64)fs->mask.proto << tp->protocol_shift; in is_filter_exact_match() 1253 if (!fs->val.proto) in hash_filter_ntuple() 1256 ntuple |= (u64)fs->val.proto << t in hash_filter_ntuple() [all...] |
H A D | cxgb4_tc_flower.c | 197 fs->val.proto = match.key->ip_proto; in cxgb4_process_flow_match() 198 fs->mask.proto = match.mask->ip_proto; in cxgb4_process_flow_match() 740 u16 proto = be16_to_cpu(act->vlan.proto); in cxgb4_validate_flow_actions() local 747 if (proto != ETH_P_8021Q) { in cxgb4_validate_flow_actions() 748 netdev_err(dev, "%s: Unsupported vlan proto\n", in cxgb4_validate_flow_actions()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_filter.c | 268 unsupported(fconf, PROTOCOL_F, fs->val.proto, fs->mask.proto) || in validate_filter() 897 fwr->ptcl = f->fs.val.proto; in set_filter_wr() 898 fwr->ptclm = f->fs.mask.proto; in set_filter_wr() 1080 if (fs->val.proto && !fs->mask.proto) in fill_default_mask() 1081 fs->mask.proto |= ~0; in fill_default_mask() 1216 ntuple_mask |= (u64)fs->mask.proto << tp->protocol_shift; in is_filter_exact_match() 1253 if (!fs->val.proto) in hash_filter_ntuple() 1256 ntuple |= (u64)fs->val.proto << t in hash_filter_ntuple() [all...] |
H A D | cxgb4_tc_flower.c | 197 fs->val.proto = match.key->ip_proto; in cxgb4_process_flow_match() 198 fs->mask.proto = match.mask->ip_proto; in cxgb4_process_flow_match() 740 u16 proto = be16_to_cpu(act->vlan.proto); in cxgb4_validate_flow_actions() local 747 if (proto != ETH_P_8021Q) { in cxgb4_validate_flow_actions() 748 netdev_err(dev, "%s: Unsupported vlan proto\n", in cxgb4_validate_flow_actions()
|
/third_party/python/Lib/test/ |
H A D | test_array.py | 308 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 311 d = pickle.dumps((itorig, orig), proto) 319 d = pickle.dumps((itorig, orig), proto) 328 d = pickle.dumps((itorig, orig), proto) 336 d = pickle.dumps((itorig, orig), proto) 363 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 366 d = pickle.dumps((itorig, orig), proto) 375 d = pickle.dumps((itorig, orig), proto) 385 d = pickle.dumps((itorig, orig), proto) 394 d = pickle.dumps((itorig, orig), proto) [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | ethtool_common.c | 757 uip_mask->proto = IP_PROTO_FULL_MASK; in efx_ethtool_get_class_rule() 758 uip_entry->proto = spec.ip_proto; in efx_ethtool_get_class_rule() 1050 if (uip_mask->proto) { in efx_ethtool_set_class_rule() 1051 if (uip_mask->proto != IP_PROTO_FULL_MASK) in efx_ethtool_set_class_rule() 1054 spec.ip_proto = uip_entry->proto; in efx_ethtool_set_class_rule()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/ |
H A D | ethtool.c | 895 uip_mask->proto = IP_PROTO_FULL_MASK; in ef4_ethtool_get_class_rule() 896 uip_entry->proto = spec.ip_proto; in ef4_ethtool_get_class_rule() 1143 if (uip_mask->proto) { in ef4_ethtool_set_class_rule() 1144 if (uip_mask->proto != IP_PROTO_FULL_MASK) in ef4_ethtool_set_class_rule() 1147 spec.ip_proto = uip_entry->proto; in ef4_ethtool_set_class_rule()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | ip_vs.h | 479 atomic_t appcnt; /* counter of proto app incs. */ 483 struct ip_vs_protocol *ip_vs_proto_get(unsigned short proto); 485 unsigned short proto); 753 struct list_head p_list; /* member in proto app list */ 1173 const char *ip_vs_proto_name(unsigned int proto); 1352 int register_ip_vs_app_inc(struct netns_ipvs *ipvs, struct ip_vs_app *app, __u16 proto, 1631 struct ip_vs_conn *cp, u_int8_t proto,
|
/kernel/linux/linux-5.10/net/bridge/ |
H A D | br_private.h | 894 switch (ip->proto) { in br_multicast_is_star_g() 907 __be16 proto) in br_multicast_should_handle_mode() 909 switch (proto) { in br_multicast_should_handle_mode() 1068 int __br_vlan_set_proto(struct net_bridge *br, __be16 proto); 1411 void br_stp_rcv(const struct stp_proto *proto, struct sk_buff *skb, 906 br_multicast_should_handle_mode(const struct net_bridge *br, __be16 proto) br_multicast_should_handle_mode() argument
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | esp4.c | 493 esp_output_fill_trailer(tail, esp->tfclen, esp->plen, esp->proto); in esp_output_head() 527 esp_output_fill_trailer(tail, esp->tfclen, esp->plen, esp->proto); in esp_output_head() 667 esp.proto = *skb_mac_header(skb); in esp_output() 723 ret = xo->proto; in esp_remove_trailer() 1209 .proto = IPPROTO_ESP,
|
H A D | ip_tunnel_core.c | 51 __be32 src, __be32 dst, __u8 proto, in iptunnel_xmit() 75 iph->protocol = proto; in iptunnel_xmit() 358 u8 proto = ip6h->nexthdr; in iptunnel_pmtud_check_icmpv6() local 369 offset = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &proto, in iptunnel_pmtud_check_icmpv6() 374 if (proto == IPPROTO_ICMPV6) { in iptunnel_pmtud_check_icmpv6() 50 iptunnel_xmit(struct sock *sk, struct rtable *rt, struct sk_buff *skb, __be32 src, __be32 dst, __u8 proto, __u8 tos, __u8 ttl, __be16 df, bool xnet) iptunnel_xmit() argument
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | af_inet6.c | 124 struct proto *answer_prot; in inet6_create() 159 * Be more specific, e.g. net-pf-10-proto-132-type-1 in inet6_create() 160 * (net-pf-PF_INET6-proto-IPPROTO_SCTP-type-SOCK_STREAM) in inet6_create() 163 request_module("net-pf-%d-proto-%d-type-%d", in inet6_create() 166 * Fall back to generic, e.g. net-pf-10-proto-132 in inet6_create() 167 * (net-pf-PF_INET6-proto-IPPROTO_SCTP) in inet6_create() 170 request_module("net-pf-%d-proto-%d", in inet6_create() 452 const struct proto *prot; in inet6_bind() 571 const struct proto *prot; in inet6_ioctl() 655 const struct proto *pro in inet6_sendmsg() [all...] |
H A D | esp6.c | 527 esp_output_fill_trailer(tail, esp->tfclen, esp->plen, esp->proto); in esp6_output_head() 561 esp_output_fill_trailer(tail, esp->tfclen, esp->plen, esp->proto); in esp6_output_head() 702 esp.proto = *skb_mac_header(skb); in esp6_output() 758 ret = xo->proto; in esp_remove_trailer() 1259 .proto = IPPROTO_ESP,
|
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | client.c | 180 clp->cl_proto = cl_init->proto; in nfs_alloc_client() 312 if (clp->cl_proto != data->proto) in nfs_match_client() 455 void nfs_init_timeout_values(struct rpc_timeout *to, int proto, in nfs_init_timeout_values() argument 461 switch (proto) { in nfs_init_timeout_values() 677 .proto = ctx->nfs_server.protocol, in nfs_init_server()
|
H A D | nfs4client.c | 866 int proto, const struct rpc_timeout *timeparms, in nfs4_set_client() 876 .proto = proto, in nfs4_set_client() 886 if (proto == XPRT_TRANSPORT_TCP) in nfs4_set_client() 943 .proto = ds_proto, in nfs4_set_ds_client() 861 nfs4_set_client(struct nfs_server *server, const char *hostname, const struct sockaddr *addr, const size_t addrlen, const char *ip_addr, int proto, const struct rpc_timeout *timeparms, u32 minorversion, unsigned int nconnect, struct net *net) nfs4_set_client() argument
|
/kernel/linux/linux-6.6/drivers/mtd/spi-nor/ |
H A D | sfdp.c | 69 enum spi_nor_protocol proto; member 238 enum spi_nor_protocol proto) in spi_nor_set_read_settings_from_bfpt() 243 read->proto = proto; in spi_nor_set_read_settings_from_bfpt() 516 spi_nor_set_read_settings_from_bfpt(read, half, rd->proto); in spi_nor_parse_bfpt() 236 spi_nor_set_read_settings_from_bfpt(struct spi_nor_read_command *read, u16 half, enum spi_nor_protocol proto) spi_nor_set_read_settings_from_bfpt() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | ethtool_common.c | 758 uip_mask->proto = IP_PROTO_FULL_MASK; in efx_ethtool_get_class_rule() 759 uip_entry->proto = spec.ip_proto; in efx_ethtool_get_class_rule() 1051 if (uip_mask->proto) { in efx_ethtool_set_class_rule() 1052 if (uip_mask->proto != IP_PROTO_FULL_MASK) in efx_ethtool_set_class_rule() 1055 spec.ip_proto = uip_entry->proto; in efx_ethtool_set_class_rule()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/ |
H A D | ethtool.c | 905 uip_mask->proto = IP_PROTO_FULL_MASK; in ef4_ethtool_get_class_rule() 906 uip_entry->proto = spec.ip_proto; in ef4_ethtool_get_class_rule() 1153 if (uip_mask->proto) { in ef4_ethtool_set_class_rule() 1154 if (uip_mask->proto != IP_PROTO_FULL_MASK) in ef4_ethtool_set_class_rule() 1157 spec.ip_proto = uip_entry->proto; in ef4_ethtool_set_class_rule()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/ |
H A D | ethtool_common.c | 758 uip_mask->proto = IP_PROTO_FULL_MASK; in efx_ethtool_get_class_rule() 759 uip_entry->proto = spec.ip_proto; in efx_ethtool_get_class_rule() 1052 if (uip_mask->proto) { in efx_ethtool_set_class_rule() 1053 if (uip_mask->proto != IP_PROTO_FULL_MASK) in efx_ethtool_set_class_rule() 1056 spec.ip_proto = uip_entry->proto; in efx_ethtool_set_class_rule()
|
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | client.c | 181 clp->cl_proto = cl_init->proto; in nfs_alloc_client() 311 if (clp->cl_proto != data->proto) in nfs_match_client() 458 void nfs_init_timeout_values(struct rpc_timeout *to, int proto, in nfs_init_timeout_values() argument 464 switch (proto) { in nfs_init_timeout_values() 683 .proto = ctx->nfs_server.protocol, in nfs_init_server()
|
/kernel/linux/linux-6.6/drivers/net/ppp/ |
H A D | pppoe.c | 462 proto.pppoe.padt_work); in pppoe_unbind_sock_work() 506 if (!schedule_work(&po->proto.pppoe.padt_work)) in pppoe_disc_rcv() 525 static struct proto pppoe_sk_proto __read_mostly = { 555 INIT_WORK(&pppox_sk(sk)->proto.pppoe.padt_work, in pppoe_create() 988 path->encap.proto = htons(ETH_P_PPP_SES); in pppoe_fill_forward_path()
|