| /f-stack/dpdk/lib/librte_node/ |
| H A D | ethdev_rx.c | 56 l3_ptype(uint16_t etype, uint32_t ptype) in l3_ptype() argument 73 uint16_t etype, n_left; in eth_pkt_parse_cb() local 110 etype = eth_hdr->ether_type; in eth_pkt_parse_cb() 111 mbuf0->packet_type = l3_ptype(etype, 0); in eth_pkt_parse_cb() 115 etype = eth_hdr->ether_type; in eth_pkt_parse_cb() 116 mbuf1->packet_type = l3_ptype(etype, 0); in eth_pkt_parse_cb() 120 etype = eth_hdr->ether_type; in eth_pkt_parse_cb() 121 mbuf2->packet_type = l3_ptype(etype, 0); in eth_pkt_parse_cb() 125 etype = eth_hdr->ether_type; in eth_pkt_parse_cb() 126 mbuf3->packet_type = l3_ptype(etype, 0); in eth_pkt_parse_cb() [all …]
|
| /f-stack/freebsd/kern/ |
| H A D | uipc_mbufhash.c | 79 uint32_t p, int off, const uint16_t etype) in m_tcpip_hash() argument 98 switch (etype) { in m_tcpip_hash() 166 uint16_t etype; in m_ether_tcpip_hash() local 172 etype = ntohs(eh->ether_type); in m_ether_tcpip_hash() 181 } else if (etype == ETHERTYPE_VLAN) { in m_ether_tcpip_hash() 188 etype = ntohs(vlan->evl_proto); in m_ether_tcpip_hash() 191 return (m_tcpip_hash(flags, m, p, off, etype)); in m_ether_tcpip_hash() 200 uint16_t etype; in m_infiniband_tcpip_hash() local 206 etype = ntohs(ibh->ib_protocol); in m_infiniband_tcpip_hash() 210 return (m_tcpip_hash(flags, m, p, off, etype)); in m_infiniband_tcpip_hash()
|
| /f-stack/freebsd/sys/ |
| H A D | ktr.h | 132 #define KTR_EFMT(egroup, ident, etype) \ argument 133 "KTRGRAPH group:\"" egroup "\", id:\"%s\", " etype ", attributes: " 135 #define KTR_EVENT0(m, egroup, ident, etype, edat) \ argument 136 CTR2(m, KTR_EFMT(egroup, ident, etype) "none", ident, edat) 137 #define KTR_EVENT1(m, egroup, ident, etype, edat, a0, v0) \ argument 138 CTR3(m, KTR_EFMT(egroup, ident, etype) a0, ident, edat, (v0)) 139 #define KTR_EVENT2(m, egroup, ident, etype, edat, a0, v0, a1, v1) \ argument 140 CTR4(m, KTR_EFMT(egroup, ident, etype) a0 ", " a1, \ 143 CTR5(m,KTR_EFMT(egroup, ident, etype) a0 ", " a1 ", " a2, \ 145 #define KTR_EVENT4(m, egroup, ident, etype, edat, \ argument [all …]
|
| /f-stack/freebsd/net/ |
| H A D | if_ethersubr.c | 151 uint16_t etype; in ether_requestencap() local 166 etype = htons(ETHERTYPE_IP); in ether_requestencap() 169 etype = htons(ETHERTYPE_IPV6); in ether_requestencap() 183 etype = htons(ETHERTYPE_ARP); in ether_requestencap() 211 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() 249 memcpy(&eh->ether_type, &etype, sizeof(etype)); in ether_resolve_addr() 522 u_short etype; in ether_input_internal() local 553 switch (etype) { in ether_input_internal() [all …]
|
| H A D | if_infiniband.c | 170 uint16_t etype; in infiniband_requestencap() local 185 etype = htons(ETHERTYPE_IP); in infiniband_requestencap() 188 etype = htons(ETHERTYPE_IPV6); in infiniband_requestencap() 197 etype = htons(ETHERTYPE_REVARP); in infiniband_requestencap() 202 etype = htons(ETHERTYPE_ARP); in infiniband_requestencap() 213 ih->ib_protocol = etype; in infiniband_requestencap()
|
| H A D | debugnet.c | 130 u_short etype) in debugnet_ether_output() argument 150 eh->ether_type = htons(etype); in debugnet_ether_output() 522 u_short etype; in debugnet_pkt_in() local 540 etype = ntohs(eh->ether_type); in debugnet_pkt_in() 541 if ((m->m_flags & M_VLANTAG) != 0 || etype == ETHERTYPE_VLAN) { in debugnet_pkt_in() 551 (etype != ETHERTYPE_ARP || !ETHER_IS_BROADCAST(eh->ether_dhost))) { in debugnet_pkt_in() 561 switch (etype) { in debugnet_pkt_in() 569 DNETDEBUG_IF(ifp, "dropping unknown ethertype %hu\n", etype); in debugnet_pkt_in()
|
| H A D | ethernet.h | 35 #define ETHER_MAX_FRAME(ifp, etype, hasfcs) \ argument 38 (((etype) == ETHERTYPE_VLAN) ? ETHER_VLAN_ENCAP_LEN : 0))
|
| H A D | if_lagg.c | 2605 u_short etype; in lagg_lacp_input() local 2608 etype = ntohs(eh->ether_type); in lagg_lacp_input() 2611 if ((m->m_flags & M_VLANTAG) == 0 && etype == ETHERTYPE_SLOW) { in lagg_lacp_input()
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_parse.c | 1344 error = INVOKE(etype, parse)(etype, in ng_parse_composite() 1443 if ((error = INVOKE(etype, unparse) in ng_unparse_composite() 1472 const struct ng_parse_type *etype; in ng_get_composite_elem_default() local 1504 func = METHOD(etype, getDefault); in ng_get_composite_elem_default() 1507 return (*func)(etype, start, buf, buflen); in ng_get_composite_elem_default() 1558 const struct ng_parse_type *etype = NULL; in ng_get_composite_etype() local 1565 etype = fields[index].type; in ng_get_composite_etype() 1572 etype = ai->elementType; in ng_get_composite_etype() 1579 etype = fi->elementType; in ng_get_composite_etype() 1585 return (etype); in ng_get_composite_etype() [all …]
|
| H A D | ng_checksum.c | 576 uint16_t etype; in ng_checksum_rcvdata() local 588 etype = ntohs(eh->ether_type); in ng_checksum_rcvdata() 591 switch (etype) in ng_checksum_rcvdata() 599 etype = ntohs(vh->etype); in ng_checksum_rcvdata() 608 if (etype == ETHERTYPE_IP && in ng_checksum_rcvdata() 616 if (etype == ETHERTYPE_IPV6 && in ng_checksum_rcvdata()
|
| H A D | ng_checksum.h | 85 u_int16_t etype; member
|
| H A D | ng_patch.c | 588 uint16_t etype; in ng_patch_rcvdata() local 595 etype = ntohs(eh->ether_type); in ng_patch_rcvdata() 598 switch (etype) in ng_patch_rcvdata() 606 etype = ntohs(vh->etype); in ng_patch_rcvdata()
|
| H A D | ng_rfc1490.c | 338 u_int16_t etype; in ng_rfc1490_rcvdata() local 341 switch_on_etype: etype = ntohs(*((const u_int16_t *)ptr)); in ng_rfc1490_rcvdata() 344 switch (etype) { in ng_rfc1490_rcvdata()
|
| H A D | ng_patch.h | 129 u_int16_t etype; member
|
| /f-stack/tools/ipfw/ |
| H A D | tables.c | 1511 const char *etype; in tentry_fill_value() local 1547 etype = NULL; in tentry_fill_value() 1560 etype = "tag"; in tentry_fill_value() 1565 etype = "pipe"; in tentry_fill_value() 1570 etype = "divert"; in tentry_fill_value() 1585 etype = "fib"; in tentry_fill_value() 1590 etype = "nat"; in tentry_fill_value() 1595 etype = "limit"; in tentry_fill_value() 1607 etype = "ipv4"; in tentry_fill_value() 1637 etype = "ipv6"; in tentry_fill_value() [all …]
|
| /f-stack/freebsd/netgraph/netflow/ |
| H A D | ng_netflow.c | 696 uint16_t etype; in ng_netflow_rcvdata() local 702 etype = ntohs(eh->ether_type); in ng_netflow_rcvdata() 703 switch (etype) { in ng_netflow_rcvdata() 732 etype = ntohs(evh->evl_proto); in ng_netflow_rcvdata() 735 if (etype == ETHERTYPE_IP) { in ng_netflow_rcvdata() 742 } else if (etype == ETHERTYPE_IPV6) { in ng_netflow_rcvdata()
|
| /f-stack/tools/compat/include/net/ |
| H A D | ethernet.h | 35 #define ETHER_MAX_FRAME(ifp, etype, hasfcs) \ argument 38 (((etype) == ETHERTYPE_VLAN) ? ETHER_VLAN_ENCAP_LEN : 0))
|
| /f-stack/dpdk/drivers/net/dpaa2/mc/ |
| H A D | fsl_net.h | 450 #define NH_IEEE8021Q_HDR(etype, pcp, dei, vlan_id) \ argument 451 ((((uint32_t)(etype & 0xFFFF)) << 16) | \
|
| /f-stack/freebsd/netinet/tcp_stacks/ |
| H A D | rack_bbr_common.c | 261 uint16_t etype; in ctf_process_inbound_raw() local 288 etype = ntohs(eh->ether_type); in ctf_process_inbound_raw() 294 switch (etype) { in ctf_process_inbound_raw()
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/src/ |
| H A D | stats.c | 233 #define COL(name, left_or_right, col_width, etype) \ in stats_arena_bins_print() argument 238 col_##name.type = emitter_type_##etype; \ in stats_arena_bins_print() 423 #define COL(name, left_or_right, col_width, etype) \ in stats_arena_lextents_print() argument 435 col_##name.type = emitter_type_##etype; in stats_arena_lextents_print()
|
| /f-stack/freebsd/contrib/ncsw/inc/flib/ |
| H A D | fsl_fman_kg.h | 276 enum fman_kg_def_select etype; member
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | dbuf.h | 377 bp_embedded_type_t etype, enum zio_compress comp,
|
| /f-stack/tools/libxo/doc/ |
| H A D | howto.rst | 134 printf("There are %d %s events\n", count, etype); 137 xo_emit("There are {:count/%d} {:event} events\n", count, etype);
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | dmu.c | 1144 void *data, uint8_t etype, uint8_t comp, int uncompressed_size, in dmu_write_embedded() argument 1149 ASSERT3U(etype, <, NUM_BP_EMBEDDED_TYPES); in dmu_write_embedded() 1155 data, (bp_embedded_type_t)etype, (enum zio_compress)comp, in dmu_write_embedded()
|
| /f-stack/freebsd/contrib/ncsw/Peripherals/FM/Pcd/ |
| H A D | fman_kg.c | 496 tmp_reg |= extract_params->known_fields_def.etype << in fman_kg_build_scheme()
|