/kernel/linux/linux-6.6/net/hsr/ |
H A D | hsr_forward.c | 516 int hsr_fill_frame_info(__be16 proto, struct sk_buff *skb, in hsr_fill_frame_info() argument 523 if ((!hsr->prot_version && proto == htons(ETH_P_PRP)) || in hsr_fill_frame_info() 524 proto == htons(ETH_P_HSR)) { in hsr_fill_frame_info() 543 int prp_fill_frame_info(__be16 proto, struct sk_buff *skb, in prp_fill_frame_info() argument 568 __be16 proto; in fill_frame_info() local 585 proto = ethhdr->h_proto; in fill_frame_info() 587 if (proto == htons(ETH_P_8021Q)) in fill_frame_info() 592 proto = vlan_hdr->vlanhdr.h_vlan_encapsulated_proto; in fill_frame_info() 600 ret = hsr->proto_ops->fill_frame_info(proto, skb, frame); in fill_frame_info()
|
/kernel/linux/linux-6.6/net/handshake/ |
H A D | handshake-test.c | 35 struct handshake_proto *proto; member 73 .desc = "handshake_req_alloc NULL proto", 74 .proto = NULL, 80 .proto = &handshake_req_alloc_proto_2, 86 .proto = &handshake_req_alloc_proto_3, 92 .proto = &handshake_req_alloc_proto_4, 98 .proto = &handshake_req_alloc_proto_5, 104 .proto = &handshake_req_alloc_proto_6, 110 .proto = &handshake_req_alloc_proto_good, 135 result = handshake_req_alloc(param->proto, para in handshake_req_alloc_case() [all...] |
H A D | netlink.c | 32 * @proto: handshake protocol 37 int handshake_genl_notify(struct net *net, const struct handshake_proto *proto, in handshake_genl_notify() argument 44 if (!test_bit(HANDSHAKE_F_PROTO_NOTIFY, &proto->hp_flags)) in handshake_genl_notify() 48 proto->hp_handler_class)) in handshake_genl_notify() 61 proto->hp_handler_class) < 0) { in handshake_genl_notify() 68 0, proto->hp_handler_class, flags); in handshake_genl_notify()
|
/third_party/elfutils/libdw/ |
H A D | dwarf_getmacros.c | 86 static const uint8_t proto[] = {__VA_ARGS__}; \ 87 (Dwarf_Macro_Op_Proto) {sizeof proto, proto}; \ 357 Dwarf_Macro_Op_Proto *proto = &table->table[idx]; in read_macros() local 381 if (unlikely (proto->nforms > 8)) in read_macros() 383 attributesp = malloc (sizeof (Dwarf_Attribute) * proto->nforms); in read_macros() 394 for (Dwarf_Word i = 0; i < proto->nforms; ++i) in read_macros() 402 attributes[i].form = proto->forms[i]; in read_macros() 415 size_t len = __libdw_form_val_len (&fake_cu, proto->forms[i], readp); in read_macros()
|
/third_party/ltp/testcases/network/iptables/ |
H A D | iptables_lib.sh | 51 proto="icmpv6" 54 proto="icmp" 150 NFRUN -A INPUT -s $loc_addr -p $proto -j DROP > tst_iptables.out 2>&1 170 tst_res TFAIL "$toolname did not block $proto from $loc_addr" 175 tst_res TINFO "Deleting $proto DROP from $loc_addr rule" 196 NFRUN -A INPUT -p $proto --${proto}-type echo-request -d $loc_addr -j \ 346 NFRUN -A INPUT -p $proto --$proto-type echo-request -d $loc_addr -m \
|
/third_party/lwip/src/core/ |
H A D | raw.c | 141 s16_t proto; in raw_input() local 153 proto = IP6H_NEXTH(ip6hdr); in raw_input() 161 proto = IPH_PROTO((struct ip_hdr *)p->payload); in raw_input() 172 (pcb->protocol == proto) && raw_input_local_match(pcb, broadcast) && in raw_input() 174 if ((pcb->protocol == proto) && raw_input_local_match(pcb, broadcast) && in raw_input() 623 * @param proto the protocol number of the IPs payload (e.g. IP_PROTO_ICMP) 628 raw_new(u8_t proto) in raw_new() argument 640 pcb->protocol = proto; in raw_new() 661 * @param proto the protocol number (next header) of the IPv6 packet payload 667 raw_new_ip_type(u8_t type, u8_t proto) in raw_new_ip_type() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/ |
H A D | ocelot_flower.c | 339 switch (ntohs(a->vlan.proto)) { in ocelot_flower_parse_action() 442 u16 proto = ntohs(f->common.protocol); in ocelot_flower_parse_key() local 538 filter->key.ipv4.proto.value[0] = in ocelot_flower_parse_key() 540 filter->key.ipv4.proto.mask[0] = in ocelot_flower_parse_key() 552 filter->key.ipv6.proto.value[0] = in ocelot_flower_parse_key() 554 filter->key.ipv6.proto.mask[0] = in ocelot_flower_parse_key() 561 proto == ETH_P_IP) { in ocelot_flower_parse_key() 594 proto == ETH_P_IPV6) { in ocelot_flower_parse_key() 616 if (match_protocol && proto != ETH_P_ALL) { in ocelot_flower_parse_key() 619 "VCAP ES0 cannot match on L2 proto"); in ocelot_flower_parse_key() [all...] |
/third_party/node/deps/cares/src/lib/ |
H A D | ares_getaddrinfo.c | 191 const char *proto; in lookup_service() local 200 proto = "udp"; in lookup_service() 202 proto = "sctp"; in lookup_service() 204 proto = "dccp"; in lookup_service() 206 proto = "tcp"; in lookup_service() 213 if (getservbyname_r(service, proto, &se, (void *)tmpbuf, sizeof(tmpbuf), in lookup_service() 218 sep = getservbyname_r(service, proto, &se, (void *)tmpbuf, sizeof(tmpbuf)); in lookup_service() 220 if (getservbyname_r(service, proto, &se, (void *)tmpbuf) != 0) { in lookup_service() 225 sep = getservbyname(service, proto); in lookup_service() 230 sep = getservbyname(service, (char *)proto); in lookup_service() [all...] |
/third_party/lwip/src/netif/ppp/ |
H A D | utils.c | 449 u_short proto; in ppp_format_packet() local 453 GETSHORT(proto, p); in ppp_format_packet() 456 if (proto == protp->protocol) in ppp_format_packet() 466 if (proto == (protp->protocol & ~0x8000)) in ppp_format_packet() 476 printer(arg, "[proto=0x%x]", proto); in ppp_format_packet() 706 int proto; in ppp_dump_packet() local 711 proto = (p[0] << 8) + p[1]; in ppp_dump_packet() 712 if (proto < 0xC000 && (proto in ppp_dump_packet() [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/ |
H A D | coap_session.h | 70 coap_proto_t proto; /**< protocol used */ member 191 * @param proto Protocol. 199 coap_proto_t proto 208 * @param proto Protocol. 219 coap_proto_t proto, 234 * @param proto CoAP Protocol. 244 coap_proto_t proto, 324 * @param proto Protocol used on this endpoint 327 coap_endpoint_t *coap_new_endpoint(struct coap_context_t *context, const coap_address_t *listen_addr, coap_proto_t proto);
|
H A D | pdu.h | 409 * @param proto Session's protocol 414 size_t coap_pdu_parse_header_size(coap_proto_t proto, 419 * @p length must be at least coap_pdu_parse_header_size(proto, data). 422 * @param proto Session's protocol 428 size_t coap_pdu_parse_size(coap_proto_t proto, 435 * @param proto The target wire protocol. 439 int coap_pdu_parse_header(coap_pdu_t *pdu, coap_proto_t proto); 459 * @param proto Session's protocol 468 int coap_pdu_parse(coap_proto_t proto, 543 * @param proto Th [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/abm/ |
H A D | cls.c | 22 __be16 proto, struct netlink_ext_ack *extack) in nfp_abm_u32_check_knode() 67 switch (proto) { in nfp_abm_u32_check_knode() 172 __be16 proto, struct netlink_ext_ack *extack) in nfp_abm_u32_knode_replace() 179 if (!nfp_abm_u32_check_knode(alink->abm, knode, proto, extack)) in nfp_abm_u32_knode_replace() 182 tos_off = proto == htons(ETH_P_IP) ? 16 : 20; in nfp_abm_u32_knode_replace() 21 nfp_abm_u32_check_knode(struct nfp_abm *abm, struct tc_cls_u32_knode *knode, __be16 proto, struct netlink_ext_ack *extack) nfp_abm_u32_check_knode() argument 170 nfp_abm_u32_knode_replace(struct nfp_abm_link *alink, struct tc_cls_u32_knode *knode, __be16 proto, struct netlink_ext_ack *extack) nfp_abm_u32_knode_replace() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | disp.c | 144 info->proto = nvbios_rd08(bios, data + 0x00); in nvbios_ocfg_parse() 153 nvbios_ocfg_match(struct nvkm_bios *bios, u16 outp, u8 proto, u8 flags, in nvbios_ocfg_match() argument 158 if ((info->proto == proto || info->proto == 0xff) && in nvbios_ocfg_match()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/abm/ |
H A D | cls.c | 22 __be16 proto, struct netlink_ext_ack *extack) in nfp_abm_u32_check_knode() 67 switch (proto) { in nfp_abm_u32_check_knode() 172 __be16 proto, struct netlink_ext_ack *extack) in nfp_abm_u32_knode_replace() 179 if (!nfp_abm_u32_check_knode(alink->abm, knode, proto, extack)) in nfp_abm_u32_knode_replace() 182 tos_off = proto == htons(ETH_P_IP) ? 16 : 20; in nfp_abm_u32_knode_replace() 21 nfp_abm_u32_check_knode(struct nfp_abm *abm, struct tc_cls_u32_knode *knode, __be16 proto, struct netlink_ext_ack *extack) nfp_abm_u32_check_knode() argument 170 nfp_abm_u32_knode_replace(struct nfp_abm_link *alink, struct tc_cls_u32_knode *knode, __be16 proto, struct netlink_ext_ack *extack) nfp_abm_u32_knode_replace() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | disp.c | 144 info->proto = nvbios_rd08(bios, data + 0x00); in nvbios_ocfg_parse() 153 nvbios_ocfg_match(struct nvkm_bios *bios, u16 outp, u8 proto, u8 flags, in nvbios_ocfg_match() argument 158 if ((info->proto == proto || info->proto == 0xff) && in nvbios_ocfg_match()
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
H A D | ecma-builtin-function-prototype.c | 220 ecma_value_t proto = ecma_proxy_object_get_prototype_of (this_arg_obj_p); in ecma_builtin_function_prototype_object_bind() local 222 if (ECMA_IS_VALUE_ERROR (proto)) in ecma_builtin_function_prototype_object_bind() 224 return proto; in ecma_builtin_function_prototype_object_bind() 226 prototype_obj_p = ecma_is_value_null (proto) ? NULL : ecma_get_object_from_value (proto); in ecma_builtin_function_prototype_object_bind()
|
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_control.sh | 223 -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 [all...] |
/third_party/lwip/src/core/ipv4/ |
H A D | ip4.c | 818 * @param proto the PROTOCOL to be set in the IP header 830 u8_t proto, struct netif *netif) 833 return ip4_output_if_opt(p, src, dest, ttl, tos, proto, netif, NULL, 0); 844 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, 856 return ip4_output_if_opt_src(p, src_used, dest, ttl, tos, proto, netif, 859 return ip4_output_if_src(p, src_used, dest, ttl, tos, proto, netif); 870 u8_t proto, struct netif *netif) 873 return ip4_output_if_opt_src(p, src, dest, ttl, tos, proto, netif, NULL, 0); 882 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, 949 IPH_PROTO_SET(iphdr, proto); 828 ip4_output_if(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif) global() argument 843 ip4_output_if_opt(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, u16_t optlen) global() argument 868 ip4_output_if_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif) global() argument 881 ip4_output_if_opt_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, u16_t optlen) global() argument 1069 ip4_output(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto) global() argument 1111 ip4_output_hinted(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif_hint *netif_hint) global() argument [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | raw.h | 22 extern struct proto raw_prot; 43 static inline u32 raw_hashfunc(const struct net *net, u32 proto) in raw_hashfunc() argument 45 return hash_32(net_hash_mix(net) ^ proto, RAW_HTABLE_LOG); in raw_hashfunc()
|
H A D | stp.h | 14 int stp_proto_register(const struct stp_proto *proto); 15 void stp_proto_unregister(const struct stp_proto *proto);
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/ |
H A D | rpc_clnt_call_complex.c | 73 char proto[8] = "udp"; in main() local 86 clnt = clnt_create(argc[1], progNum, VERSNUM, proto); in main() 91 printf("Proto : %s\n", proto); in main()
|
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | zip_output_unittest.sh | 54 ' > $TEST_TMPDIR/testzip.proto 58 --java_out=$TEST_TMPDIR/testzip.jar -I$TEST_TMPDIR testzip.proto \ 79 if $JAR c $TEST_TMPDIR/testzip.proto > /dev/null; then
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
H A D | EnumDescriptor.php | 89 public static function buildFromProto($proto, $file_proto, $containing) 98 $proto, 108 $values = $proto->getValue();
|
/kernel/linux/linux-5.10/include/net/ |
H A D | stp.h | 12 int stp_proto_register(const struct stp_proto *proto); 13 void stp_proto_unregister(const struct stp_proto *proto);
|
/kernel/linux/linux-5.10/include/net/netfilter/ |
H A D | nf_reject.h | 8 static inline bool nf_reject_verify_csum(__u8 proto) in nf_reject_verify_csum() argument 13 switch (proto) { in nf_reject_verify_csum()
|