route.c (243859) | route.c (243860) |
---|---|
1/* 2 * Copyright (c) 1983, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 26 unchanged lines hidden (view full) --- 35 36#ifndef lint 37#if 0 38static char sccsid[] = "@(#)route.c 8.6 (Berkeley) 4/28/95"; 39#endif 40#endif /* not lint */ 41 42#include <sys/cdefs.h> | 1/* 2 * Copyright (c) 1983, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 26 unchanged lines hidden (view full) --- 35 36#ifndef lint 37#if 0 38static char sccsid[] = "@(#)route.c 8.6 (Berkeley) 4/28/95"; 39#endif 40#endif /* not lint */ 41 42#include <sys/cdefs.h> |
43__FBSDID("$FreeBSD: head/sbin/route/route.c 243859 2012-12-04 10:24:50Z glebius $"); | 43__FBSDID("$FreeBSD: head/sbin/route/route.c 243860 2012-12-04 11:10:01Z glebius $"); |
44 45#include <sys/param.h> 46#include <sys/file.h> 47#include <sys/socket.h> 48#include <sys/ioctl.h> 49#include <sys/sysctl.h> 50#include <sys/types.h> 51#include <sys/queue.h> --- 1575 unchanged lines hidden (view full) --- 1627 case IFAN_DEPARTURE: 1628 printf("departure"); 1629 break; 1630 default: 1631 printf("#%d", ifan->ifan_what); 1632 break; 1633 } 1634 printf("\n"); | 44 45#include <sys/param.h> 46#include <sys/file.h> 47#include <sys/socket.h> 48#include <sys/ioctl.h> 49#include <sys/sysctl.h> 50#include <sys/types.h> 51#include <sys/queue.h> --- 1575 unchanged lines hidden (view full) --- 1627 case IFAN_DEPARTURE: 1628 printf("departure"); 1629 break; 1630 default: 1631 printf("#%d", ifan->ifan_what); 1632 break; 1633 } 1634 printf("\n"); |
1635 fflush(stdout); |
|
1635 break; 1636 1637 default: 1638 (void) printf("pid: %ld, seq %d, errno %d, flags:", 1639 (long)rtm->rtm_pid, rtm->rtm_seq, rtm->rtm_errno); 1640 bprintf(stdout, rtm->rtm_flags, routeflags); 1641 pmsg_common(rtm, msglen); 1642 } --- 274 unchanged lines hidden --- | 1636 break; 1637 1638 default: 1639 (void) printf("pid: %ld, seq %d, errno %d, flags:", 1640 (long)rtm->rtm_pid, rtm->rtm_seq, rtm->rtm_errno); 1641 bprintf(stdout, rtm->rtm_flags, routeflags); 1642 pmsg_common(rtm, msglen); 1643 } --- 274 unchanged lines hidden --- |