Lines Matching refs:encaptab
123 static void encap_add(struct encaptab *);
124 static int mask_match(const struct encaptab *, const struct sockaddr *,
126 static void encap_fillarg(struct mbuf *, const struct encaptab *);
130 LIST_HEAD(, encaptab) encaptab;
132 LIST_HEAD(, encaptab) encaptab = LIST_HEAD_INITIALIZER(&encaptab);
151 LIST_INIT(&encaptab);
165 struct encaptab *ep, *match;
194 for (ep = LIST_FIRST(&encaptab); ep; ep = LIST_NEXT(ep, chain)) {
272 struct encaptab *ep, *match;
290 for (ep = LIST_FIRST(&encaptab); ep; ep = LIST_NEXT(ep, chain)) {
334 struct encaptab *ep;
337 LIST_INSERT_HEAD(&encaptab, ep, chain);
345 const struct encaptab *
354 struct encaptab *ep;
372 for (ep = LIST_FIRST(&encaptab); ep; ep = LIST_NEXT(ep, chain)) {
415 const struct encaptab *
423 struct encaptab *ep;
456 const struct encaptab *cookie;
458 const struct encaptab *ep = cookie;
459 struct encaptab *p;
461 for (p = LIST_FIRST(&encaptab); p; p = LIST_NEXT(p, chain)) {
474 const struct encaptab *ep;
532 const struct encaptab *ep)