Home | History | Annotate | Download | only in netcan

Lines Matching refs:table

56 #define	CANPCBHASH_BIND(table, ifindex) \
57 &(table)->canpt_bindhashtbl[ \
58 (ifindex) & (table)->canpt_bindhash]
59 #define CANPCBHASH_CONNECT(table, ifindex) \
60 &(table)->canpt_connecthashtbl[ \
61 (ifindex) & (table)->canpt_bindhash]
66 can_pcbinit(struct canpcbtable *table, int bindhashsize, int connecthashsize)
76 TAILQ_INIT(&table->canpt_queue);
77 table->canpt_bindhashtbl = hashinit(bindhashsize, HASH_LIST, true,
78 &table->canpt_bindhash);
79 table->canpt_connecthashtbl = hashinit(connecthashsize, HASH_LIST,
80 true, &table->canpt_connecthash);
86 struct canpcbtable *table = v;
105 canp->canp_table = table;
114 TAILQ_INSERT_HEAD(&table->canpt_queue, canp, canp_queue);
292 can_pcbnotify(struct canpcbtable *table, u_int32_t faddr, u_int32_t laddr,
303 head = CANPCBHASH_CONNECT(table, faddr, laddr);
316 can_pcbnotifyall(struct canpcbtable *table, u_int32_t faddr, int errno,
324 TAILQ_FOREACH_SAFE(canp, &table->canpt_queue, canp_queue, ncanp) {
333 can_pcbpurgeif0(struct canpcbtable *table, struct ifnet *ifp)
342 can_pcbpurgeif(struct canpcbtable *table, struct ifnet *ifp)
346 for (canp = CIRCLEQ_FIRST(&table->canpt_queue);
347 canp != (void *)&table->canpt_queue;