HomeSort by: relevance | last modified time | path
    Searched defs:etype (Results 1 - 25 of 26) sorted by relevancy

1 2

  /src/sys/lib/libsa/
ip.c 126 u_int16_t etype; local in function:readip
130 n = readether(d, ip, len + sizeof(*ip), tleft, &etype);
134 if (etype == ETHERTYPE_ARP) {
145 if (etype != ETHERTYPE_IP) {
rarp.c 179 u_int16_t etype; /* host order */ local in function:rarprecv
186 n = readether(d, pkt, len, tleft, &etype);
196 if (etype != ETHERTYPE_REVARP) {
199 printf("bad type=0x%x\n", etype);
arp.c 194 u_int16_t etype; /* host order */ local in function:arprecv
200 n = readether(d, pkt, len, tleft, &etype);
210 if (etype != ETHERTYPE_ARP) {
213 printf("not arp type=%d\n", etype);
  /src/sys/arch/xen/xen/
xennet_checksum.c 85 uint16_t etype; local in function:xennet_checksum_fill
98 etype = eh->ether_type;
100 if (__predict_false(etype == htons(ETHERTYPE_VLAN))) {
107 etype = ntohs(evl->evl_proto);
110 switch (etype) {
  /src/sys/dev/pci/ixgbe/
if_fdir.c 97 u16 etype; local in function:ixgbe_atr
102 etype = eh->evl_proto;
105 etype = eh->evl_encap_proto;
109 if (etype != htons(ETHERTYPE_IP))
139 common.flex_bytes ^= etype;
ix_txrx.c 846 u16 etype; local in function:ixgbe_tx_ctx_setup
886 etype = ntohs(eh->evl_proto);
889 etype = ntohs(eh->evl_encap_proto);
911 switch (etype) {
  /src/sys/net/agr/
if_agrether_hash.c 79 uint16_t etype; local in function:agrether_hashmbuf
88 etype = eh->ether_type;
90 if (etype == htobe16(ETHERTYPE_VLAN)) {
101 etype = vlanhdr->evl_proto;
111 if (etype == htobe16(ETHERTYPE_IP)) {
126 } else if (etype == htobe16(ETHERTYPE_IPV6)) {
  /src/usr.sbin/npf/npftest/libnpftest/
npfl2onlytest.c 28 uint16_t etype; member in struct:test_case
35 .ifname = IFNAME_INT, .etype = ETHERTYPE_IPV6,
40 .ifname = IFNAME_INT, .etype = ETHERTYPE_IP,
45 .ifname = IFNAME_INT, .etype = ETHERTYPE_IP,
59 m = mbuf_get_frame(t->src, t->dst, htons(t->etype));
npf_l2rule_test.c 20 uint16_t etype; member in struct:test_case
28 .ifname = IFNAME_INT, .etype = ETHERTYPE_IPV6,
34 .ifname = IFNAME_INT, .etype = ETHERTYPE_IP,
41 .ifname = IFNAME_INT, .etype = ETHERTYPE_ATALK,
47 .ifname = IFNAME_INT, .etype = ETHERTYPE_IP,
53 .ifname = IFNAME_INT, .etype = ETHERTYPE_IP,
59 .ifname = IFNAME_INT, .etype = ETHERTYPE_IP,
65 .ifname = IFNAME_INT, .etype = ETHERTYPE_IP,
80 m = mbuf_get_frame(t->src, t->dst, htons(t->etype));
107 m = mbuf_get_frame(t->src, t->dst, htons(t->etype));
    [all...]
  /src/usr.bin/who/
utmpentry.c 73 int etype = 1 << USER_PROCESS; variable in typeref:typename:int
202 if (fname == NULL && ((1 << utx->ut_type) & etype) == 0)
216 if ((etype & (1 << USER_PROCESS)) != 0) {
  /src/sys/dev/mvme/
memc.c 541 const char *etype; local in function:memecc_log_error
574 etype = "Correctable";
591 etype = "Uncorrectable";
593 etype = "Spurious";
596 device_xname(sc->sc_dev), etype, bm, rdwr, addr);
  /src/sys/net/
if_ieee1394subr.c 88 uint16_t etype = 0; local in function:ieee1394_output
145 etype = htons(ETHERTYPE_IP);
150 etype = htons(ETHERTYPE_ARP);
171 etype = htons(ETHERTYPE_IPV6);
197 h.ibh_type = etype;
226 m0 = ieee1394_fragment(ifp, m0, (2<<hwdst->iha_maxrec) - hdrlen, etype);
253 uint16_t etype)
268 iuh->iuh_etype = etype;
279 ifh->ifh_etype_off = etype;
328 uint16_t etype; local in function:ieee1394_input
411 uint16_t etype, off, ftype, size, dgl; local in function:ieee1394_reass
    [all...]
if_ethersubr.c 198 uint16_t etype = 0; local in function:ether_output
258 etype = htons(ETHERTYPE_IP);
281 etype = htons(ETHERTYPE_REVARP);
287 etype = htons(ETHERTYPE_ARP);
305 etype = htons(ETHERTYPE_IPV6);
354 etype = htons(ETHERTYPE_ATALK);
374 etype = ((const struct ether_header *)dst->sa_data)->ether_type;
389 etype = htons(ETHERTYPE_MPLS);
403 if (etype == 0)
404 etype = htons(m->m_pkthdr.len)
650 uint16_t etype; local in function:ether_input
    [all...]
if_gre.c 875 uint16_t etype = 0; local in function:gre_output
897 etype = htons(ETHERTYPE_IP);
902 etype = htons(ETHERTYPE_ATALK);
907 etype = htons(ETHERTYPE_IPV6);
922 etype = htons(ETHERTYPE_MPLS);
933 gh.ptype = etype;
if_pppoe.c 1249 uint16_t etype; local in function:pppoe_output
1259 etype = sc->sc_state == PPPOE_STATE_SESSION
1261 eh->ether_type = htons(etype);
1265 etype, sc->sc_state, sc->sc_session,
  /src/sys/uvm/
uvm_map.h 146 uint8_t etype; /* entry type */ member in struct:vm_map_entry
  /src/sys/dev/ic/
mlx.c 973 int etype, s; local in function:mlx_periodic
1005 etype = MLX_CMD_ENQUIRY_OLD;
1007 etype = MLX_CMD_ENQUIRY;
1009 mlx_enquire(mlx, etype, uimax(sizeof(struct mlx_enquiry),
isp_target.c 541 uint8_t etype = ((isphdr_t *) ap)->rqs_entry_type; local in function:isp_target_put_entry
548 switch (etype) {
573 isp_prt(isp, ISP_LOGERR, "%s: Unknown type 0x%x", __func__, etype);
tulip.c 1365 uint16_t etype = ntohs(eh->ether_type); local in function:tlp_rxintr
1367 if (len > ETHER_MAX_FRAME(ifp, etype, 0))
1369 ETHER_MAX_FRAME(ifp, etype, 0);
isp.c 5041 int buddaboom, etype, scsi_status, completion_status; local in function:isp_intr
5061 etype = sp->req_header.rqs_entry_type;
5063 if (IS_24XX(isp) && etype == RQSTYPE_RESPONSE) {
5073 } else if (etype == RQSTYPE_RESPONSE) {
5083 } else if (etype == RQSTYPE_RIO1) {
5097 } else if (etype == RQSTYPE_RIO2) {
5109 r = isp_handle_other_response(isp, etype, hp, &tsto);
5138 if (etype != RQSTYPE_REQUEST) {
5140 etype, oop, optr, nlooked);
5186 isp_prt(isp, ISP_LOGERR, "bad request handle 0x%x (iocb type 0x%x)", sp->req_handle, etype);
    [all...]
  /src/usr.sbin/npf/npfctl/
npf_data.c 759 uint8_t etype[2]; local in function:npfctl_parse_ether_type
760 parse_ether_hex(etype, str + 2, ETHER_LEN, err);
762 uint16_t *e_type = (uint16_t *)etype; /* fetch the whole two byte blocks */
  /src/sys/arch/arm/imx/
if_enet.c 1651 uint16_t etype; local in function:enet_encap_txring
1653 m_copydata(m, ETHER_ADDR_LEN * 2, sizeof(etype), &etype);
1654 switch (ntohs(etype)) {
  /src/sys/dev/pci/
if_ena.c 2675 uint16_t etype; local in function:ena_tx_csum
2707 etype = ntohs(eh->evl_proto);
2710 etype = htons(eh->evl_encap_proto);
2726 switch (etype) {
mpii.c 2261 int etype = 0; local in function:mpii_req_cfg_header
2276 etype = type;
2288 cq->ext_page_type = etype;
  /src/sys/net/lagg/
if_lagg.c 900 uint16_t etype, vlantag; local in function:lagg_hashmbuf
919 etype = ntohs(eh->ether_type);
921 if (etype == ETHERTYPE_VLAN) {
928 etype = ntohs(evl->evl_proto);
942 switch (etype) {

Completed in 63 milliseconds

1 2