/freebsd/contrib/netbsd-tests/lib/libc/net/ |
H A D | t_getprotoent.c | 63 ATF_REQUIRE(p->p_proto == i); in ATF_TC_BODY() 71 ATF_REQUIRE(p->p_proto == i); in ATF_TC_BODY() 94 ATF_REQUIRE(p->p_proto == protos[i].number); in ATF_TC_BODY() 140 ATF_REQUIRE(p->p_proto == protos[i].number); in ATF_TC_BODY() 179 ATF_CHECK(p->p_proto == i); in ATF_TC_BODY() 199 ATF_REQUIRE(p->p_proto == 0); in ATF_TC_BODY() 202 ATF_REQUIRE(p->p_proto == 1); in ATF_TC_BODY() 205 ATF_REQUIRE(p->p_proto == 2); in ATF_TC_BODY() 210 ATF_REQUIRE(p->p_proto == 0); in ATF_TC_BODY() 213 ATF_REQUIRE(p->p_proto == 1); in ATF_TC_BODY() [all …]
|
H A D | h_protoent.c | 43 prp->p_name, prp->p_proto); in pserv()
|
/freebsd/lib/libc/tests/nss/ |
H A D | getproto_test.c | 92 dest->p_proto = src->p_proto; in IMPLEMENT_TEST_FILE_SNAPSHOT() 135 (pe1->p_proto != pe2->p_proto)) in compare_protoent() 170 pe->p_name, pe->p_proto); in sdump_protoent() 215 pe->p_proto = (int)strtol(s, &ts, 10); in protoent_read_snapshot_func() 299 if (pe->p_proto < 0) in protoent_test_correctness() 374 pe = getprotobynumber(pe_model->p_proto); in protoent_test_getprotobynumber()
|
/freebsd/usr.bin/bluetooth/bthost/ |
H A D | bthost.c | 129 printf("%d", pe->p_proto); in protomode() 132 pe->p_name, pe->p_proto); in protomode()
|
/freebsd/lib/libcasper/services/cap_netdb/ |
H A D | cap_netdb.c | 73 pp->p_proto = (int)nvlist_take_number(nvl, "proto"); in protoent_unpack() 109 nvlist_add_number(nvl, "proto", (uint64_t)pp->p_proto); in protoent_pack()
|
/freebsd/sbin/ipf/libipf/ |
H A D | getproto.c | 32 return (p->p_proto); in getproto()
|
/freebsd/lib/libcasper/services/cap_netdb/tests/ |
H A D | netdb_test.c | 81 ATF_REQUIRE(pp->p_proto != 0); in ATF_TC_BODY()
|
/freebsd/lib/libbluetooth/ |
H A D | bluetooth.c | 201 if (p->p_proto == proto) in bt_getprotobynumber() 234 proto.p_proto = atoi(cp); in bt_getprotoent()
|
/freebsd/lib/libc/net/ |
H A D | getprotoent.c | 313 pptr->p_proto = pe->p_proto; in __copy_protoent() 386 pe->p_proto = l; in __getprotoent_p()
|
H A D | getproto.c | 72 if (pe.p_proto == number) in files_getprotobynumber()
|
/freebsd/contrib/tcp_wrappers/ |
H A D | fix_options.c | 67 ipproto = ip->p_proto; in fix_options()
|
/freebsd/include/ |
H A D | netdb.h | 130 int p_proto; /* protocol # */ member
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_mcp.c | 2564 enum ecore_pci_personality *p_proto) in ecore_mcp_get_shmem_proto_legacy() argument 2571 *p_proto = ECORE_PCI_ETH_ROCE; in ecore_mcp_get_shmem_proto_legacy() 2573 *p_proto = ECORE_PCI_ETH; in ecore_mcp_get_shmem_proto_legacy() 2577 (u32) *p_proto); in ecore_mcp_get_shmem_proto_legacy() 2583 enum ecore_pci_personality *p_proto) in ecore_mcp_get_shmem_proto_mfw() argument 2601 *p_proto = ECORE_PCI_ETH; in ecore_mcp_get_shmem_proto_mfw() 2604 *p_proto = ECORE_PCI_ETH_ROCE; in ecore_mcp_get_shmem_proto_mfw() 2607 *p_proto = ECORE_PCI_ETH_IWARP; in ecore_mcp_get_shmem_proto_mfw() 2610 *p_proto = ECORE_PCI_ETH_RDMA; in ecore_mcp_get_shmem_proto_mfw() 2621 (u32) *p_proto, resp, param); in ecore_mcp_get_shmem_proto_mfw() [all …]
|
/freebsd/usr.sbin/ppp/ |
H A D | filter.c | 170 if (pe && pe->p_proto == IPPROTO_TCP) { in ParseUdpOrTcp() 368 fe.f_proto = (pe == NULL) ? 0 : pe->p_proto; in filter_Parse()
|
H A D | nat_cmd.c | 292 link = LibAliasRedirectProto(la, localIP, remoteIP, publicIP, pe->p_proto); in nat_RedirectProto()
|
/freebsd/usr.bin/getaddrinfo/ |
H A D | getaddrinfo.c | 209 *protop = protoent->p_proto; in parse_protocol()
|
/freebsd/contrib/tcpdump/ |
H A D | addrtoname.c | 209 u_short p_proto; member 571 if (tp->p_oui == i && tp->p_proto == j) in lookup_protoid() 576 tp->p_proto = (u_short)j; in lookup_protoid()
|
/freebsd/sbin/ipf/ipmon/ |
H A D | ipmon.c | 372 if (p->p_proto >= 0 && p->p_proto <= 255 && in init_tabs() 373 p->p_name != NULL && protocols[p->p_proto] == NULL) in init_tabs() 374 protocols[p->p_proto] = strdup(p->p_name); in init_tabs()
|
/freebsd/sbin/ipf/ipsend/ |
H A D | ipsend.c | 224 ip->ip_p = p->p_proto; in main()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | getaddrinfo.c | 61 *protocol = protoent->p_proto; in get_port_protocol_socktype()
|
/freebsd/contrib/libpcap/ |
H A D | nametoaddr.c | 561 return p->p_proto; in pcap_nametoproto()
|
/freebsd/lib/libc/resolv/ |
H A D | res_mkupdate.c | 1041 slp->port = pp->p_proto; /*%< host byte order */ in res_buildprotolist() 1159 prot.p_proto = lp->port; /*%< Host byte order. */ in cgetprotobynumber()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_platform_limits_freebsd.h | 120 int p_proto; member
|
/freebsd/usr.bin/getent/ |
H A D | getent.c | 428 "%-16s %5d", pe->p_name, pe->p_proto) in protocols()
|
/freebsd/usr.sbin/traceroute/ |
H A D | traceroute.c | 521 if ((s = socket(AF_INET, SOCK_RAW, pe->p_proto)) < 0) in main() 2041 pnum = pe->p_proto; in setproto()
|