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

1 2

  /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/sys/lib/libsa/
ether.c 61 sendether(struct iodesc *d, void *pkt, size_t len, u_char *dea, int etype)
76 eh->ether_type = htons(etype);
93 u_int16_t *etype)
120 *etype = ntohs(eh->ether_type);
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/uvm/
uvm.h 126 * vm_map_entry etype bits:
134 #define UVM_ET_ISOBJ(E) (((E)->etype & UVM_ET_OBJ) != 0)
135 #define UVM_ET_ISSUBMAP(E) (((E)->etype & UVM_ET_SUBMAP) != 0)
136 #define UVM_ET_ISCOPYONWRITE(E) (((E)->etype & UVM_ET_COPYONWRITE) != 0)
137 #define UVM_ET_ISNEEDSCOPY(E) (((E)->etype & UVM_ET_NEEDSCOPY) != 0)
uvm_mremap.c 88 reserved_entry->etype = entry->etype;
90 reserved_entry->etype |= UVM_ET_NEEDSCOPY;
uvm_map.h 146 uint8_t etype; /* entry type */ member in struct:vm_map_entry
uvm_map.c 202 ((ent)->etype == (type) && \
1565 new_entry->etype = newetype;
2890 newentry->etype = entry->etype;
3119 entry->etype |= UVM_ET_SUBMAP;
4492 new_entry->etype |=
4580 old_entry->etype |= UVM_ET_NEEDSCOPY;
4596 new_entry->etype |=
4611 new_entry->etype &= ~UVM_ET_OBJ;
4728 newetype = copying ? (entry->etype & ~UVM_ET_NEEDSCOPY) : entry->etype
    [all...]
uvm_device.c 400 UVMHIST_LOG(maphist, "<- failed -- COW entry (etype=%#jx)",
401 entry->etype, 0,0,0);
  /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;
  /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.bin/who/
utmpentry.h 61 extern int etype;
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) {
who.c 169 etype = et;
  /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/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);
195 h.ibh_type = etype;
224 m0 = ieee1394_fragment(ifp, m0, (2<<hwdst->iha_maxrec) - hdrlen, etype);
251 uint16_t etype)
266 iuh->iuh_etype = etype;
277 ifh->ifh_etype_off = etype;
326 uint16_t etype; local in function:ieee1394_input
409 uint16_t etype, off, ftype, size, dgl; local in function:ieee1394_reass
    [all...]
if_ethersubr.c 236 uint16_t etype = 0; local in function:ether_output
296 etype = htons(ETHERTYPE_IP);
319 etype = htons(ETHERTYPE_REVARP);
325 etype = htons(ETHERTYPE_ARP);
343 etype = htons(ETHERTYPE_IPV6);
392 etype = htons(ETHERTYPE_ATALK);
412 etype = ((const struct ether_header *)dst->sa_data)->ether_type;
426 etype = htons(ETHERTYPE_MPLS);
440 if (etype == 0)
441 etype = htons(m->m_pkthdr.len)
687 uint16_t etype; local in function:ether_input
    [all...]
if_ether.h 106 #define ETHER_MAX_FRAME(ifp, etype, hasfcs) \
109 (((etype) == ETHERTYPE_VLAN) ? ETHER_VLAN_ENCAP_LEN : 0) + \
110 (((etype) == ETHERTYPE_PPPOE) ? ETHER_PPPOE_ENCAP_LEN : 0))
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;
  /src/sys/miscfs/procfs/
procfs_map.c 176 (entry->etype & UVM_ET_COPYONWRITE) ? 'p' : 's',
192 (entry->etype & UVM_ET_COPYONWRITE) ?
194 (entry->etype & UVM_ET_NEEDSCOPY) ? "NC" : "NNC",
  /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/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 */
npf_parse.y 202 %type <etype> ether_type
219 uint16_t etype;

Completed in 48 milliseconds

1 2