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

12

/freebsd-current/contrib/netbsd-tests/lib/libc/net/
H A Dt_getprotoent.c63 ATF_REQUIRE(p->p_proto == i);
71 ATF_REQUIRE(p->p_proto == i);
94 ATF_REQUIRE(p->p_proto == protos[i].number);
140 ATF_REQUIRE(p->p_proto == protos[i].number);
179 ATF_CHECK(p->p_proto == i);
199 ATF_REQUIRE(p->p_proto == 0);
202 ATF_REQUIRE(p->p_proto == 1);
205 ATF_REQUIRE(p->p_proto == 2);
210 ATF_REQUIRE(p->p_proto == 0);
213 ATF_REQUIRE(p->p_proto
[all...]
H A Dh_protoent.c43 prp->p_name, prp->p_proto);
/freebsd-current/sbin/ipf/libipf/
H A Dgetproto.c32 return (p->p_proto);
/freebsd-current/usr.bin/bluetooth/bthost/
H A Dbthost.c129 printf("%d", pe->p_proto);
132 pe->p_name, pe->p_proto);
/freebsd-current/lib/libcasper/services/cap_netdb/
H A Dcap_netdb.c73 pp->p_proto = (int)nvlist_take_number(nvl, "proto");
109 nvlist_add_number(nvl, "proto", (uint64_t)pp->p_proto);
/freebsd-current/lib/libc/tests/nss/
H A Dgetproto_test.c92 dest->p_proto = src->p_proto;
135 (pe1->p_proto != pe2->p_proto))
170 pe->p_name, pe->p_proto);
215 pe->p_proto = (int)strtol(s, &ts, 10);
299 if (pe->p_proto < 0)
374 pe = getprotobynumber(pe_model->p_proto);
/freebsd-current/lib/libcasper/services/cap_netdb/tests/
H A Dnetdb_test.c81 ATF_REQUIRE(pp->p_proto != 0);
/freebsd-current/contrib/tcp_wrappers/
H A Dfix_options.c67 ipproto = ip->p_proto;
/freebsd-current/lib/libc/net/
H A Dgetproto.c72 if (pe.p_proto == number)
H A Dgetprotoent.c313 pptr->p_proto = pe->p_proto;
386 pe->p_proto = l;
/freebsd-current/lib/libbluetooth/
H A Dbluetooth.c201 if (p->p_proto == proto)
234 proto.p_proto = atoi(cp);
/freebsd-current/include/
H A Dnetdb.h130 int p_proto; /* protocol # */ member in struct:protoent
/freebsd-current/usr.bin/getaddrinfo/
H A Dgetaddrinfo.c209 *protop = protoent->p_proto;
/freebsd-current/sys/dev/qlnx/qlnxe/
H A Decore_mcp.c2564 enum ecore_pci_personality *p_proto)
2571 *p_proto = ECORE_PCI_ETH_ROCE;
2573 *p_proto = ECORE_PCI_ETH;
2577 (u32) *p_proto);
2583 enum ecore_pci_personality *p_proto)
2601 *p_proto = ECORE_PCI_ETH;
2604 *p_proto = ECORE_PCI_ETH_ROCE;
2607 *p_proto = ECORE_PCI_ETH_IWARP;
2610 *p_proto = ECORE_PCI_ETH_RDMA;
2621 (u32) *p_proto, res
2563 ecore_mcp_get_shmem_proto_legacy(struct ecore_hwfn *p_hwfn, enum ecore_pci_personality *p_proto) argument
2581 ecore_mcp_get_shmem_proto_mfw(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, enum ecore_pci_personality *p_proto) argument
2626 ecore_mcp_get_shmem_proto(struct ecore_hwfn *p_hwfn, struct public_func *p_info, struct ecore_ptt *p_ptt, enum ecore_pci_personality *p_proto) argument
[all...]
/freebsd-current/usr.sbin/ppp/
H A Dfilter.c170 if (pe && pe->p_proto == IPPROTO_TCP) {
368 fe.f_proto = (pe == NULL) ? 0 : pe->p_proto;
H A Dnat_cmd.c292 link = LibAliasRedirectProto(la, localIP, remoteIP, publicIP, pe->p_proto);
/freebsd-current/crypto/heimdal/lib/roken/
H A Dgetaddrinfo.c61 *protocol = protoent->p_proto;
/freebsd-current/sbin/ipf/ipsend/
H A Dipsend.c224 ip->ip_p = p->p_proto;
/freebsd-current/contrib/tcpdump/
H A Daddrtoname.c211 u_short p_proto; member in struct:protoidmem
574 if (tp->p_oui == i && tp->p_proto == j)
579 tp->p_proto = (u_short)j;
/freebsd-current/contrib/libpcap/
H A Dnametoaddr.c568 return p->p_proto;
/freebsd-current/sbin/ipf/ipmon/
H A Dipmon.c371 if (p->p_proto >= 0 && p->p_proto <= 255 &&
372 p->p_name != NULL && protocols[p->p_proto] == NULL)
373 protocols[p->p_proto] = strdup(p->p_name);
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_freebsd.h120 int p_proto; member in struct:__sanitizer::__sanitizer_protoent
/freebsd-current/lib/libc/resolv/
H A Dres_mkupdate.c1041 slp->port = pp->p_proto; /*%< host byte order */
1159 prot.p_proto = lp->port; /*%< Host byte order. */
/freebsd-current/usr.bin/getent/
H A Dgetent.c428 "%-16s %5d", pe->p_name, pe->p_proto)
/freebsd-current/usr.bin/sockstat/
H A Dsockstat.c241 return (pent->p_proto);
1381 protos[pindex] = prot->p_proto;

Completed in 854 milliseconds

12