Home
last modified time | relevance | path

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

12

/freebsd/contrib/netbsd-tests/lib/libc/net/
H A Dt_getprotoent.c63 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 Dh_protoent.c43 prp->p_name, prp->p_proto); in pserv()
/freebsd/lib/libc/tests/nss/
H A Dgetproto_test.c92 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 Dbthost.c129 printf("%d", pe->p_proto); in protomode()
132 pe->p_name, pe->p_proto); in protomode()
/freebsd/lib/libcasper/services/cap_netdb/
H A Dcap_netdb.c73 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 Dgetproto.c32 return (p->p_proto); in getproto()
/freebsd/lib/libcasper/services/cap_netdb/tests/
H A Dnetdb_test.c81 ATF_REQUIRE(pp->p_proto != 0); in ATF_TC_BODY()
/freebsd/lib/libbluetooth/
H A Dbluetooth.c201 if (p->p_proto == proto) in bt_getprotobynumber()
234 proto.p_proto = atoi(cp); in bt_getprotoent()
/freebsd/lib/libc/net/
H A Dgetprotoent.c313 pptr->p_proto = pe->p_proto; in __copy_protoent()
386 pe->p_proto = l; in __getprotoent_p()
H A Dgetproto.c72 if (pe.p_proto == number) in files_getprotobynumber()
/freebsd/contrib/tcp_wrappers/
H A Dfix_options.c67 ipproto = ip->p_proto; in fix_options()
/freebsd/include/
H A Dnetdb.h130 int p_proto; /* protocol # */ member
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_mcp.c2564 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 Dfilter.c170 if (pe && pe->p_proto == IPPROTO_TCP) { in ParseUdpOrTcp()
368 fe.f_proto = (pe == NULL) ? 0 : pe->p_proto; in filter_Parse()
H A Dnat_cmd.c292 link = LibAliasRedirectProto(la, localIP, remoteIP, publicIP, pe->p_proto); in nat_RedirectProto()
/freebsd/usr.bin/getaddrinfo/
H A Dgetaddrinfo.c209 *protop = protoent->p_proto; in parse_protocol()
/freebsd/contrib/tcpdump/
H A Daddrtoname.c209 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 Dipmon.c372 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 Dipsend.c224 ip->ip_p = p->p_proto; in main()
/freebsd/crypto/heimdal/lib/roken/
H A Dgetaddrinfo.c61 *protocol = protoent->p_proto; in get_port_protocol_socktype()
/freebsd/contrib/libpcap/
H A Dnametoaddr.c561 return p->p_proto; in pcap_nametoproto()
/freebsd/lib/libc/resolv/
H A Dres_mkupdate.c1041 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 Dsanitizer_platform_limits_freebsd.h120 int p_proto; member
/freebsd/usr.bin/getent/
H A Dgetent.c428 "%-16s %5d", pe->p_name, pe->p_proto) in protocols()
/freebsd/usr.sbin/traceroute/
H A Dtraceroute.c521 if ((s = socket(AF_INET, SOCK_RAW, pe->p_proto)) < 0) in main()
2041 pnum = pe->p_proto; in setproto()

12