Lines Matching refs:servtab
207 void close_sep(struct servtab *);
211 int cpmip(const struct servtab *, int);
213 struct servtab *enter(struct servtab *);
214 void freeconfig(struct servtab *);
215 struct servtab *getconfigent(void);
218 void addchild(struct servtab *, int);
221 void enable(struct servtab *);
222 void disable(struct servtab *);
226 void setup(struct servtab *);
228 void ipsecsetup(struct servtab *);
230 void unregisterrpc(register struct servtab *sep);
231 static struct conninfo *search_conn(struct servtab *sep, int ctrl);
232 static int room_conn(struct servtab *sep, struct conninfo *conn);
236 static void resize_conn(struct servtab *sep, int maxperip);
237 static void free_connlist(struct servtab *sep);
273 struct servtab *servtab; variable
317 struct servtab *sep; in main()
607 for (sep = servtab; n && sep; sep = sep->se_next) in main()
904 addchild(struct servtab *sep, pid_t pid) in addchild()
935 struct servtab *sep; in reapchild()
946 for (sep = servtab; sep; sep = sep->se_next) { in reapchild()
977 struct servtab *sep, *new, **sepp; in config()
988 for (sep = servtab; sep; sep = sep->se_next) in config()
1014 for (sep = servtab; sep; sep = sep->se_next) in config()
1163 sepp = &servtab; in config()
1183 unregisterrpc(struct servtab *sep) in unregisterrpc()
1186 struct servtab *sepp; in unregisterrpc()
1205 for (sepp = servtab; sepp; sepp = sepp->se_next) { in unregisterrpc()
1246 struct servtab *sep; in retry()
1249 for (sep = servtab; sep; sep = sep->se_next) in retry()
1255 setup(struct servtab *sep) in setup()
1383 ipsecsetup(struct servtab *sep) in ipsecsetup()
1457 close_sep(struct servtab *sep) in close_sep()
1493 struct servtab *
1494 enter(struct servtab *cp) in enter()
1496 struct servtab *sep; in enter()
1499 sep = (struct servtab *)malloc(sizeof (*sep)); in enter()
1500 if (sep == (struct servtab *)0) { in enter()
1507 sep->se_next = servtab; in enter()
1508 servtab = sep; in enter()
1514 enable(struct servtab *sep) in enable()
1543 disable(struct servtab *sep) in disable()
1576 struct servtab serv;
1600 struct servtab *
1603 struct servtab *sep = &serv; in getconfigent()
1654 return ((struct servtab *)0); in getconfigent()
1979 freeconfig(struct servtab *cp) in freeconfig()
2105 check_loop(const struct sockaddr *sa, const struct servtab *sep) in check_loop()
2107 struct servtab *se2; in check_loop()
2110 for (se2 = servtab; se2; se2 = se2->se_next) { in check_loop()
2147 print_service(const char *action, const struct servtab *sep) in print_service()
2197 cpmip(const struct servtab *sep, int ctrl) in cpmip()
2339 search_conn(struct servtab *sep, int ctrl) in search_conn()
2413 room_conn(struct servtab *sep, struct conninfo *conn) in room_conn()
2469 resize_conn(struct servtab *sep, int maxpip) in resize_conn()
2497 free_connlist(struct servtab *sep) in free_connlist()