Lines Matching refs:encaptab
96 static void encap_add(struct encaptab *);
97 static int mask_match(const struct encaptab *, const struct sockaddr *,
99 static void encap_fillarg(struct mbuf *, const struct encaptab *);
106 LIST_HEAD(, encaptab) encaptab = LIST_HEAD_INITIALIZER(encaptab);
125 struct encaptab *ep, *match;
143 LIST_FOREACH(ep, &encaptab, chain) {
210 struct encaptab *ep, *match;
227 LIST_FOREACH(ep, &encaptab, chain) {
272 encap_add(struct encaptab *ep)
276 LIST_INSERT_HEAD(&encaptab, ep, chain);
284 const struct encaptab *
289 struct encaptab *ep;
301 LIST_FOREACH(ep, &encaptab, chain) {
340 const struct encaptab *
345 struct encaptab *ep;
369 encap_detach(const struct encaptab *cookie)
371 const struct encaptab *ep = cookie;
372 struct encaptab *p;
375 LIST_FOREACH(p, &encaptab, chain) {
389 mask_match(const struct encaptab *ep, const struct sockaddr *sp,
440 encap_fillarg(struct mbuf *m, const struct encaptab *ep)