Home
last modified time | relevance | path

Searched refs:ptype (Results 1 – 25 of 87) sorted by relevance

1234

/freebsd/sbin/ipf/libipf/
H A Dprintpoolfield.c24 printpoolfield(void *p, int ptype, int fieldnum) in printpoolfield() argument
35 printpoolfield(p, ptype, i); in printpoolfield()
43 if (ptype == IPLT_POOL) { in printpoolfield()
51 } else if (ptype == IPLT_HASH) { in printpoolfield()
57 } else if (ptype == IPLT_DSTLIST) { in printpoolfield()
67 if (ptype == IPLT_POOL) { in printpoolfield()
73 } else if (ptype == IPLT_HASH) { in printpoolfield()
79 } else if (ptype == IPLT_DSTLIST) { in printpoolfield()
85 if (ptype == IPLT_POOL) { in printpoolfield()
87 } else if (ptype == IPLT_HASH) { in printpoolfield()
[all …]
/freebsd/contrib/ntp/include/
H A Dsafecast.h30 #define UA_PTR(ptype,pval) ((ptype *)(void*)(pval)) argument
31 #define UAC_PTR(ptype,pval) ((const ptype *)(const void*)(pval)) argument
32 #define UAV_PTR(ptype,pval) ((volatile ptype *)(volatile void*)(pval)) argument
/freebsd/contrib/smbfs/lib/smb/
H A Drap.c165 smb_rap_rqparam(struct smb_rap *rap, char ptype, char plen, long value) in smb_rap_rqparam() argument
170 switch (ptype) { in smb_rap_rqparam()
237 char ptype = *p; in smb_rap_setNparam() local
243 switch (ptype) { in smb_rap_setNparam()
250 error = smb_rap_rqparam(rap, ptype, plen, value); in smb_rap_setNparam()
263 char ptype = *p; in smb_rap_setPparam() local
269 switch (ptype) { in smb_rap_setPparam()
284 char ptype = *p; in smb_rap_getNparam() local
290 switch (ptype) { in smb_rap_getNparam()
308 char ptype; in smb_rap_request() local
[all …]
/freebsd/crypto/openssl/crypto/dsa/
H A Ddsa_ameth.c33 int ptype; in dsa_pub_decode() local
43 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in dsa_pub_decode()
45 if (ptype == V_ASN1_SEQUENCE) { in dsa_pub_decode()
55 } else if ((ptype == V_ASN1_NULL) || (ptype == V_ASN1_UNDEF)) { in dsa_pub_decode()
90 int ptype; in dsa_pub_encode() local
112 ptype = V_ASN1_SEQUENCE; in dsa_pub_encode()
114 ptype = V_ASN1_UNDEF; in dsa_pub_encode()
135 if (X509_PUBKEY_set0_param(pk, aobj, ptype, str, penc, penclen)) in dsa_pub_encode()
272 static int do_dsa_print(BIO *bp, const DSA *x, int off, int ptype) in do_dsa_print() argument
282 if (ptype == 2) in do_dsa_print()
[all …]
H A Ddsa_backend.c128 int ptype; in ossl_dsa_key_from_pkcs8() local
141 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in ossl_dsa_key_from_pkcs8()
145 if (privkey->type == V_ASN1_NEG_INTEGER || ptype != V_ASN1_SEQUENCE) in ossl_dsa_key_from_pkcs8()
/freebsd/crypto/openssl/crypto/dh/
H A Ddh_ameth.c64 int ptype; in dh_pub_decode() local
74 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in dh_pub_decode()
76 if (ptype != V_ASN1_SEQUENCE) { in dh_pub_decode()
114 int ptype; in dh_pub_encode() local
132 ptype = V_ASN1_SEQUENCE; in dh_pub_encode()
148 ptype, str, penc, penclen)) in dh_pub_encode()
244 static int do_dh_print(BIO *bp, const DH *x, int indent, int ptype) in do_dh_print() argument
250 if (ptype == 2) in do_dh_print()
255 if (ptype > 0) in do_dh_print()
260 if (x->params.p == NULL || (ptype == 2 && priv_key == NULL) in do_dh_print()
[all …]
/freebsd/usr.bin/rpcgen/
H A Drpc_clntout.c78 ptype(proc->res_prefix, proc->res_type, 1); in write_program()
114 ptype(proc->args.decls->decl.prefix, in printarglist()
119 ptype(proc->res_prefix, proc->res_type, 1); in printarglist()
128 ptype(proc->res_prefix, proc->res_type, 1); in printarglist()
140 ptype(proc->res_prefix, proc->res_type, 1); in printarglist()
181 ptype(proc->res_prefix, proc->res_type, 0); in printbody()
H A Drpc_sample.c92 ptype(proc->res_prefix, proc->res_type, 1); in write_sample_client()
95 ptype(proc->res_prefix, proc->res_type, 1); in write_sample_client()
102 ptype(proc->args.decls->decl.prefix, in write_sample_client()
112 ptype(l->decl.prefix, l->decl.type, 1); in write_sample_client()
173 ptype(proc->res_prefix, proc->res_type, 1); in write_sample_client()
247 ptype(plist->res_prefix, plist->res_type, 1); in return_type()
/freebsd/sys/dev/iavf/
H A Diavf_txrx_common.h44 static inline int iavf_ptype_to_hash(u8 ptype);
55 iavf_ptype_to_hash(u8 ptype) in iavf_ptype_to_hash() argument
59 decoded = decode_rx_desc_ptype(ptype); in iavf_ptype_to_hash()
H A Diavf_txrx_iflib.c47 static void iavf_rx_checksum(if_rxd_info_t ri, u32 status, u32 error, u8 ptype);
674 u8 ptype; in iavf_isc_rxd_pkt_get() local
692 ptype = (qword & IAVF_RXD_QW1_PTYPE_MASK) in iavf_isc_rxd_pkt_get()
726 iavf_rx_checksum(ri, status, error, ptype); in iavf_isc_rxd_pkt_get()
728 ri->iri_rsstype = iavf_ptype_to_hash(ptype); in iavf_isc_rxd_pkt_get()
749 iavf_rx_checksum(if_rxd_info_t ri, u32 status, u32 error, u8 ptype) in iavf_rx_checksum() argument
759 decoded = decode_rx_desc_ptype(ptype); in iavf_rx_checksum()
/freebsd/lib/libc/gen/
H A Ddisklabel.c67 pfsize[3], poffset[3], ptype[3]; in getdiskbyname() local
121 strcpy(ptype, "tx"); in getdiskbyname()
126 psize[1] = pbsize[1] = pfsize[1] = poffset[1] = ptype[1] = p; in getdiskbyname()
142 getnumdflt(pp->p_fstype, ptype, 0); in getdiskbyname()
144 if (cgetstr(buf, ptype, &cq) >= 0) { in getdiskbyname()
/freebsd/crypto/openssl/crypto/asn1/
H A Dx_algor.c31 int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype, void *pval)
36 if (ptype != V_ASN1_UNDEF) {
46 if (ptype == 0)
48 if (ptype == V_ASN1_UNDEF) {
52 ASN1_TYPE_set(alg->parameter, ptype, pval);
/freebsd/contrib/tcpdump/
H A Dprint-ppp.c1749 uint16_t ptype; in ppp_bsdos_if_print() local
1778 ptype = GET_U_1(p); in ppp_bsdos_if_print()
1780 ND_PRINT("%02x ", ptype); in ppp_bsdos_if_print()
1785 ptype = GET_BE_U_2(p); in ppp_bsdos_if_print()
1787 ND_PRINT("%04x ", ptype); in ppp_bsdos_if_print()
1792 ptype = 0; /*XXX*/ in ppp_bsdos_if_print()
1807 ptype = GET_BE_U_2(&ph->phdr_type); in ppp_bsdos_if_print()
1808 if (ndo->ndo_eflag && (ptype == PPP_VJC || ptype == PPP_VJNC)) { in ppp_bsdos_if_print()
1810 "proto-#%u", ptype)); in ppp_bsdos_if_print()
1826 switch (ptype) { in ppp_bsdos_if_print()
[all …]
/freebsd/crypto/openssl/crypto/pem/
H A Dpem_info.c65 unsigned int i, raw, ptype; in STACK_OF() local
80 ptype = 0; in STACK_OF()
131 ptype = EVP_PKEY_NONE; in STACK_OF()
135 ptype = evp_pkey_name2type(name); in STACK_OF()
162 if (ptype) { in STACK_OF()
163 if (d2i_PrivateKey_ex(ptype, pp, &p, len, in STACK_OF()
/freebsd/sys/sys/
H A Dlinker_set.h88 #define SET_DECLARE(set, ptype) \ argument
89 extern ptype __weak_symbol *__CONCAT(__start_set_,set); \
90 extern ptype __weak_symbol *__CONCAT(__stop_set_,set)
/freebsd/sys/dev/ice/
H A Dice_common_txrx.h265 * @ptype: packet type
273 u16 status0, u16 ptype) in ice_rx_checksum() argument
289 decoded = ice_decode_rx_desc_ptype(ptype); in ice_rx_checksum()
375 * @ptype: the packet type to convert
383 ice_ptype_to_hash(u16 ptype) in ice_ptype_to_hash() argument
387 if (ptype >= ARRAY_SIZE(ice_ptype_lkup)) in ice_ptype_to_hash()
390 decoded = ice_decode_rx_desc_ptype(ptype); in ice_ptype_to_hash()
/freebsd/crypto/openssl/doc/man3/
H A DX509_ALGOR_dup.pod12 int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype, void *pval);
24 associated parameter type to B<ptype> with value B<pval>. If B<ptype> is
25 B<V_ASN1_UNDEF> the parameter is omitted, otherwise B<ptype> and B<pval> have
/freebsd/crypto/openssl/crypto/ec/
H A Dec_ameth.c72 int ptype; in eckey_pub_encode() local
76 if (!eckey_param2type(&ptype, &pval, ec_key)) { in eckey_pub_encode()
91 ptype, pval, penc, penclen)) in eckey_pub_encode()
94 if (ptype == V_ASN1_SEQUENCE) in eckey_pub_encode()
166 int eplen, ptype; in eckey_priv_encode() local
170 if (!eckey_param2type(&ptype, &pval, &ec_key)) { in eckey_priv_encode()
191 ptype, pval, ep, eplen)) { in eckey_priv_encode()
200 if (ptype == V_ASN1_SEQUENCE) in eckey_priv_encode()
H A Dec_backend.c733 int ptype = 0; in ossl_x509_algor_is_sm2() local
736 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in ossl_x509_algor_is_sm2()
738 if (ptype == V_ASN1_OBJECT) in ossl_x509_algor_is_sm2()
741 if (ptype == V_ASN1_SEQUENCE) { in ossl_x509_algor_is_sm2()
763 int ptype = 0; in ossl_ec_key_param_from_x509_algor() local
768 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in ossl_ec_key_param_from_x509_algor()
774 if (ptype == V_ASN1_SEQUENCE) { in ossl_ec_key_param_from_x509_algor()
784 } else if (ptype == V_ASN1_OBJECT) { in ossl_ec_key_param_from_x509_algor()
/freebsd/sbin/nvmecontrol/
H A Didentify.c66 uint8_t thin_prov, ptype; in print_namespace() local
106 ptype = NVMEV(NVME_NS_DATA_DPS_PIT, nsdata->dps); in print_namespace()
107 if (ptype != 0) { in print_namespace()
108 printf("Type %d, %s Bytes\n", ptype, in print_namespace()
/freebsd/sys/dev/gve/
H A Dgve_rx_dqo.c468 gve_rx_set_hashtype_dqo(struct mbuf *mbuf, struct gve_ptype *ptype, bool *is_tcp) in gve_rx_set_hashtype_dqo() argument
470 switch (ptype->l3_type) { in gve_rx_set_hashtype_dqo()
472 switch (ptype->l4_type) { in gve_rx_set_hashtype_dqo()
485 switch (ptype->l4_type) { in gve_rx_set_hashtype_dqo()
505 struct gve_ptype *ptype) in gve_rx_set_csum_flags_dqo() argument
511 if (ptype->l3_type == GVE_L3_TYPE_IPV4) { in gve_rx_set_csum_flags_dqo()
515 } else if (ptype->l3_type == GVE_L3_TYPE_IPV6) { in gve_rx_set_csum_flags_dqo()
524 switch (ptype->l4_type) { in gve_rx_set_csum_flags_dqo()
546 struct gve_ptype *ptype; in gve_rx_input_mbuf_dqo() local
550 ptype = &rx->com.priv->ptype_lut_dqo->ptypes[compl_desc->packet_type]; in gve_rx_input_mbuf_dqo()
[all …]
/freebsd/sys/dev/ixgbe/
H A Dix_txrx.c406 uint32_t ptype; in ixgbe_isc_rxd_pkt_get() local
421 ptype = le32toh(rxd->wb.lower.lo_dword.data) & in ixgbe_isc_rxd_pkt_get()
454 ixgbe_rx_checksum(staterr, ri, ptype); in ixgbe_isc_rxd_pkt_get()
481 ixgbe_rx_checksum(uint32_t staterr, if_rxd_info_t ri, uint32_t ptype) in ixgbe_rx_checksum() argument
498 if (__predict_false((ptype & IXGBE_RXDADV_PKTTYPE_ETQF) == 0 && in ixgbe_rx_checksum()
499 (ptype & IXGBE_RXDADV_PKTTYPE_SCTP) != 0)) { in ixgbe_rx_checksum()
/freebsd/sys/dev/ixl/
H A Dixl_txrx.c53 static u8 ixl_rx_checksum(if_rxd_info_t ri, u32 status, u32 error, u8 ptype);
611 ixl_ptype_to_hash(u8 ptype) in ixl_ptype_to_hash() argument
615 decoded = decode_rx_desc_ptype(ptype); in ixl_ptype_to_hash()
667 u8 ptype; in ixl_isc_rxd_pkt_get() local
685 ptype = (qword & I40E_RXD_QW1_PTYPE_MASK) in ixl_isc_rxd_pkt_get()
719 rxr->csum_errs += ixl_rx_checksum(ri, status, error, ptype); in ixl_isc_rxd_pkt_get()
721 ri->iri_rsstype = ixl_ptype_to_hash(ptype); in ixl_isc_rxd_pkt_get()
738 ixl_rx_checksum(if_rxd_info_t ri, u32 status, u32 error, u8 ptype) in ixl_rx_checksum() argument
748 decoded = decode_rx_desc_ptype(ptype); in ixl_rx_checksum()
/freebsd/usr.sbin/mfiutil/
H A Dmfiutil.h60 #define SET_DECLARE(set, ptype) \ argument
61 extern ptype *__CONCAT(__start_set_,set); \
62 extern ptype *__CONCAT(__stop_set_,set)
/freebsd/sys/dev/e1000/
H A Digb_txrx.c444 uint32_t ptype, staterr; in igb_isc_rxd_pkt_get() local
459 ptype = in igb_isc_rxd_pkt_get()
495 igb_rx_checksum(staterr, ri, ptype); in igb_isc_rxd_pkt_get()
523 igb_rx_checksum(uint32_t staterr, if_rxd_info_t ri, uint32_t ptype) in igb_rx_checksum() argument
545 (ptype & E1000_RXDADV_PKTTYPE_ETQF) == 0 && in igb_rx_checksum()
546 (ptype & E1000_RXDADV_PKTTYPE_SCTP) != 0)) { in igb_rx_checksum()

1234