route.c (274363) | route.c (274611) |
---|---|
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 274363 2014-11-11 02:52:40Z melifaro $"); | 43__FBSDID("$FreeBSD: head/sbin/route/route.c 274611 2014-11-17 01:05:29Z melifaro $"); |
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> --- 1530 unchanged lines hidden (view full) --- 1582 1583static const char metricnames[] = 1584 "\011weight\010rttvar\7rtt\6ssthresh\5sendpipe\4recvpipe\3expire" 1585 "\1mtu"; 1586static const char routeflags[] = 1587 "\1UP\2GATEWAY\3HOST\4REJECT\5DYNAMIC\6MODIFIED\7DONE" 1588 "\012XRESOLVE\013LLINFO\014STATIC\015BLACKHOLE" 1589 "\017PROTO2\020PROTO1\021PRCLONING\022WASCLONED\023PROTO3" | 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> --- 1530 unchanged lines hidden (view full) --- 1582 1583static const char metricnames[] = 1584 "\011weight\010rttvar\7rtt\6ssthresh\5sendpipe\4recvpipe\3expire" 1585 "\1mtu"; 1586static const char routeflags[] = 1587 "\1UP\2GATEWAY\3HOST\4REJECT\5DYNAMIC\6MODIFIED\7DONE" 1588 "\012XRESOLVE\013LLINFO\014STATIC\015BLACKHOLE" 1589 "\017PROTO2\020PROTO1\021PRCLONING\022WASCLONED\023PROTO3" |
1590 "\025PINNED\026LOCAL\027BROADCAST\030MULTICAST\035STICKY"; | 1590 "\024FIXEDMTU\025PINNED\026LOCAL\027BROADCAST\030MULTICAST\035STICKY"; |
1591static const char ifnetflags[] = 1592 "\1UP\2BROADCAST\3DEBUG\4LOOPBACK\5PTP\6b6\7RUNNING\010NOARP" 1593 "\011PPROMISC\012ALLMULTI\013OACTIVE\014SIMPLEX\015LINK0\016LINK1" 1594 "\017LINK2\020MULTICAST"; 1595static const char addrnames[] = 1596 "\1DST\2GATEWAY\3NETMASK\4GENMASK\5IFP\6IFA\7AUTHOR\010BRD"; 1597 1598static const char errfmt[] = --- 339 unchanged lines hidden --- | 1591static const char ifnetflags[] = 1592 "\1UP\2BROADCAST\3DEBUG\4LOOPBACK\5PTP\6b6\7RUNNING\010NOARP" 1593 "\011PPROMISC\012ALLMULTI\013OACTIVE\014SIMPLEX\015LINK0\016LINK1" 1594 "\017LINK2\020MULTICAST"; 1595static const char addrnames[] = 1596 "\1DST\2GATEWAY\3NETMASK\4GENMASK\5IFP\6IFA\7AUTHOR\010BRD"; 1597 1598static const char errfmt[] = --- 339 unchanged lines hidden --- |