Home
last modified time | relevance | path

Searched refs:p_proto (Results 1 – 22 of 22) sorted by relevance

/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/NetBSD/
Dprotoent.cpp17 printf("%d\n", ptp->p_proto); in test1()
29 printf("%d\n", ptp->p_proto); in test2()
41 printf("%d\n", ptp->p_proto); in test3()
56 printf("%d\n", ptp->p_proto); in test4()
68 printf("%d\n", ptp->p_proto); in test5()
/external/iproute2/lib/
Dinet_proto.c65 icache = pe->p_proto; in inet_proto_a2n()
67 return pe->p_proto; in inet_proto_a2n()
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dprotoent.cpp16 fprintf(stderr, "%s (%d)\n", curr_entry->p_name, curr_entry->p_proto); in print_protoent()
/external/ltp/testcases/network/sockets/
DltpClient.c372 rawSocket = socket(PF_INET, SOCK_RAW, protocol->p_proto); in network_listener()
493 rawSocket = socket(PF_INET, SOCK_RAW, protocol->p_proto); in ping_network()
576 rawTraceSocket = socket(PF_INET, SOCK_RAW, protocol->p_proto); in ltp_traceroute()
/external/iproute2/ip/
Dipfou.c70 ipproto = servptr->p_proto; in fou_parse_opt()
Dipxfrm.c1248 upspec = pp->p_proto; in xfrm_selector_upspec_parse()
/external/iptables/extensions/
Dlibip6t_ipv6header.c89 proto = pent->p_proto; in name_to_proto()
/external/tcpdump/
Daddrtoname.c168 u_short p_proto; member
478 if (tp->p_oui == i && tp->p_proto == j) in lookup_protoid()
483 tp->p_proto = j; in lookup_protoid()
/external/oj-libjdwp/src/solaris/transport/socket/
Dsocket_md.c189 int tcp_level = (proto == 0 ? IPPROTO_TCP: proto->p_proto); in dbgsysSetSocketOption()
/external/libwebsockets/lib/plat/windows/
Dwindows-sockets.c126 protonbr = tcp_proto->p_proto; in lws_plat_set_socket_options()
/external/libwebsockets/lib/plat/unix/
Dunix-sockets.c174 if (!unix_skt && setsockopt(fd, tcp_proto->p_proto, TCP_NODELAY, &optval, optlen) < 0) in lws_plat_set_socket_options()
/external/libpcap/
Dnametoaddr.c568 return p->p_proto; in pcap_nametoproto()
/external/ltp/testcases/network/lib6/
Dasapi_01.c118 pass = pe && pe->p_proto == ptab[i].prt_value; in do_tests()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h710 int p_proto; member
Dsanitizer_platform_limits_netbsd.h135 int p_proto; member
/external/libnl/lib/
Dutils.c887 return p->p_proto; in nl_str2ip_proto()
/external/linux-kselftest/tools/testing/selftests/net/
Dnettest.c1627 args.protocol = pe->p_proto; in main()
/external/rust/crates/libc/src/unix/
Dmod.rs194 pub p_proto: ::c_int,
/external/iptables/libxtables/
Dxtables.c2103 return pent->p_proto; in xtables_parse_protocol()
/external/python/cpython2/Modules/
Dsocketmodule.c3708 return PyInt_FromLong((long) sp->p_proto);
/external/rust/crates/libc/src/fuchsia/
Dmod.rs283 pub p_proto: ::c_int,
/external/python/cpython3/Modules/
Dsocketmodule.c5961 return PyLong_FromLong((long) sp->p_proto);