ifconfig.c (222527) | ifconfig.c (223078) |
---|---|
1/* 2 * Copyright (c) 1983, 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 --- 24 unchanged lines hidden (view full) --- 33 The Regents of the University of California. All rights reserved.\n"; 34#endif /* not lint */ 35 36#ifndef lint 37#if 0 38static char sccsid[] = "@(#)ifconfig.c 8.2 (Berkeley) 2/16/94"; 39#endif 40static const char rcsid[] = | 1/* 2 * Copyright (c) 1983, 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 --- 24 unchanged lines hidden (view full) --- 33 The Regents of the University of California. All rights reserved.\n"; 34#endif /* not lint */ 35 36#ifndef lint 37#if 0 38static char sccsid[] = "@(#)ifconfig.c 8.2 (Berkeley) 2/16/94"; 39#endif 40static const char rcsid[] = |
41 "$FreeBSD: head/sbin/ifconfig/ifconfig.c 222527 2011-05-31 14:40:21Z bz $"; | 41 "$FreeBSD: head/sbin/ifconfig/ifconfig.c 223078 2011-06-14 12:40:55Z luigi $"; |
42#endif /* not lint */ 43 44#include <sys/param.h> 45#include <sys/ioctl.h> 46#include <sys/socket.h> 47#include <sys/time.h> 48#include <sys/module.h> 49#include <sys/linker.h> --- 853 unchanged lines hidden (view full) --- 903#define IFFBITS \ 904"\020\1UP\2BROADCAST\3DEBUG\4LOOPBACK\5POINTOPOINT\6SMART\7RUNNING" \ 905"\10NOARP\11PROMISC\12ALLMULTI\13OACTIVE\14SIMPLEX\15LINK0\16LINK1\17LINK2" \ 906"\20MULTICAST\22PPROMISC\23MONITOR\24STATICARP" 907 908#define IFCAPBITS \ 909"\020\1RXCSUM\2TXCSUM\3NETCONS\4VLAN_MTU\5VLAN_HWTAGGING\6JUMBO_MTU\7POLLING" \ 910"\10VLAN_HWCSUM\11TSO4\12TSO6\13LRO\14WOL_UCAST\15WOL_MCAST\16WOL_MAGIC" \ | 42#endif /* not lint */ 43 44#include <sys/param.h> 45#include <sys/ioctl.h> 46#include <sys/socket.h> 47#include <sys/time.h> 48#include <sys/module.h> 49#include <sys/linker.h> --- 853 unchanged lines hidden (view full) --- 903#define IFFBITS \ 904"\020\1UP\2BROADCAST\3DEBUG\4LOOPBACK\5POINTOPOINT\6SMART\7RUNNING" \ 905"\10NOARP\11PROMISC\12ALLMULTI\13OACTIVE\14SIMPLEX\15LINK0\16LINK1\17LINK2" \ 906"\20MULTICAST\22PPROMISC\23MONITOR\24STATICARP" 907 908#define IFCAPBITS \ 909"\020\1RXCSUM\2TXCSUM\3NETCONS\4VLAN_MTU\5VLAN_HWTAGGING\6JUMBO_MTU\7POLLING" \ 910"\10VLAN_HWCSUM\11TSO4\12TSO6\13LRO\14WOL_UCAST\15WOL_MCAST\16WOL_MAGIC" \ |
911"\21VLAN_HWFILTER\23VLAN_HWTSO\24LINKSTATE" | 911"\21VLAN_HWFILTER\23VLAN_HWTSO\24LINKSTATE\25NETMAP" |
912 913/* 914 * Print the status of the interface. If an address family was 915 * specified, show only it; otherwise, show them all. 916 */ 917static void 918status(const struct afswtch *afp, const struct sockaddr_dl *sdl, 919 struct ifaddrs *ifa) --- 288 unchanged lines hidden --- | 912 913/* 914 * Print the status of the interface. If an address family was 915 * specified, show only it; otherwise, show them all. 916 */ 917static void 918status(const struct afswtch *afp, const struct sockaddr_dl *sdl, 919 struct ifaddrs *ifa) --- 288 unchanged lines hidden --- |