/third_party/lwip/src/netif/ppp/ |
H A D | demand.c | 318 demand_rexmit(proto, newip) in demand_rexmit() 319 int proto; in demand_rexmit() 338 if (PPP_PROTOCOL(pkt->data) == proto) { 339 if ( (proto == PPP_IP) && newip ) { 438 int proto, i; local 443 proto = PPP_PROTOCOL(p); 456 if (protp->protocol < 0xC000 && (protp->protocol & ~0x8000) == proto) {
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | tcp_fastopen_backup_key.c | 91 static void build_rcv_fd(int family, int proto, int *rcv_fds) in build_rcv_fd() argument 126 rcv_fds[i] = socket(family, proto, 0); in build_rcv_fd() 138 if (proto == SOCK_STREAM && listen(rcv_fds[i], 10)) in build_rcv_fd() 143 static int connect_and_send(int family, int proto) in connect_and_send() argument 189 fd = socket(family, proto, 0); in connect_and_send()
|
/kernel/linux/linux-6.6/include/net/netfilter/ |
H A D | nf_flow_table.h | 129 __be16 proto; member 205 __be16 proto; member 340 __be16 proto; in nf_flow_pppoe_proto() local 342 proto = *((__be16 *)(skb_mac_header(skb) + ETH_HLEN + in nf_flow_pppoe_proto() 344 switch (proto) { in nf_flow_pppoe_proto()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | tcp_fastopen_backup_key.c | 89 static void build_rcv_fd(int family, int proto, int *rcv_fds) in build_rcv_fd() argument 124 rcv_fds[i] = socket(family, proto, 0); in build_rcv_fd() 136 if (proto == SOCK_STREAM && listen(rcv_fds[i], 10)) in build_rcv_fd() 141 static int connect_and_send(int family, int proto) in connect_and_send() argument 187 fd = socket(family, proto, 0); in connect_and_send()
|
/third_party/protobuf/editors/ |
H A D | proto.vim | 35 " 1. cp proto.vim ~/.vim/syntax/ 39 " au! BufRead,BufNewFile *.proto setfiletype proto 42 " Or just create a new file called ~/.vim/ftdetect/proto.vim with the 105 let b:current_syntax = "proto"
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/Retired/ |
H A D | extensionStubSource.py | 243 proto = cmd.find('proto') 249 pfnDecl += noneStr(proto.text) 252 nameTag = proto.find('name') 254 returnType = noneStr(proto.find('type').text) 261 for elem in proto:
|
/third_party/libcoap/examples/ |
H A D | coap-client.c | 1434 coap_proto_t proto, in open_session() 1443 if (proto == COAP_PROTO_DTLS || proto == COAP_PROTO_TLS || in open_session() 1444 proto == COAP_PROTO_WSS) { in open_session() 1451 proto, dtls_pki, in open_session() 1454 session = coap_new_client_session_pki(ctx, bind_addr, dst, proto, in open_session() 1462 proto, dtls_psk, in open_session() 1465 session = coap_new_client_session_psk2(ctx, bind_addr, dst, proto, in open_session() 1472 proto, dtls_pki, in open_session() 1475 session = coap_new_client_session_pki(ctx, bind_addr, dst, proto, in open_session() 1433 open_session(coap_context_t *ctx, coap_proto_t proto, coap_address_t *bind_addr, coap_address_t *dst, const uint8_t *identity, size_t identity_len, const uint8_t *key, size_t key_len) open_session() argument 1493 get_session(coap_context_t *ctx, const char *local_addr, const char *local_port, coap_uri_scheme_t scheme, coap_proto_t proto, coap_address_t *dst, const uint8_t *identity, size_t identity_len, const uint8_t *key, size_t key_len) get_session() argument 1598 coap_proto_t proto; main() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_tunnel.sh | 595 ip xfrm state add src 172.16.1.100 dst 172.16.1.200 proto esp \ 600 tmpl src 172.16.1.100 dst 172.16.1.200 proto esp reqid 1 \ 604 ip xfrm state add src 172.16.1.200 dst 172.16.1.100 proto esp \ 609 tmpl src 172.16.1.200 dst 172.16.1.100 proto esp reqid 2 \ 620 ip xfrm state add src 172.16.1.100 dst 172.16.1.200 proto esp \ 624 tmpl src 172.16.1.100 dst 172.16.1.200 proto esp reqid 1 \ 627 ip xfrm state add src 172.16.1.200 dst 172.16.1.100 proto esp \ 631 tmpl src 172.16.1.200 dst 172.16.1.100 proto esp reqid 2 \ 644 tc filter add dev veth1 proto ip ingress bpf da obj test_tunnel_kern.o \ 691 ip xfrm state delete src 172.16.1.100 dst 172.16.1.200 proto es [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_tunnel.sh | 529 ip xfrm state add src 172.16.1.100 dst 172.16.1.200 proto esp \ 534 tmpl src 172.16.1.100 dst 172.16.1.200 proto esp reqid 1 \ 538 ip xfrm state add src 172.16.1.200 dst 172.16.1.100 proto esp \ 543 tmpl src 172.16.1.200 dst 172.16.1.100 proto esp reqid 2 \ 554 ip xfrm state add src 172.16.1.100 dst 172.16.1.200 proto esp \ 558 tmpl src 172.16.1.100 dst 172.16.1.200 proto esp reqid 1 \ 561 ip xfrm state add src 172.16.1.200 dst 172.16.1.100 proto esp \ 565 tmpl src 172.16.1.200 dst 172.16.1.100 proto esp reqid 2 \ 585 tc filter add dev veth1 proto ip ingress bpf da object-pinned \ 635 ip xfrm state delete src 172.16.1.100 dst 172.16.1.200 proto es [all...] |
/kernel/linux/linux-5.10/arch/x86/lib/ |
H A D | csum-wrappers_64.c | 80 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic() 84 rest = (__force __u64)htonl(len) + (__force __u64)htons(proto) + in csum_ipv6_magic() 78 csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr, __u32 len, __u8 proto, __wsum sum) csum_ipv6_magic() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
H A D | enic_dev.h | 50 int enic_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid); 51 int enic_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid);
|
/kernel/linux/linux-5.10/net/batman-adv/ |
H A D | trace.h | 26 #define TRACE_EVENT(name, proto, ...) \ 27 static inline void trace_ ## name(proto) {}
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | dacgf119.c | 41 case 0: state->proto = CRT; break; in gf119_dac_state() 43 state->proto = UNKNOWN; in gf119_dac_state()
|
/kernel/linux/linux-6.6/include/linux/dsa/ |
H A D | sja1105.h | 69 BUG_ON(ds->dst->tag_ops->proto != DSA_TAG_PROTO_SJA1105 && in sja1105_tagger_data() 70 ds->dst->tag_ops->proto != DSA_TAG_PROTO_SJA1110); in sja1105_tagger_data()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/ |
H A D | enic_dev.h | 35 int enic_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid); 36 int enic_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid);
|
/kernel/linux/linux-6.6/arch/x86/lib/ |
H A D | csum-wrappers_64.c | 78 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic() 82 rest = (__force __u64)htonl(len) + (__force __u64)htons(proto) + in csum_ipv6_magic() 76 csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr, __u32 len, __u8 proto, __wsum sum) csum_ipv6_magic() argument
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_tc_peer.c | 46 __u16 proto = skb->protocol; in tc_src_l3() local 57 if (bpf_skb_store_bytes(skb, ETH_ALEN + ETH_ALEN, &proto, sizeof(__u16), 0) != 0) in tc_src_l3()
|
/kernel/linux/linux-6.6/net/batman-adv/ |
H A D | trace.h | 24 #define TRACE_EVENT(name, proto, ...) \ 25 static inline void trace_ ## name(proto) {}
|
/kernel/linux/linux-6.6/net/handshake/ |
H A D | handshake.h | 73 int handshake_genl_notify(struct net *net, const struct handshake_proto *proto, 80 struct handshake_req *handshake_req_alloc(const struct handshake_proto *proto,
|
/third_party/mbedtls/include/mbedtls/ |
H A D | net_sockets.h | 108 * \param proto Protocol: MBEDTLS_NET_PROTO_TCP or MBEDTLS_NET_PROTO_UDP 117 int mbedtls_net_connect(mbedtls_net_context *ctx, const char *host, const char *port, int proto); 126 * \param proto Protocol: MBEDTLS_NET_PROTO_TCP or MBEDTLS_NET_PROTO_UDP 137 int mbedtls_net_bind(mbedtls_net_context *ctx, const char *bind_ip, const char *port, int proto);
|
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | builtin-prototypes.js | 31 for (proto of prototypes) { 32 assert (Object.prototype.toString.call (proto) === '[object Object]');
|
/third_party/ltp/testcases/kernel/syscalls/socket/ |
H A D | socket01.c | 26 int proto; member 47 TEST(fd = socket(tc->domain, tc->type, tc->proto)); in verify_socket()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_control/ |
H A D | rpc_clnt_control_dataint.c | 49 char proto[8] = "udp"; in main() local 55 clnt = clnt_create(argc[1], progNum, VERSNUM, proto); in main()
|
/third_party/python/Lib/ctypes/test/ |
H A D | test_simplesubclasses.py | 19 proto = CFUNCTYPE(None) 23 cb = proto(func)
|
/third_party/python/Lib/test/ |
H A D | test_sndhdr.py | 34 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 35 dump = pickle.dumps(what, proto)
|