commit - d3156eb934103cf1c3498a8908ef62b7dfa1b4d5
commit + b96221e6b0fba68943e0414aebee615838bf6e58
blob - be52e6e809d65eca4d35118f2acb418ae32c1524
blob + b0998f7a401a66c8e179f8731398ea7bc21832c4
--- kroute.c
+++ kroute.c
"\1DST\2GATEWAY\3NETMASK\4GENMASK\5IFP\6IFA\7AUTHOR\010BRD";
void
-print_rtmsg(rtm)
- struct rt_msghdr *rtm;
+print_rtmsg(struct rt_msghdr *rtm)
{
struct if_msghdr *ifm;
struct ifa_msghdr *ifam;
}
void
-print_getmsg(rtm, msglen)
- struct rt_msghdr *rtm;
- int msglen;
+print_getmsg(struct rt_msghdr *rtm, int msglen)
{
struct sockaddr *dst = NULL, *gate = NULL, *mask = NULL;
struct sockaddr_dl *ifp = NULL;
}
void
-pmsg_common(rtm)
- struct rt_msghdr *rtm;
+pmsg_common(struct rt_msghdr *rtm)
{
(void) printf("%% locks: ");
bprintf(stdout, rtm->rtm_rmx.rmx_locks, metricnames);
}
void
-pmsg_addrs(cp, addrs)
- char *cp;
- int addrs;
+pmsg_addrs(char *cp, int addrs)
{
struct sockaddr *sa;
int i;
}
void
-bprintf(fp, b, s)
- FILE *fp;
- int b;
- u_char *s;
+bprintf(FILE *fp, int b, u_char *s)
{
int i;
int gotsome = 0;
* there is no error or we displayed the error message (get)
*/
int
-rtmsg(cmd, flags, proxy, export, tableid)
- int cmd, flags, proxy, export, tableid;
+rtmsg(int cmd, int flags, int proxy, int export, int tableid)
{
static int seq;
struct rt_msghdr *rtm;