Lines Matching refs:rtcmd_irep_t
217 } rtcmd_irep_t;
239 static boolean_t args_to_rtcmd(rtcmd_irep_t *rcip, char **argv,
242 static boolean_t compare_rtcmd(rtcmd_irep_t *srch_rt,
243 rtcmd_irep_t *file_rt);
246 static void del_rtcmd_irep(rtcmd_irep_t *rcip);
248 static boolean_t getaddr(rtcmd_irep_t *rcip, int which, char *s,
254 rtcmd_irep_t *rcip);
258 static void inet_makenetandmask(rtcmd_irep_t *rcip, in_addr_t net,
267 static rtcmd_irep_t *new_rtcmd_irep(void);
270 static void print_getmsg(rtcmd_irep_t *req_rt,
272 static void print_rtcmd_short(FILE *to, rtcmd_irep_t *rcip,
278 static int rtmsg(rtcmd_irep_t *rcip);
282 static int search_rtfile(FILE *fp, FILE *temp_fp, rtcmd_irep_t *rt,
284 static void set_metric(rtcmd_irep_t *rcip, char *value, int key,
1021 rtcmd_irep_t *
1024 rtcmd_irep_t *rcip;
1026 rcip = calloc(1, sizeof (rtcmd_irep_t));
1036 del_rtcmd_irep(rtcmd_irep_t *rcip)
1069 print_rtcmd_short(FILE *to, rtcmd_irep_t *rcip, boolean_t gw_good,
1146 set_metric(rtcmd_irep_t *rcip, char *value, int key, boolean_t lock)
1180 args_to_rtcmd(rtcmd_irep_t *rcip, char **argv, char *cmd_string)
1538 compare_rtcmd(rtcmd_irep_t *srch_rt, rtcmd_irep_t *file_rt)
1559 search_rtfile(FILE *fp, FILE *temp_fp, rtcmd_irep_t *rt, search_mode_t mode)
1565 rtcmd_irep_t *thisrt;
1639 rtcmd_irep_t *rt;
1791 rtcmd_irep_t *newrt;
1910 inet_makenetandmask(rtcmd_irep_t *rcip, in_addr_t net, struct sockaddr_in *sin)
2042 getaddr(rtcmd_irep_t *rcip, int which, char *s, addr_type_t atype)
2194 struct hostent **hpp, addr_type_t atype, rtcmd_irep_t *rcip)
2437 rtmsg(rtcmd_irep_t *newrt)
2641 print_getmsg(rtcmd_irep_t *req_rt, struct rt_msghdr *rtm, int msglen)