Lines Matching refs:servtab
217 static void close_sep(struct servtab *);
220 static int cpmip(const struct servtab *, int);
222 static struct servtab *enter(struct servtab *);
223 static void freeconfig(struct servtab *);
224 static struct servtab *getconfigent(void);
227 static void addchild(struct servtab *, int);
229 static void enable(struct servtab *);
230 static void disable(struct servtab *);
233 static void setup(struct servtab *);
235 static void ipsecsetup(struct servtab *);
237 static void unregisterrpc(register struct servtab *sep);
238 static struct conninfo *search_conn(struct servtab *sep, int ctrl);
239 static int room_conn(struct servtab *sep, struct conninfo *conn);
243 static void resize_conn(struct servtab *sep, int maxperip);
244 static void free_connlist(struct servtab *sep);
251 static void print_service(const char *, const struct servtab *);
286 struct servtab *servtab; variable
332 struct servtab *sep; in main()
623 for (sep = servtab; n && sep; sep = sep->se_next) in main()
923 addchild(struct servtab *sep, pid_t pid) in addchild()
944 struct servtab *sep; in reapchild()
955 for (sep = servtab; sep; sep = sep->se_next) { in reapchild()
980 struct servtab *sep, *new, **sepp; in config()
991 for (sep = servtab; sep; sep = sep->se_next) in config()
1017 for (sep = servtab; sep; sep = sep->se_next) in config()
1166 sepp = &servtab; in config()
1186 unregisterrpc(struct servtab *sep) in unregisterrpc()
1189 struct servtab *sepp; in unregisterrpc()
1208 for (sepp = servtab; sepp; sepp = sepp->se_next) { in unregisterrpc()
1243 struct servtab *sep; in retry()
1246 for (sep = servtab; sep; sep = sep->se_next) in retry()
1252 setup(struct servtab *sep) in setup()
1381 ipsecsetup(struct servtab *sep) in ipsecsetup()
1455 close_sep(struct servtab *sep) in close_sep()
1491 static struct servtab *
1492 enter(struct servtab *cp) in enter()
1494 struct servtab *sep; in enter()
1497 sep = (struct servtab *)malloc(sizeof (*sep)); in enter()
1498 if (sep == (struct servtab *)0) { in enter()
1505 sep->se_next = servtab; in enter()
1506 servtab = sep; in enter()
1512 enable(struct servtab *sep) in enable()
1541 disable(struct servtab *sep) in disable()
1574 static struct servtab serv;
1598 static struct servtab *
1601 struct servtab *sep = &serv; in getconfigent()
1652 return ((struct servtab *)0); in getconfigent()
1977 freeconfig(struct servtab *cp) in freeconfig()
2103 check_loop(const struct sockaddr *sa, const struct servtab *sep) in check_loop()
2105 struct servtab *se2; in check_loop()
2108 for (se2 = servtab; se2; se2 = se2->se_next) { in check_loop()
2145 print_service(const char *action, const struct servtab *sep) in print_service()
2195 cpmip(const struct servtab *sep, int ctrl) in cpmip()
2337 search_conn(struct servtab *sep, int ctrl) in search_conn()
2411 room_conn(struct servtab *sep, struct conninfo *conn) in room_conn()
2467 resize_conn(struct servtab *sep, int maxpip) in resize_conn()
2495 free_connlist(struct servtab *sep) in free_connlist()