Home
last modified time | relevance | path

Searched refs:evl (Results 1 – 8 of 8) sorted by relevance

/trueos/contrib/ncurses/ncurses/tty/
HDlib_twait.c106 _nc_eventlist_timeout(_nc_eventlist * evl) in _nc_eventlist_timeout() argument
111 if (evl != 0) { in _nc_eventlist_timeout()
113 for (n = 0; n < evl->count; ++n) { in _nc_eventlist_timeout()
114 _nc_event *ev = evl->events[n]; in _nc_eventlist_timeout()
150 EVENTLIST_2nd(_nc_eventlist * evl)) in _nc_timed_wait() argument
178 int event_delay = _nc_eventlist_timeout(evl); in _nc_timed_wait()
196 if ((mode & 4) && evl) in _nc_timed_wait()
197 evl->result_flags = 0; in _nc_timed_wait()
204 if ((mode & 4) && evl) in _nc_timed_wait()
205 fds = typeMalloc(struct pollfd, MIN_FDS + evl->count); in _nc_timed_wait()
[all …]
/trueos/contrib/ncurses/ncurses/base/
HDlib_getch.c96 check_mouse_activity(SCREEN *sp, int delay EVENTLIST_2nd(_nc_eventlist * evl)) in check_mouse_activity() argument
106 rc = _nc_timed_wait(sp, TWAIT_MASK, delay, (int *) 0 EVENTLIST_2nd(evl)); in check_mouse_activity()
151 fifo_push(SCREEN *sp EVENTLIST_2nd(_nc_eventlist * evl)) in fifo_push() argument
167 if (evl in fifo_push()
172 mask = check_mouse_activity(sp, -1 EVENTLIST_2nd(evl)); in fifo_push()
183 mask = check_mouse_activity(sp, -1 EVENTLIST_2nd(evl)); in fifo_push()
256 static int kgetch(SCREEN *EVENTLIST_2nd(_nc_eventlist * evl));
316 EVENTLIST_2nd(_nc_eventlist * evl)) in _nc_wgetch() argument
339 if (evl && (evl->count == 0)) in _nc_wgetch()
340 evl = NULL; in _nc_wgetch()
[all …]
HDlib_getstr.c76 EVENTLIST_1st(_nc_eventlist * evl)) in wgetnstr_events() argument
112 while ((ch = wgetch_events(win, evl)) != ERR) { in wgetnstr_events()
/trueos/sys/netgraph/
HDng_vlan.c518 struct ether_vlan_header *evl; in ng_vlan_rcvdata() local
556 evl = NULL; in ng_vlan_rcvdata()
562 evl = mtod(m, struct ether_vlan_header *); in ng_vlan_rcvdata()
563 vid = EVL_VLANOFTAG(ntohs(evl->evl_tag)); in ng_vlan_rcvdata()
572 if (evl == NULL) { /* m->m_flags & M_VLANTAG */ in ng_vlan_rcvdata()
580 if (evl == NULL || priv->decap_enable == 0) in ng_vlan_rcvdata()
583 m->m_pkthdr.ether_vtag = ntohs(evl->evl_tag); in ng_vlan_rcvdata()
598 bcopy((char *)evl, ((char *)evl + ETHER_VLAN_ENCAP_LEN), in ng_vlan_rcvdata()
659 evl = mtod(m, struct ether_vlan_header *); in ng_vlan_rcvdata()
660 bcopy(((char *)evl + ETHER_VLAN_ENCAP_LEN), in ng_vlan_rcvdata()
[all …]
/trueos/sys/net/
HDif_ethersubr.c562 struct ether_vlan_header *evl; in ether_input_internal() local
564 if (m->m_len < sizeof(*evl) && in ether_input_internal()
565 (m = m_pullup(m, sizeof(*evl))) == NULL) { in ether_input_internal()
575 evl = mtod(m, struct ether_vlan_header *); in ether_input_internal()
576 m->m_pkthdr.ether_vtag = ntohs(evl->evl_tag); in ether_input_internal()
579 bcopy((char *)evl, (char *)evl + ETHER_VLAN_ENCAP_LEN, in ether_input_internal()
1296 struct ether_vlan_header *evl; in ether_vlanencap() local
1303 if (m->m_len < sizeof(*evl)) { in ether_vlanencap()
1304 m = m_pullup(m, sizeof(*evl)); in ether_vlanencap()
1313 evl = mtod(m, struct ether_vlan_header *); in ether_vlanencap()
[all …]
HDif_vlan.c1134 struct ether_vlan_header *evl; local
1141 if (m->m_len < sizeof(*evl) &&
1142 (m = m_pullup(m, sizeof(*evl))) == NULL) {
1146 evl = mtod(m, struct ether_vlan_header *);
1147 vid = EVL_VLANOFTAG(ntohs(evl->evl_tag));
1155 bcopy((char *)evl, (char *)evl + ETHER_VLAN_ENCAP_LEN,
/trueos/sys/dev/mxge/
HDif_mxge.c2049 struct ether_vlan_header *evl; in mxge_vlan_tag_insert() local
2054 if (m->m_len < sizeof(*evl)) { in mxge_vlan_tag_insert()
2055 m = m_pullup(m, sizeof(*evl)); in mxge_vlan_tag_insert()
2063 evl = mtod(m, struct ether_vlan_header *); in mxge_vlan_tag_insert()
2064 bcopy((char *)evl + ETHER_VLAN_ENCAP_LEN, in mxge_vlan_tag_insert()
2065 (char *)evl, ETHER_HDR_LEN - ETHER_TYPE_LEN); in mxge_vlan_tag_insert()
2066 evl->evl_encap_proto = htons(ETHERTYPE_VLAN); in mxge_vlan_tag_insert()
2067 evl->evl_tag = htons(m->m_pkthdr.ether_vtag); in mxge_vlan_tag_insert()
2604 struct ether_vlan_header *evl; in mxge_vlan_tag_remove() local
2608 evl = mtod(m, struct ether_vlan_header *); in mxge_vlan_tag_remove()
[all …]
/trueos/contrib/ncurses/ncurses/
HDcurses.priv.h1648 #define wgetch_events(win, evl) wgetch(win) argument
1649 #define wgetnstr_events(win, str, maxlen, evl) wgetnstr(win, str, maxlen) argument