Lines Matching refs:policyhead
165 TAILQ_HEAD(policyhead, policyqueue);
200 static int get_addrselectpolicy(struct policyhead *);
201 static void free_addrselectpolicy(struct policyhead *);
203 struct policyhead *);
204 static void set_source(struct hp_order *, struct policyhead *);
646 struct policyhead policyhead; in _hpreorder() local
677 TAILQ_INIT(&policyhead); in _hpreorder()
678 if (!get_addrselectpolicy(&policyhead)) { in _hpreorder()
712 aio[i].aio_dstpolicy = match_addrselectpolicy(sa, &policyhead); in _hpreorder()
713 set_source(&aio[i], &policyhead); in _hpreorder()
726 free_addrselectpolicy(&policyhead); in _hpreorder()
731 get_addrselectpolicy(struct policyhead *head) in get_addrselectpolicy()
768 free_addrselectpolicy(struct policyhead *head) in free_addrselectpolicy()
780 match_addrselectpolicy(struct sockaddr *addr, struct policyhead *head) in match_addrselectpolicy()
846 set_source(struct hp_order *aio, struct policyhead *ph) in set_source()