| /dragonfly/contrib/tcpdump/ |
| HD | print-symantec.c | 45 uint16_t etype; in symantec_hdr_print() local 49 etype = GET_BE_U_2(sp->ether_type); in symantec_hdr_print() 51 if (etype <= MAX_ETHERNET_LENGTH_VAL) in symantec_hdr_print() 52 ND_PRINT("invalid ethertype %u", etype); in symantec_hdr_print() 55 tok2str(ethertype_values,"Unknown", etype), in symantec_hdr_print() 56 etype); in symantec_hdr_print() 58 if (etype <= MAX_ETHERNET_LENGTH_VAL) in symantec_hdr_print() 59 ND_PRINT("invalid ethertype %u", etype); in symantec_hdr_print() 61 … ND_PRINT("%s", tok2str(ethertype_values,"Unknown Ethertype (0x%04x)", etype)); in symantec_hdr_print()
|
| /dragonfly/stand/lib/ |
| HD | ether.c | 55 sendether(struct iodesc *d, void *pkt, size_t len, u_char *dea, int etype) in sendether() argument 70 eh->ether_type = htons(etype); in sendether() 87 u_int16_t *etype) in readether() argument 114 *etype = ntohs(eh->ether_type); in readether()
|
| HD | udp.c | 138 u_int16_t etype; /* host order */ in readudp() local 148 n = readether(d, ip, len + sizeof(*ip) + sizeof(*uh), tleft, &etype); in readudp() 155 if (etype == ETHERTYPE_ARP) { in readudp() 164 if (etype != ETHERTYPE_IP) { in readudp() 167 printf("readudp: not IP. ether_type=%x\n", etype); in readudp()
|
| HD | rarp.c | 153 u_int16_t etype; /* host order */ in rarprecv() local 160 n = readether(d, pkt, len, tleft, &etype); in rarprecv() 170 if (etype != ETHERTYPE_REVARP) { in rarprecv() 173 printf("bad type=0x%x\n", etype); in rarprecv()
|
| HD | arp.c | 166 u_int16_t etype; /* host order */ in arprecv() local 173 n = readether(d, pkt, len, tleft, &etype); in arprecv() 183 if (etype != ETHERTYPE_ARP) { in arprecv() 186 printf("not arp type=%d\n", etype); in arprecv()
|
| HD | net.h | 101 u_char *dea, int etype); 103 time_t tleft, u_int16_t *etype);
|
| /dragonfly/usr.bin/truss/ |
| HD | main.c | 98 char *etype; in set_etype() local 102 asprintf(&etype, "%s/%d/etype", procfs_path, trussinfo->pid); in set_etype() 103 if (etype == NULL) in set_etype() 105 if ((fd = open(etype, O_RDONLY)) == -1) { in set_etype() 112 free(etype); in set_etype()
|
| /dragonfly/sys/netgraph/netgraph/ |
| HD | ng_parse.c | 1177 etype = ng_get_composite_etype(type, index, ctype); in ng_parse_composite() local 1197 error = INVOKE(etype, parse)(etype, in ng_parse_composite() 1250 etype = ng_get_composite_etype(type, index, ctype); in ng_unparse_composite() local 1289 if ((error = INVOKE(etype, unparse) in ng_unparse_composite() 1290 (etype, data, off, cbuf, cbuflen)) != 0) { in ng_unparse_composite() 1315 const struct ng_parse_type *etype; in ng_get_composite_elem_default() local 1346 etype = ng_get_composite_etype(type, index, ctype); in ng_get_composite_elem_default() 1347 func = METHOD(etype, getDefault); in ng_get_composite_elem_default() 1350 return (*func)(etype, start, buf, buflen); in ng_get_composite_elem_default() 1401 const struct ng_parse_type *etype = NULL; in ng_get_composite_etype() local [all …]
|
| /dragonfly/sys/netgraph7/netgraph/ |
| HD | ng_parse.c | 1335 etype = ng_get_composite_etype(type, index, ctype); in ng_parse_composite() local 1355 error = INVOKE(etype, parse)(etype, in ng_parse_composite() 1410 etype = ng_get_composite_etype(type, index, ctype); in ng_unparse_composite() local 1454 if ((error = INVOKE(etype, unparse) in ng_unparse_composite() 1455 (etype, data, off, cbuf, cbuflen)) != 0) { in ng_unparse_composite() 1483 const struct ng_parse_type *etype; in ng_get_composite_elem_default() local 1514 etype = ng_get_composite_etype(type, index, ctype); in ng_get_composite_elem_default() 1515 func = METHOD(etype, getDefault); in ng_get_composite_elem_default() 1518 return (*func)(etype, start, buf, buflen); in ng_get_composite_elem_default() 1569 const struct ng_parse_type *etype = NULL; in ng_get_composite_etype() local [all …]
|
| /dragonfly/contrib/nvi2/ex/ |
| HD | ex_init.c | 353 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()
|
| /dragonfly/sys/netgraph/rfc1490/ |
| HD | ng_rfc1490.c | 243 u_int16_t etype; in ng_rfc1490_rcvdata() local 246 etype = ntohs(*((const u_int16_t *)ptr)); in ng_rfc1490_rcvdata() 249 switch (etype) { in ng_rfc1490_rcvdata()
|
| /dragonfly/usr.bin/brandelf/ |
| HD | brandelf.c | 172 iselftype(int etype) in iselftype() argument 179 if (etype == elftypes[elfwalk].value) in iselftype()
|
| /dragonfly/usr.bin/who/ |
| HD | utmpentry.c | 57 int etype = 1 << USER_PROCESS; variable 144 if (fname == NULL && ((1 << utx->ut_type) & etype) == 0) { in getutentries()
|
| HD | utmpentry.h | 52 extern int etype;
|
| HD | who.c | 154 etype = et; in main()
|
| /dragonfly/crypto/libressl/crypto/cms/ |
| HD | cms_lib.c | 323 ASN1_OBJECT **petype, *etype; in CMS_set1_eContentType() local 330 etype = OBJ_dup(oid); in CMS_set1_eContentType() 331 if (!etype) in CMS_set1_eContentType() 334 *petype = etype; in CMS_set1_eContentType()
|
| /dragonfly/sys/netgraph7/rfc1490/ |
| HD | ng_rfc1490.c | 340 u_int16_t etype; in ng_rfc1490_rcvdata() local 343 switch_on_etype: etype = ntohs(*((const u_int16_t *)ptr)); in ng_rfc1490_rcvdata() 346 switch (etype) { in ng_rfc1490_rcvdata()
|
| /dragonfly/sys/net/ |
| HD | ethernet.h | 65 #define ETHER_MAX_FRAME(ifp, etype, hasfcs) \ argument 68 (((etype) == ETHERTYPE_VLAN) ? ETHER_VLAN_ENCAP_LEN : 0))
|
| /dragonfly/sys/netgraph7/netflow/ |
| HD | ng_netflow.c | 504 uint16_t etype; in ng_netflow_rcvdata() local 510 etype = ntohs(eh->ether_type); in ng_netflow_rcvdata() 511 switch (etype) { in ng_netflow_rcvdata()
|
| /dragonfly/contrib/gcc-8.0/gcc/ |
| HD | tree-chkp.c | 1588 chkp_build_array_ref (tree arr, tree etype, tree esize, 1610 TREE_TYPE (res) = etype; 1614 res = build4 (ARRAY_REF, etype, arr, index, NULL_TREE, NULL_TREE); 1672 tree etype = TREE_TYPE (type); 1673 HOST_WIDE_INT esize = TREE_INT_CST_LOW (TYPE_SIZE (etype)); 1682 tree arr_elem = chkp_build_array_ref (base, etype, 1683 TYPE_SIZE (etype), 1731 tree etype = TREE_TYPE (type); 1732 HOST_WIDE_INT esize = TREE_INT_CST_LOW (TYPE_SIZE (etype)); 1743 chkp_find_bound_slots_1 (etype, have_bound, offs + cur * esize); [all …]
|
| HD | fold-const.c | 4883 range_check_type (tree etype) in range_check_type() argument 4887 if (TREE_CODE (etype) == ENUMERAL_TYPE || TREE_CODE (etype) == BOOLEAN_TYPE) in range_check_type() 4888 etype = lang_hooks.types.type_for_size (TYPE_PRECISION (etype), in range_check_type() 4889 TYPE_UNSIGNED (etype)); in range_check_type() 4891 if (TREE_CODE (etype) == INTEGER_TYPE && !TYPE_OVERFLOW_WRAPS (etype)) in range_check_type() 4897 utype = unsigned_type_for (etype); in range_check_type() 4898 maxv = fold_convert (utype, TYPE_MAX_VALUE (etype)); in range_check_type() 4901 minv = fold_convert (utype, TYPE_MIN_VALUE (etype)); in range_check_type() 4905 etype = utype; in range_check_type() 4909 return etype; in range_check_type() [all …]
|
| HD | gimple-fold.c | 1189 tree etype; in gimple_fold_builtin_memset() local 1214 etype = TREE_TYPE (var); in gimple_fold_builtin_memset() 1215 if (TREE_CODE (etype) == ARRAY_TYPE) in gimple_fold_builtin_memset() 1216 etype = TREE_TYPE (etype); in gimple_fold_builtin_memset() 1218 if (!INTEGRAL_TYPE_P (etype) in gimple_fold_builtin_memset() 1219 && !POINTER_TYPE_P (etype)) in gimple_fold_builtin_memset() 1226 if (GET_MODE_SIZE (SCALAR_INT_TYPE_MODE (etype)) != length in gimple_fold_builtin_memset() 1247 var = fold_build2 (MEM_REF, etype, dest, build_int_cst (ptr_type_node, 0)); in gimple_fold_builtin_memset() 1248 gimple *store = gimple_build_assign (var, build_int_cst_type (etype, cval)); in gimple_fold_builtin_memset() 3864 tree etype = TREE_TYPE (TREE_OPERAND (expected, 0)); in optimize_atomic_compare_exchange_p() local [all …]
|
| /dragonfly/sys/net/lagg/ |
| HD | if_lagg.c | 1645 uint16_t etype; in lagg_hashmbuf() local 1675 etype = ntohs(eh->ether_type); in lagg_hashmbuf() 1688 if (etype == ETHERTYPE_VLAN) { in lagg_hashmbuf() 1695 etype = ntohs(vlan->evl_proto); in lagg_hashmbuf() 1699 switch (etype) { in lagg_hashmbuf() 2138 u_short etype; in lagg_lacp_input() local 2141 etype = ntohs(eh->ether_type); in lagg_lacp_input() 2144 if ((m->m_flags & M_VLANTAG) == 0 && etype == ETHERTYPE_SLOW) { in lagg_lacp_input()
|
| /dragonfly/sys/net/gre/ |
| HD | if_gre.c | 254 u_short etype = 0; in gre_output_serialized() local 378 etype = ETHERTYPE_IP; in gre_output_serialized() 402 gh->gi_ptype = htons(etype); in gre_output_serialized()
|
| /dragonfly/contrib/gcc-4.7/gcc/ |
| HD | fold-const.c | 4178 tree etype = TREE_TYPE (exp), value; in build_range_check() local 4184 && TREE_CODE (etype) == POINTER_TYPE in build_range_check() 4185 && TREE_CODE (TREE_TYPE (etype)) == FUNCTION_TYPE) in build_range_check() 4203 fold_convert_loc (loc, etype, high)); in build_range_check() 4207 fold_convert_loc (loc, etype, low)); in build_range_check() 4211 fold_convert_loc (loc, etype, low)); in build_range_check() 4215 if (! TYPE_UNSIGNED (etype)) in build_range_check() 4217 etype = unsigned_type_for (etype); in build_range_check() 4218 high = fold_convert_loc (loc, etype, high); in build_range_check() 4219 exp = fold_convert_loc (loc, etype, exp); in build_range_check() [all …]
|