fprintf(stderr, _("                [[-]trailers] [[-]arp]\n")); fprintf(stderr, _("                [[-]allmulti] [[-]promisc]\n")); fprintf(stderr, _("                [multicast]\n")); fprintf(stderr, _("                [mem_start NN] [io_addr NN] [irq NN]\n")); fprintf(stderr, _("                [media type]\n"));
fprintf(stderr, _("  [hw <HW> <address>]  [metric <NN>]  [mtu <NN>]\n")); fprintf(stderr, _("  [[-]trailers]  [[-]arp]  [[-]allmulti]\n")); fprintf(stderr, _("  [multicast]  [[-]promisc]\n")); fprintf(stderr, _("  [mem_start <NN>]  [io_addr <NN>]  [irq <NN>]  [media <type>]\n"));
static void usage(void){    fprintf(stderr, _("Usage: ifconfig [-a] [-i] [-v] interface\n"));    fprintf(stderr, _("                [[family] address]\n"));    /* XXX: it would be useful to have the add/del syntax even without IPv6.       the 2.1 interface address lists make this natural */#ifdef HAVE_AFINET6    fprintf(stderr, _("                [add address[/prefixlen]]\n"));#ifdef SIOCDIFADDR    fprintf(stderr, _("                [del address[/prefixlen]]\n"));#endif    /* XXX the kernel supports tunneling even without ipv6 */    fprintf(stderr, _("                [tunnel aa.bb.cc.dd]\n"));#endif#if HAVE_AFINET    fprintf(stderr, _("                [[-]broadcast [aa.bb.cc.dd]]\n"));    fprintf(stderr, _("                [[-]pointopoint [aa.bb.cc.dd]]\n"));    fprintf(stderr, _("                [netmask aa.bb.cc.dd]\n"));    fprintf(stderr, _("                [dstaddr aa.bb.cc.dd]\n"));#endif    fprintf(stderr, _("                [hw class address]\n"));    fprintf(stderr, _("                [metric NN] [mtu NN]\n"));#ifdef SIOCSKEEPALIVE    fprintf(stderr, _("                [outfill NN] [keepalive NN]\n"));#endif    fprintf(stderr, _("                [[-]trailers] [[-]arp]\n"));    fprintf(stderr, _("                [[-]allmulti] [[-]promisc]\n"));    fprintf(stderr, _("                [multicast]\n"));    fprintf(stderr, _("                [mem_start NN] [io_addr NN] [irq NN]\n"));    fprintf(stderr, _("                [media type]\n"));#ifdef HAVE_TXQUEUELEN    fprintf(stderr, _("                [txqueuelen len]\n"));#endif#ifdef HAVE_DYNAMIC    fprintf(stderr, _("                [[-]dynamic]\n"));#endif    fprintf(stderr, _("                [up] [down] ...\n"));    exit(1);}