Home
last modified time | relevance | path

Searched refs:etype (Results 1 – 25 of 117) sorted by relevance

12345

/freebsd/contrib/sendmail/libsm/
H A Dexc.c235 sm_exc_vnew_x(etype, ap) in sm_exc_vnew_x() argument
236 const SM_EXC_TYPE_T *etype; in sm_exc_vnew_x()
250 SM_REQUIRE_ISA(etype, SmExcTypeMagic);
251 argc = strlen(etype->etype_argformat);
263 exc->exc_type = etype;
277 switch (etype->etype_argformat[i])
292 SM_REQUIRE(etype->etype_argformat[i+1] == '\0');
297 etype->etype_argformat[i]);
311 switch (etype->etype_argformat[si])
341 switch (etype->etype_argformat[i])
[all …]
/freebsd/contrib/tcpdump/
H A Dprint-symantec.c43 uint16_t etype; in symantec_hdr_print() local
47 etype = GET_BE_U_2(sp->ether_type); in symantec_hdr_print()
49 if (etype <= MAX_ETHERNET_LENGTH_VAL) in symantec_hdr_print()
50 ND_PRINT("invalid ethertype %u", etype); in symantec_hdr_print()
53 tok2str(ethertype_values,"Unknown", etype), in symantec_hdr_print()
54 etype); in symantec_hdr_print()
56 if (etype <= MAX_ETHERNET_LENGTH_VAL) in symantec_hdr_print()
57 ND_PRINT("invalid ethertype %u", etype); in symantec_hdr_print()
59 … ND_PRINT("%s", tok2str(ethertype_values,"Unknown Ethertype (0x%04x)", etype)); in symantec_hdr_print()
/freebsd/sys/kern/
H A Duipc_mbufhash.c77 uint32_t p, int off, const uint16_t etype) in m_tcpip_hash() argument
96 switch (etype) { in m_tcpip_hash()
164 uint16_t etype; in m_ether_tcpip_hash() local
170 etype = ntohs(eh->ether_type); in m_ether_tcpip_hash()
179 } else if (etype == ETHERTYPE_VLAN) { in m_ether_tcpip_hash()
186 etype = ntohs(vlan->evl_proto); in m_ether_tcpip_hash()
189 return (m_tcpip_hash(flags, m, p, off, etype)); in m_ether_tcpip_hash()
198 uint16_t etype; in m_infiniband_tcpip_hash() local
204 etype = ntohs(ibh->ib_protocol); in m_infiniband_tcpip_hash()
208 return (m_tcpip_hash(flags, m, p, off, etype)); in m_infiniband_tcpip_hash()
/freebsd/crypto/heimdal/kdc/
H A Dstring2key.c105 krb5_enctype etype; in main() local
127 ret = krb5_string_to_enctype(context, keytype_str, &etype); in main()
131 if((etype != ETYPE_DES_CBC_CRC && in main()
132 etype != ETYPE_DES_CBC_MD4 && in main()
133 etype != ETYPE_DES_CBC_MD5) && in main()
136 etype = ETYPE_DES_CBC_CRC; in main()
168 tokey(context, etype, password, salt, "Kerberos 5 (%s)"); in main()
/freebsd/crypto/heimdal/lib/krb5/
H A Dgenerate_subkey.c52 krb5_enctype etype, in krb5_generate_subkey_extended() argument
63 if (etype == ETYPE_NULL) in krb5_generate_subkey_extended()
64 etype = key->keytype; /* use session key etype */ in krb5_generate_subkey_extended()
67 ret = krb5_generate_random_keyblock(context, etype, *subkey); in krb5_generate_subkey_extended()
H A Dsalt.c39 krb5_enctype etype, in krb5_salttype_to_string() argument
48 e = _krb5_find_enctype (etype); in krb5_salttype_to_string()
52 etype); in krb5_salttype_to_string()
73 krb5_enctype etype, in krb5_string_to_salttype() argument
82 e = _krb5_find_enctype (etype); in krb5_string_to_salttype()
86 etype); in krb5_string_to_salttype()
253 krb5_enctype etype, in krb5_string_to_key_derived() argument
256 struct _krb5_encryption_type *et = _krb5_find_enctype(etype); in krb5_string_to_key_derived()
265 etype); in krb5_string_to_key_derived()
281 kd.key->keytype = etype; in krb5_string_to_key_derived()
H A Dtest_crypto.c39 krb5_enctype etype, int iterations) in time_encryption() argument
50 ret = krb5_generate_random_keyblock(context, etype, &key); in time_encryption()
54 ret = krb5_enctype_to_string(context, etype, &etype_name); in time_encryption()
92 krb5_enctype etype, in time_s2k() argument
104 ret = krb5_enctype_to_string(context, etype, &etype_name); in time_s2k()
114 ret = krb5_string_to_key_salt_opaque(context, etype, password, salt, in time_s2k()
H A Dget_in_tkt.c40 krb5_enctype etype, krb5_keyblock *key) in make_pa_enc_timestamp() argument
212 &a->req_body.etype.len, in init_as_req()
213 &a->req_body.etype.val, in init_as_req()
277 &preauth->val[i].info.val[j].etype, 1, in init_as_req()
300 key_proc, keyseed, a->req_body.etype.val, in init_as_req()
301 a->req_body.etype.len, NULL); in init_as_req()
307 key_proc, keyseed, a->req_body.etype.val, in init_as_req()
308 a->req_body.etype.len, &salt); in init_as_req()
388 krb5_enctype etype; in krb5_get_in_cred() local
470 etype = rep.kdc_rep.enc_part.etype; in krb5_get_in_cred()
[all …]
H A Dinit_creds_pw.c84 krb5_enctype etype; member
676 &a->req_body.etype.len, in init_as_req()
677 &a->req_body.etype.val, in init_as_req()
724 krb5_enctype etype, in set_paid() argument
728 paid->etype = etype; in set_paid()
771 for (j = 0; j < asreq->req_body.etype.len; j++) { in pa_etype_info2()
773 if (asreq->req_body.etype.val[j] == e.val[i].etype) { in pa_etype_info2()
783 ret = set_paid(paid, context, e.val[i].etype, in pa_etype_info2()
820 for (j = 0; j < asreq->req_body.etype.len; j++) { in pa_etype_info()
822 if (asreq->req_body.etype.val[j] == e.val[i].etype) { in pa_etype_info()
[all …]
H A Dtest_prf.c58 krb5_enctype etype = ETYPE_AES256_CTS_HMAC_SHA1_96; in main() local
64 ret = krb5_generate_random_keyblock(context, etype, &key); in main()
68 ret = krb5_crypto_prf_length(context, etype, &length); in main()
H A Dtest_crypto_wrapping.c42 krb5_enctype etype) in test_wrapping() argument
52 ret = krb5_generate_random_keyblock(context, etype, &key); in test_wrapping()
56 ret = krb5_enctype_to_string(context, etype, &etype_name); in test_wrapping()
/freebsd/tests/sys/cddl/zfs/tests/zinject/
H A Dzinject_001_pos.ksh72 typeset etype=$1
82 inject_fault $etype $object $errno
84 trigger_inject $etype $object $otype
98 typeset etype="data"
117 test_zinject_unit $etype $object \
H A Dzinject_002_pos.ksh73 typeset etype=$1
83 inject_fault $etype $object $errno
85 trigger_inject $etype $object $otype
99 typeset etype="dnode"
116 test_zinject_unit $etype $object \
H A Dzinject_003_pos.ksh68 typeset etype=$1
78 inject_fault $etype $object $errno 1
95 typeset etype="dnode"
112 test_zinject_unit $etype $object \
H A Dzinject_004_pos.ksh73 typeset etype="device"
88 trigger_inject $etype $basedir/testfile.$maxnumber "file"
97 trigger_inject $etype $basedir/testdir.$maxnumber "dir"
/freebsd/sys/dev/virtio/network/
H A Dvirtio_net.h411 virtio_net_tx_offload_ctx(struct mbuf *m, int *etype, int *proto, int *start) in virtio_net_tx_offload_ctx() argument
421 *etype = ntohs(evh->evl_proto); in virtio_net_tx_offload_ctx()
426 *etype = ntohs(evh->evl_encap_proto); in virtio_net_tx_offload_ctx()
432 switch (*etype) { in virtio_net_tx_offload_ctx()
508 int flags, etype, csum_start, proto, error; in virtio_net_tx_offload() local
512 error = virtio_net_tx_offload_ctx(m, &etype, &proto, &csum_start); in virtio_net_tx_offload()
516 if ((etype == ETHERTYPE_IP && (flags & (CSUM_TCP | CSUM_UDP))) || in virtio_net_tx_offload()
517 (etype == ETHERTYPE_IPV6 && in virtio_net_tx_offload()
541 error = virtio_net_tx_offload_tso(ifp, m, etype, csum_start, in virtio_net_tx_offload()
/freebsd/sys/dev/ixgbe/
H A Dif_fdir.c91 u16 etype; in ixgbe_atr() local
96 etype = eh->evl_proto; in ixgbe_atr()
99 etype = eh->evl_encap_proto; in ixgbe_atr()
103 if (etype != htons(ETHERTYPE_IP)) in ixgbe_atr()
133 common.flex_bytes ^= etype; in ixgbe_atr()
/freebsd/sys/sys/
H A Dktr.h138 #define KTR_EFMT(egroup, ident, etype) \ argument
139 "KTRGRAPH group:\"" egroup "\", id:\"%s\", " etype ", attributes: "
141 #define KTR_EVENT0(m, egroup, ident, etype, edat) \ argument
142 CTR2(m, KTR_EFMT(egroup, ident, etype) "none", ident, edat)
143 #define KTR_EVENT1(m, egroup, ident, etype, edat, a0, v0) \ argument
144 CTR3(m, KTR_EFMT(egroup, ident, etype) a0, ident, edat, (v0))
145 #define KTR_EVENT2(m, egroup, ident, etype, edat, a0, v0, a1, v1) \ argument
146 CTR4(m, KTR_EFMT(egroup, ident, etype) a0 ", " a1, \
148 #define KTR_EVENT3(m, egroup, ident, etype, edat, a0, v0, a1, v1, a2, v2)\ argument
149 CTR5(m,KTR_EFMT(egroup, ident, etype) a0 ", " a1 ", " a2, \
[all …]
/freebsd/stand/libsa/
H A Dether.c52 sendether(struct iodesc *d, void *pkt, size_t len, uint8_t *dea, int etype) in sendether() argument
67 eh->ether_type = htons(etype); in sendether()
85 uint16_t *etype) in readether() argument
118 *etype = ntohs(eh->ether_type); in readether()
H A Drarp.c147 uint16_t etype; /* host order */ in rarprecv() local
154 n = readether(d, &ptr, (void **)&ap, tleft, &etype); in rarprecv()
165 if (etype != ETHERTYPE_REVARP) { in rarprecv()
168 printf("bad type=0x%x\n", etype); in rarprecv()
H A Darp.c162 uint16_t etype; /* host order */ in arprecv() local
171 n = readether(d, &ptr, (void **)&ah, tleft, &etype); in arprecv()
182 if (etype != ETHERTYPE_ARP) { in arprecv()
185 printf("not arp type=%d\n", etype); in arprecv()
/freebsd/crypto/heimdal/kuser/
H A Dkimpersonate.c63 krb5_enctype etype, in encode_ticket() argument
108 ret = krb5_crypto_init(context, skey, etype, &crypto); in encode_ticket()
150 krb5_enctype etype; in create_krb5_tickets() local
155 ret = krb5_string_to_enctype (context, enc_type, &etype); in create_krb5_tickets()
159 0, etype, &entry); in create_krb5_tickets()
174 krb5_generate_random_keyblock(context, etype, &cred.session); in create_krb5_tickets()
192 encode_ticket (context, &entry.keyblock, etype, entry.vno, &cred); in create_krb5_tickets()
/freebsd/sys/netinet/tcp_stacks/
H A Drack_bbr_common.c142 uint16_t etype; in ctf_get_enet_type() local
165 etype = ntohs(eh->ether_type); in ctf_get_enet_type()
167 switch (etype) { in ctf_get_enet_type()
197 return (etype); in ctf_get_enet_type()
250 return (etype); in ctf_get_enet_type()
362 int etype = 0; in ctf_process_inbound_raw() local
390 etype = ctf_get_enet_type(ifp, m); in ctf_process_inbound_raw()
391 if (etype == -1) { in ctf_process_inbound_raw()
395 KASSERT(((etype == ETHERTYPE_IPV6) || (etype == ETHERTYPE_IP)), in ctf_process_inbound_raw()
396 ("tp:%p m:%p etype:0x%x -- not IP or IPv6", tp, m, etype)); in ctf_process_inbound_raw()
[all …]
/freebsd/sys/net/
H A Dif_ethersubr.c152 uint16_t etype; in ether_requestencap() local
167 etype = htons(ETHERTYPE_IP); in ether_requestencap()
170 etype = htons(ETHERTYPE_IPV6); in ether_requestencap()
179 etype = htons(ETHERTYPE_REVARP); in ether_requestencap()
184 etype = htons(ETHERTYPE_ARP); in ether_requestencap()
195 memcpy(&eh->ether_type, &etype, sizeof(eh->ether_type)); in ether_requestencap()
212 uint16_t etype; in ether_resolve_addr() local
233 etype = htons(ETHERTYPE_IP); in ether_resolve_addr()
234 memcpy(&eh->ether_type, &etype, sizeof(etype)); in ether_resolve_addr()
524 u_short etype; ether_input_internal() local
[all...]
/freebsd/contrib/nvi/ex/
H A Dex_init.c353 enum { ROOTOWN, OWN, WRITER } etype; in exrc_isok() local
366 etype = rootown ? ROOTOWN : OWN; in exrc_isok()
372 etype = WRITER; in exrc_isok()
386 switch (etype) { in exrc_isok()
405 switch (etype) { in exrc_isok()

12345